nv50/ir: do not call textureMask() for surface ops
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 29 Nov 2015 14:50:09 +0000 (15:50 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 2 Dec 2015 21:10:44 +0000 (22:10 +0100)
commitc672bf3b043ffd1b29d796f9c52a79d1014397ae
tree0c00489f61769dd80db720bb1d33eedcebf04998
parent9e6af56666201d97ae0fcf068aa2f08c6737482f
nv50/ir: do not call textureMask() for surface ops

That texture mask thing doesn't seem to be needed for surface ops, so
just as nve4+, let do that only for texture ops.

This fixes a segfault with 'test_surface_st' from
gallium/tests/trivial/compute.c on Fermi because this test uses sustp.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp