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

Author: Jesse Natalie <jenat...@microsoft.com>
Date:   Mon Jun  8 05:55:39 2020 -0700

nir/vtn: Support SpvOpIsNormal via fisnormal

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com>
Reviewed-by: Karol Herbst <kher...@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6355>

---

 src/compiler/spirv/vtn_alu.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/compiler/spirv/vtn_alu.c b/src/compiler/spirv/vtn_alu.c
index a00e241fe61..986751697b5 100644
--- a/src/compiler/spirv/vtn_alu.c
+++ b/src/compiler/spirv/vtn_alu.c
@@ -353,6 +353,8 @@ vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b,
    case SpvOpDPdxCoarse:   return nir_op_fddx_coarse;
    case SpvOpDPdyCoarse:   return nir_op_fddy_coarse;
 
+   case SpvOpIsNormal:     return nir_op_fisnormal;
+
    default:
       vtn_fail("No NIR equivalent: %u", opcode);
    }

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to