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

Author: Erik Faye-Lund <[email protected]>
Date:   Tue Mar 10 18:19:15 2020 +0100

vtn/opencl: fully enable OpenCLstd_Clz

Fixes: 7325f6ac987 ("vtn/opencl: add clz support")
Reviewed-by: Boris Brezillon <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4318>

---

 src/compiler/spirv/vtn_opencl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/spirv/vtn_opencl.c b/src/compiler/spirv/vtn_opencl.c
index 7cd127af894..003a9914110 100644
--- 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:

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to