Re: [Mesa-dev] [PATCH v3] nv50/ir: do not call textureMask() for surface ops

2015-12-02 Thread Ilia Mirkin
On Wed, Dec 2, 2015 at 3:10 PM, Samuel Pitoiset wrote: > 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

[Mesa-dev] [PATCH v3] nv50/ir: do not call textureMask() for surface ops

2015-12-02 Thread Samuel Pitoiset
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 --- src/gallium/drivers/