projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5183153
)
vtn/opencl: fully enable OpenCLstd_Clz
author
Erik Faye-Lund
<erik.faye-lund@collabora.com>
Tue, 10 Mar 2020 17:19:15 +0000
(18:19 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 26 Mar 2020 10:14:22 +0000
(10:14 +0000)
Fixes: 7325f6ac987 ("vtn/opencl: add clz support")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4318>
src/compiler/spirv/vtn_opencl.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/vtn_opencl.c
b/src/compiler/spirv/vtn_opencl.c
index 7cd127af894de372fa3f715ab69a0f7679036bf2..003a9914110b661e38918f017076436ffe3c568d 100644
(file)
--- a/
src/compiler/spirv/vtn_opencl.c
+++ b/
src/compiler/spirv/vtn_opencl.c
@@
-390,6
+390,7
@@
vtn_handle_opencl_instruction(struct vtn_builder *b, SpvOp ext_opcode,
case OpenCLstd_Smoothstep:
case OpenCLstd_S_Upsample:
case OpenCLstd_U_Upsample:
+ case OpenCLstd_Clz:
handle_instr(b, cl_opcode, w, count, handle_special);
return true;
case OpenCLstd_Vloadn: