spirv: Implement OpTerminateRayKHR and OpIgnoreIntersectionKHR
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 29 Oct 2020 17:01:22 +0000 (12:01 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 24 Nov 2020 15:47:06 +0000 (15:47 +0000)
commit879b87cf8cc59087e81b51ea26738c013c6cfa95
tree7a993eff9f897c8b23729d82f935598025b4ad99
parent66685679b7c047398d3f593db86a24eba38db3b9
spirv: Implement OpTerminateRayKHR and OpIgnoreIntersectionKHR

In the final version of SPV_KHR_ray_tracing, these are now block
terminators like OpKill or OpReturn.  This means that they need special
handling in vtn_cfg.c.

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/vtn_cfg.c
src/compiler/spirv/vtn_private.h