nir/spirv: Wrap borrow/carry ops in b2i
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 7 Jan 2016 01:13:04 +0000 (17:13 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 7 Jan 2016 01:13:06 +0000 (17:13 -0800)
commit195c60deb47dd5b7da0045facd5b07ba6e3cb2a2
treea53bb6422ba004a90bccd64d7e8db9488b2c3550
parent000eb00862545aa1a0e42cea800a06bc57b406cf
nir/spirv: Wrap borrow/carry ops in b2i

NIR specifies them as booleans but SPIR-V wants ints.
src/glsl/nir/spirv/spirv_to_nir.c