summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2020-03-10 18:19:15 +0100
committerEric Engestrom <[email protected]>2020-03-30 22:08:17 +0200
commitf44779d7eb1e19034ef96366b29fe01ec58e514b (patch)
tree18ff33ae918cbc7f01689cc63ddf3bbaf2f4d9a8
parent243cc870322d7b6eb6ee71c2889d8890fd253c7b (diff)
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> (cherry picked from commit 4821ec6d8fcd0287ee9ea5afdd922da5ab787900)
-rw-r--r--.pick_status.json2
-rw-r--r--src/compiler/spirv/vtn_opencl.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json
index 182e189acf6..2b2161b7a84 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -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"
},
diff --git a/src/compiler/spirv/vtn_opencl.c b/src/compiler/spirv/vtn_opencl.c
index 81328d23854..55980fd72ff 100644
--- a/src/compiler/spirv/vtn_opencl.c
+++ b/src/compiler/spirv/vtn_opencl.c
@@ -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: