vtn/opencl: fully enable OpenCLstd_Clz

Fixes: 7325f6ac98 ("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>
(cherry picked from commit 4821ec6d8f)
This commit is contained in:
Erik Faye-Lund 2020-03-10 18:19:15 +01:00 committed by Eric Engestrom
parent 243cc87032
commit f44779d7eb
2 changed files with 2 additions and 1 deletions

View file

@ -769,7 +769,7 @@
"description": "vtn/opencl: fully enable OpenCLstd_Clz",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "7325f6ac987d295b101372bffcb98799251fe678"
},

View file

@ -388,6 +388,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, ext_opcode, w, count, handle_special);
return true;
case OpenCLstd_Vloadn: