From: Erik Faye-Lund Date: Tue, 10 Mar 2020 17:19:15 +0000 (+0100) Subject: vtn/opencl: fully enable OpenCLstd_Clz X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4821ec6d8fcd0287ee9ea5afdd922da5ab787900;p=mesa.git vtn/opencl: fully enable OpenCLstd_Clz Fixes: 7325f6ac987 ("vtn/opencl: add clz support") Reviewed-by: Boris Brezillon Reviewed-by: Karol Herbst Part-of: --- 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: