intel/compiler: handle b2i/b2f with other integer conversion opcodes
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 22 Nov 2018 09:59:59 +0000 (10:59 +0100)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 18 Apr 2019 09:05:18 +0000 (11:05 +0200)
commit66806405afa02024813869d8cc972f293041fa50
treec23f5262510ea727168d509a68e2b7a6d6b02153
parent92f4761198d24fb73cbe5bcd12b0ebf5bb766b4d
intel/compiler: handle b2i/b2f with other integer conversion opcodes

Since we handle booleans as integers this makes more sense.

v2:
 - rebased to incorporate new boolean conversion opcodes

v3:
 - rebased on top regioning lowering pass

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v1)
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> (v2)
src/intel/compiler/brw_fs_nir.cpp