nir: Add a new lowering option to lower all txd to txl.
authorEric Anholt <eric@anholt.net>
Wed, 22 Nov 2017 00:21:36 +0000 (16:21 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 14 Dec 2017 22:36:17 +0000 (14:36 -0800)
commit0bead224fea0ad278ec65d2b2a09033b6c5192ff
treed3d944213b16cb11c8c0cc59a1e5c4123b0a3020
parentb08b6289943b225b6451e6c8ce331a8c11bd0c7f
nir: Add a new lowering option to lower all txd to txl.

VC5 requires that all txd are lowered in the shader.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_tex.c