Re: [Mesa-dev] [PATCH 1/3] st/mesa: recreate sampler view on context change v2

2014-03-25 Thread Christian König
Will you try to implement the linked list? Sure, shouldn't be to much of a problem. It actually turned out to be easier as a small dynamically resized array. Patches are on the list CCing you, please review. Thanks, Christian. Am 24.03.2014 17:56, schrieb Christian König: Am 24.03.2014

Re: [Mesa-dev] [PATCH 1/3] st/mesa: recreate sampler view on context change v2

2014-03-24 Thread Christian König
Am 24.03.2014 17:13, schrieb Brian Paul: On 03/24/2014 10:04 AM, Christian König wrote: Am 24.03.2014 16:36, schrieb Brian Paul: On 03/24/2014 08:06 AM, Christian König wrote: From: Christian König With shared glx contexts it is possible that a texture is create and used in one context and t

[Mesa-dev] [PATCH 1/3] st/mesa: recreate sampler view on context change v2

2014-03-24 Thread Christian König
From: Christian König With shared glx contexts it is possible that a texture is create and used in one context and then used in another one resulting in incorrect sampler view usage. v2: avoid template copy Signed-off-by: Christian König Cc: "10.0 10.1" --- src/mesa/state_tracker/st_atom_tex

Re: [Mesa-dev] [PATCH 1/3] st/mesa: recreate sampler view on context change v2

2014-03-24 Thread Brian Paul
On 03/24/2014 10:04 AM, Christian König wrote: Am 24.03.2014 16:36, schrieb Brian Paul: On 03/24/2014 08:06 AM, Christian König wrote: From: Christian König With shared glx contexts it is possible that a texture is create and used in one context and then used in another one resulting in incor

Re: [Mesa-dev] [PATCH 1/3] st/mesa: recreate sampler view on context change v2

2014-03-24 Thread Christian König
Am 24.03.2014 16:36, schrieb Brian Paul: On 03/24/2014 08:06 AM, Christian König wrote: From: Christian König With shared glx contexts it is possible that a texture is create and used in one context and then used in another one resulting in incorrect sampler view usage. v2: avoid template c

Re: [Mesa-dev] [PATCH 1/3] st/mesa: recreate sampler view on context change v2

2014-03-24 Thread Brian Paul
On 03/24/2014 08:06 AM, Christian König wrote: From: Christian König With shared glx contexts it is possible that a texture is create and used in one context and then used in another one resulting in incorrect sampler view usage. v2: avoid template copy Signed-off-by: Christian König Cc: "10

[Mesa-dev] [PATCH 1/3] st/mesa: recreate sampler view on context change v2

2014-03-24 Thread Christian König
From: Christian König With shared glx contexts it is possible that a texture is create and used in one context and then used in another one resulting in incorrect sampler view usage. v2: avoid template copy Signed-off-by: Christian König Cc: "10.0 10.1" --- src/mesa/state_tracker/st_atom_tex

[Mesa-dev] [PATCH 1/3] st/mesa: recreate sampler view on context change v2

2014-03-23 Thread Christian König
From: Christian König With shared glx contexts it is possible that a texture is create and used in one context and then used in another one resulting in incorrect sampler view usage. v2: avoid template copy Signed-off-by: Christian König --- src/mesa/state_tracker/st_atom_texture.c | 7 ++