Re: [Mesa-dev] [PATCH v2] nvc0: only invalidate currently bound tic/tsc

2016-11-07 Thread Samuel Pitoiset
This could be still improved by adding textures/samplers_valid[6] into the context. On 11/07/2016 11:13 PM, Samuel Pitoiset wrote: This is especially useful when switching from compute to 3D. v2: - get rid of one loop with 'x |= (1ULL << y) - 1' instead Signed-off-by: Samuel Pitoiset --- Te

[Mesa-dev] [PATCH v2] nvc0: only invalidate currently bound tic/tsc

2016-11-07 Thread Samuel Pitoiset
This is especially useful when switching from compute to 3D. v2: - get rid of one loop with 'x |= (1ULL << y) - 1' instead Signed-off-by: Samuel Pitoiset --- Tested with Elemental on GK208, works fine. src/gallium/drivers/nouveau/nvc0/nvc0_compute.c | 6 +++--- src/gallium/drivers/nouveau/nv