nir/inline: Also rewrite param derefs for texture instructions
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 25 May 2016 17:51:33 +0000 (10:51 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 27 May 2016 17:28:27 +0000 (10:28 -0700)
commit0482efdc93f130a1defa021e5d198bc6ef59af5a
tree1fb5a5abc74f1def9718a79b2776b782cd077b1d
parent2522180845247e36c998eb9c92a6c283b09bb182
nir/inline: Also rewrite param derefs for texture instructions

Without this, samplers get left hanging as derefs to variables that don't
actually exist.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_inline_functions.c