vtn/opencl: Rework handle_instr to be able to handle core SPIR-V opcodes via libclc
authorJesse Natalie <jenatali@microsoft.com>
Fri, 25 Sep 2020 19:11:14 +0000 (12:11 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 25 Sep 2020 20:09:08 +0000 (20:09 +0000)
commit00261d883ddce9e7238b9cea9dd3f09e49e68a93
treeb620ba99ab812260c92578a837e4d3b6b8f7d105
parentb08fd45be0cce404118d1ba0a11c4a5646991f5b
vtn/opencl: Rework handle_instr to be able to handle core SPIR-V opcodes via libclc

The OpenCL async copy/wait opcodes are core SPIR-V, rather than OpenCL extension opcodes.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6035>
src/compiler/spirv/vtn_opencl.c