tgsi_to_nir: fix masked out image loads
authorMarek Olšák <marek.olsak@amd.com>
Wed, 18 Sep 2019 21:34:13 +0000 (17:34 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 23 Sep 2019 19:34:54 +0000 (15:34 -0400)
commit3906fce88bb473f283e4b064cc996ea6aa6d2922
tree983e3c3b0d3fd544be8377d477f984ece791477b
parent780eeaf2f14ba5f6f48da04628e3de852ce7dbe8
tgsi_to_nir: fix masked out image loads

This caused a failure in NIR validation.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/nir/tgsi_to_nir.c