Module: Mesa
Branch: staging/20.0
Commit: f44779d7eb1e19034ef96366b29fe01ec58e514b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f44779d7eb1e19034ef96366b29fe01ec58e514b

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>
(cherry picked from commit 4821ec6d8fcd0287ee9ea5afdd922da5ab787900)

---

 .pick_status.json               | 2 +-
 src/compiler/spirv/vtn_opencl.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

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:

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

Reply via email to