projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ebbed6
)
nir/vtn: Support SpvOpIsNormal via fisnormal
author
Jesse Natalie
<jenatali@microsoft.com>
Mon, 8 Jun 2020 12:55:39 +0000
(
05:55
-0700)
committer
Jesse Natalie
<jenatali@microsoft.com>
Mon, 17 Aug 2020 22:34:05 +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 a00e241fe6103ea6c162e440fdd6082b1373da65..986751697b5dd081a64e934666c4ae2f59dfcbf7 100644
(file)
--- 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);
}