From d3823551b4cbdeda12ddc65dfb7519258627a02e Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 10 Mar 2020 08:32:56 -0400 Subject: [PATCH] pan/bi: Implement nir_op_bcsel No condition fusing yet. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost_compile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index 0825e55caf6..f2529e52a09 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -237,6 +237,9 @@ bi_class_for_nir_alu(nir_op op) case nir_op_isub: return BI_ISUB; + case nir_op_bcsel: + return BI_CSEL; + case nir_op_i2i8: case nir_op_i2i16: case nir_op_i2i32: