glsl/nir: Use i2b instead of ine for fixing UBO/SSBO Booleans
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 Oct 2018 22:55:49 +0000 (17:55 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 Oct 2018 16:45:29 +0000 (11:45 -0500)
commit2fe3031440d155848335daa65ea2838a5cbb9a55
treeae1bb0ebd726c97b20c3aee6e42b27266badd5a8
parent5bfce5fcc24de1ccc9606d6b2ad295fbdcdaa44e
glsl/nir: Use i2b instead of ine for fixing UBO/SSBO Booleans

They do the same thing in the end but i2b is a bit simpler.  Also, let's
clean up the mess of code for SSBO handling with one line of builder.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/glsl_to_nir.cpp