[Mesa-dev] [PATCH 3/6] cso: Optimize cso_save/restore_fragment_samplers

2016-12-16 Thread Michel Dänzer
From: Michel Dänzer Only copy/memset the pointers that actually need to be. Signed-off-by: Michel Dänzer --- src/gallium/auxiliary/cso_cache/cso_context.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b

Re: [Mesa-dev] [PATCH 3/6] cso: Optimize cso_save/restore_fragment_samplers

2016-12-16 Thread Nicolai Hähnle
On 16.12.2016 10:52, Michel Dänzer wrote: From: Michel Dänzer Only copy/memset the pointers that actually need to be. Signed-off-by: Michel Dänzer --- src/gallium/auxiliary/cso_cache/cso_context.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/

Re: [Mesa-dev] [PATCH 3/6] cso: Optimize cso_save/restore_fragment_samplers

2016-12-19 Thread Michel Dänzer
On 16/12/16 08:22 PM, Nicolai Hähnle wrote: > On 16.12.2016 10:52, Michel Dänzer wrote: >> From: Michel Dänzer >> >> Only copy/memset the pointers that actually need to be. >> >> Signed-off-by: Michel Dänzer >> --- >> src/gallium/auxiliary/cso_cache/cso_context.c | 21 + >> 1

Re: [Mesa-dev] [PATCH 3/6] cso: Optimize cso_save/restore_fragment_samplers

2016-12-19 Thread Nicolai Hähnle
On 19.12.2016 09:11, Michel Dänzer wrote: On 16/12/16 08:22 PM, Nicolai Hähnle wrote: On 16.12.2016 10:52, Michel Dänzer wrote: From: Michel Dänzer Only copy/memset the pointers that actually need to be. Signed-off-by: Michel Dänzer --- src/gallium/auxiliary/cso_cache/cso_context.c | 21 ++