commit | 6436e3ac18981317b9d37dc966a51d1c3ce63b86 | [log] [tgz] |
---|---|---|
author | Jesse Natalie <jenatali@microsoft.com> | Tue Aug 18 07:16:32 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Fri Sep 25 20:09:08 2020 +0000 |
tree | 4b7bd297f8f951af5dcac5afa2a69dcb923693f2 | |
parent | 45d43ad2b8d01cce7766f8d7f5868e5f77058b91 [diff] |
vtn/opencl: Add infrastructure for calling out to libclc This patch adds a function remap table with name mangling, which can convert a SPIR-V OpenCL extension opcode to a call to the external libclc shader, which will be lowered/inlined after conversion. Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6035>