panfrost/midgard: Lower i2b32
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 25 Mar 2019 00:56:48 +0000 (00:56 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 26 Mar 2019 23:35:26 +0000 (23:35 +0000)
Fixes
dEQP-GLES2.functional.shader.conversions.scalar_to_scalar.int_to_bool_vertex

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/midgard/midgard_compile.c

index bef4454f7597afe35ccd5e5269c93d4ddc0e0ce8..12a586eced26a7246e293945f563f5da66cb6000 100644 (file)
@@ -993,6 +993,7 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr)
                  * special lowering */
 
                 ALU_CASE(f2b32, fne);
+                ALU_CASE(i2b32, ine);
 
                 ALU_CASE(frcp, frcp);
                 ALU_CASE(frsq, frsqrt);