summaryrefslogtreecommitdiffstats
path: root/source/slangc
diff options
context:
space:
mode:
authorDario Mylonopoulos <32958057+ramenguy99@users.noreply.github.com>2025-03-21 18:21:04 +0100
committerGitHub <noreply@github.com>2025-03-22 01:21:04 +0800
commit969d101aff074675de32bdbe6b97baf744634f78 (patch)
treed82e01e35cdf373564c5ff5c19f149a7b04bf142 /source/slangc
parent844d8d2212d11f3d28a55c81f234c99db2c26250 (diff)
Support spirv ops added by multiple extensions (#6615)
* spirv: add support for ops added by multiple extensions Some spirv ops are added by multiple extensions and capabilities. This commit adds support to avoid emitting unnecessary extensions and capabilities if one of the options is already required by some other op. * spirv: allow OpRaytracingAccelerationStructure to use multiple extensions This Op is provided by both SPV_KHR_ray_tracing and SPV_KHR_ray_query and the respective capabilities. Use one if already available and otherwise fall back to SPV_KHR_ray_tracing. * tests/vkray: add negative checks for RayTracingKHR and RayQueryKHR - Add new rayquery-compute.slang to test that only RayQueryKHR is needed in compute shaders. - Add checks for RayTracingKHR and RayQueryKHR capabilities and extensions in raygen.slang --------- Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'source/slangc')
0 files changed, 0 insertions, 0 deletions