projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af59e4c
)
nir/vtn: Support SpvOpIsFinite via fisfinite
author
Jesse Natalie
<jenatali@microsoft.com>
Tue, 23 Jun 2020 22:22:44 +0000
(15:22 -0700)
committer
Jesse Natalie
<jenatali@microsoft.com>
Mon, 17 Aug 2020 22:34:11 +0000
(15:34 -0700)
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6355>
src/compiler/spirv/vtn_alu.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/vtn_alu.c
b/src/compiler/spirv/vtn_alu.c
index 986751697b5dd081a64e934666c4ae2f59dfcbf7..794f82eac449497a3c79c301a6915e22e63bc6af 100644
(file)
--- a/
src/compiler/spirv/vtn_alu.c
+++ b/
src/compiler/spirv/vtn_alu.c
@@
-354,6
+354,7
@@
vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b,
case SpvOpDPdyCoarse: return nir_op_fddy_coarse;
case SpvOpIsNormal: return nir_op_fisnormal;
+ case SpvOpIsFinite: return nir_op_fisfinite;
default:
vtn_fail("No NIR equivalent: %u", opcode);