nv50/ir: fix srcMask computation for TG4 and TXF
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 16 Aug 2017 04:25:40 +0000 (00:25 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 17 Aug 2017 02:39:21 +0000 (22:39 -0400)
commit054c54d1be634dec106c30030bb4921f398d6c90
tree9b17fc222ea3aa6c8c0424c58db8a4a244e415f5
parentbf1d2e84f34b7e63656c15c11ed4d01077e95047
nv50/ir: fix srcMask computation for TG4 and TXF

This affects which inputs are marked as used. In a situation where only
the texture instruction uses an input, it might have been ignored as
unused due to input masks.

Affects subtests of KHR-GL45.texture_cube_map_array.sampling

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp