nir: Add NIR_TRUE and NIR_FALSE constants and use them for boolean immediates
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 16 Oct 2014 23:53:03 +0000 (16:53 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:18:59 +0000 (07:18 -0800)
commit4b4f90dbff1880e2fd5f1b00813ea4778d63d084
tree315f322c5ffed0a89cb809231867f2f43f892519
parent744b4e9348db1767a772fda2a5cbe33abbba7db1
nir: Add NIR_TRUE and NIR_FALSE constants and use them for boolean immediates

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir.h
src/glsl/nir/nir_lower_variables_scalar.c