v3d: Move i2b and f2b support into emit_comparison.
authorEric Anholt <eric@anholt.net>
Tue, 19 Feb 2019 02:15:59 +0000 (18:15 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 19 Feb 2019 02:18:37 +0000 (18:18 -0800)
commitdbe3af67a47ba929c89e9482fbc9396fc1114d93
tree957bb61ec5dd00f71476bbf44ab6972abac2a20d
parent0bba9c8489726fa7ddb855f5ad68b1934dd0312b
v3d: Move i2b and f2b support into emit_comparison.

This lets us save a resolve to NIR true/false for ifs and discard_if.  No
change in shader-db.
src/broadcom/compiler/nir_to_vir.c