spirv: Implement OpTraceRayKHR and OpExecuteCallableKHR
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 13 Aug 2020 23:10:34 +0000 (18:10 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 24 Nov 2020 15:47:06 +0000 (15:47 +0000)
commit6885cc6f654e66eb53d5e3b44b3e071c9e0621a9
treeba2d3408b37e19af69d2a3c858d243af00601902
parent946d5ca004c33435a648ae115b859caa607e78d6
spirv: Implement OpTraceRayKHR and OpExecuteCallableKHR

The old NV version (and the provisional KHR version) specified the data
payload via an integer location.  This was quite annoying for the parser
and potentially error-prone.  The final KHR version of the SPIR-V
ray-tracing spec replaces these integers with actual pointers.  We don't
really need to implement the NV versions but we have the code and
someone might want to parse some NV ray-tracing shaders.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7734>
src/compiler/spirv/spirv_to_nir.c