bifrost: Add lowering for b2i32

Graphics / Mesa 3D Graphics Library / Mesa - Chris Forbes [google.com] - 27 July 2020 16:53 UTC

Since the bool representation is 0/~0, we can convert to int just by &1.

ef781880eb3 bifrost: Add lowering for b2i32
src/panfrost/bifrost/bifrost_nir_algebraic.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share