Module: Mesa
Branch: master
Commit: eaed477652a07d608ea3c85f1b73f8d9c5f16a6e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eaed477652a07d608ea3c85f1b73f8d9c5f16a6e

Author: Boris Brezillon <[email protected]>
Date:   Sun Oct 18 22:19:15 2020 +0200

pan/bi: Add ult support

Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7314>

---

 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 a55321ecbc9..b1dcfe4a4e8 100644
--- a/src/panfrost/bifrost/bifrost_compile.c
+++ b/src/panfrost/bifrost/bifrost_compile.c
@@ -765,6 +765,7 @@ bi_class_for_nir_alu(nir_op op)
         BI_CASE_CMP(nir_op_ieq)
         BI_CASE_CMP(nir_op_ine)
         BI_CASE_CMP(nir_op_uge)
+        BI_CASE_CMP(nir_op_ult)
                 return BI_CMP;
 
         case nir_op_b8csel:
@@ -853,6 +854,7 @@ bi_cond_for_nir(nir_op op, bool soft)
         switch (op) {
         BI_CASE_CMP(nir_op_flt)
         BI_CASE_CMP(nir_op_ilt)
+        BI_CASE_CMP(nir_op_ult)
                 return BI_COND_LT;
 
         BI_CASE_CMP(nir_op_fge)
@@ -1088,6 +1090,7 @@ emit_alu(bi_context *ctx, nir_alu_instr *instr)
         BI_CASE_CMP(nir_op_fneu)
         BI_CASE_CMP(nir_op_ine)
         BI_CASE_CMP(nir_op_uge)
+        BI_CASE_CMP(nir_op_ult)
                 alu.cond = bi_cond_for_nir(instr->op, false);
                 break;
         case nir_op_fround_even:

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to