Mesa (master): nir/vtn: Support SpvOpIsNormal via fisnormal
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Aug 18 00:34:33 UTC 2020
Module: Mesa
Branch: master
Commit: e6e6f52206ebaecb68ce404307e626f62afdb6ba
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6e6f52206ebaecb68ce404307e626f62afdb6ba
Author: Jesse Natalie <jenatali at microsoft.com>
Date: Mon Jun 8 05:55:39 2020 -0700
nir/vtn: Support SpvOpIsNormal via fisnormal
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Karol Herbst <kherbst at 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);
}
More information about the mesa-commit
mailing list