From 64a43b17a76d7a8269f55cbe67ef708cd464774c Mon Sep 17 00:00:00 2001 From: "Harsh Aggarwal (NVIDIA)" Date: Mon, 12 May 2025 13:05:34 +0530 Subject: cluster acceleration structure optix 6431 (#7028) * Add cluster geometry intrinsics for ray tracing - Added GetClusterID() method to HitObject class - Added CandidateClusterID() and CommittedClusterID() methods to RayQuery class - Added SPV_NV_cluster_acceleration_structure extension support - Added GL_NV_cluster_acceleration_structure extension support - Added test files for RayQuery and HitObject cluster methods Fixes #6431 * OpRayQueryGetIntersectionClusterIdNV - unrecognized spirv Disabling spirv backend for SPV_NV_cluster_acceleration_structure hlsl.meta.slang(18674): error 29100: unrecognized spirv opcode: OpRayQueryGetIntersectionClusterIdNV result:$$int = OpRayQueryGetIntersectionClusterIdNV &this $iCandidateOrCommitted; ^~~~~~ hlsl.meta.slang(18670): error 30019: expected an expression of type 'int', got 'void' return spirv_asm ^~~~~~~~~ ninja: build stopped: subcommand failed. * 6431 - Fix spirv opcode * Remove tests * Add relevant tests * Review - Simplify tests --- docs/user-guide/a3-02-reference-capability-atoms.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/user-guide') diff --git a/docs/user-guide/a3-02-reference-capability-atoms.md b/docs/user-guide/a3-02-reference-capability-atoms.md index b6aa7aba2..f0345679c 100644 --- a/docs/user-guide/a3-02-reference-capability-atoms.md +++ b/docs/user-guide/a3-02-reference-capability-atoms.md @@ -423,6 +423,9 @@ Extensions > Represents the SPIR-V extension for shader invocation reorder. > Requires SPV_KHR_ray_tracing. +`SPV_NV_cluster_acceleration_structure` +> Represents the SPIR-V extension for cluster acceleration structure. + `SPV_NV_shader_image_footprint` > Represents the SPIR-V extension for shader image footprint. @@ -534,6 +537,9 @@ Extensions `spvShaderInvocationReorderNV` > Represents the SPIR-V capability for shader invocation reorder. +`spvRayTracingClusterAccelerationStructureNV` +> Represents the SPIR-V capability for cluster acceleration structure. + `spvShaderClockKHR` > Represents the SPIR-V capability for shader clock. @@ -741,6 +747,9 @@ Extensions `GL_NV_shader_texture_footprint` > Represents the GL_NV_shader_texture_footprint extension. +`GL_NV_cluster_acceleration_structure` +> Represents the GL_NV_cluster_acceleration_structure extension. + Compound Capabilities ---------------------- *Capabilities to specify capabilities created by other capabilities (`raytracing`, `meshshading`...)* -- cgit v1.2.3