<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/vkray/rayquery-compute.slang, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2025-03-21T17:21:04+00:00</updated>
<entry>
<title>Support spirv ops added by multiple extensions (#6615)</title>
<updated>2025-03-21T17:21:04+00:00</updated>
<author>
<name>Dario Mylonopoulos</name>
<email>32958057+ramenguy99@users.noreply.github.com</email>
</author>
<published>2025-03-21T17:21:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=969d101aff074675de32bdbe6b97baf744634f78'/>
<id>urn:sha1:969d101aff074675de32bdbe6b97baf744634f78</id>
<content type='text'>
* 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 &lt;ellieh@nvidia.com&gt;</content>
</entry>
</feed>
