nvc0: avoid tex read fault from compute shaders on GK110
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 10 Apr 2016 20:08:34 +0000 (22:08 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 20 Apr 2016 16:28:47 +0000 (18:28 +0200)
commit7143068296aaca8c5af3469c013a7c2a850aee84
tree0cc00395030fc4d19c9f59d7f89854978e40d4e4
parent87a4fb516eeebd6be0441db5aeffc705f16bef86
nvc0: avoid tex read fault from compute shaders on GK110

After some investigation, it seems like that disabling the UNK02C4
command avoid a read fault with texelFetch() from a compute shader.

I have no clue on what this method actually does, but this avoid the
GPU to hang with basic-texelFetch.shader_test without introducing any
compute-related regressions.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nve4_compute.c