Re: [Mesa-dev] [PATCH 4/7] nvc0: be smarter when invalidating shader caches

2016-10-26 Thread Samuel Pitoiset
On 10/25/2016 09:57 PM, Ilia Mirkin wrote: And bit 4 is for ... ? I've only ever seen the blob use the value 0x1011. You're right that it's a bitfield, but there's all kinds of crazy caches =/ As we said yesterday on IRC, I will investigate a bit more but I'm 95% sure it's correct (and blob

Re: [Mesa-dev] [PATCH 4/7] nvc0: be smarter when invalidating shader caches

2016-10-25 Thread Ilia Mirkin
And bit 4 is for ... ? I've only ever seen the blob use the value 0x1011. You're right that it's a bitfield, but there's all kinds of crazy caches =/ On Tue, Oct 25, 2016 at 3:41 PM, Samuel Pitoiset wrote: > MEM_BARRIER seems to be similar to FLUSH, thus bit 0 is for > flushing code while bit 12

[Mesa-dev] [PATCH 4/7] nvc0: be smarter when invalidating shader caches

2016-10-25 Thread Samuel Pitoiset
MEM_BARRIER seems to be similar to FLUSH, thus bit 0 is for flushing code while bit 12 is for constant buffers. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c | 2 +- 2 files changed, 2 insertions(+), 2 d