From 67af8c718ce5e3f95a25e5188840f63b41a33ecc Mon Sep 17 00:00:00 2001 From: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> Date: Sat, 28 Jun 2025 21:15:48 -0700 Subject: Support the GLSL/SPIR-V Built-in variable `DeviceIndex` (#7552) * Support DeviceIndex * format code * regenerate command line reference --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- docs/user-guide/a2-01-spirv-target-specific.md | 1 + docs/user-guide/a3-02-reference-capability-atoms.md | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'docs/user-guide') diff --git a/docs/user-guide/a2-01-spirv-target-specific.md b/docs/user-guide/a2-01-spirv-target-specific.md index dee19cd28..7686f7312 100644 --- a/docs/user-guide/a2-01-spirv-target-specific.md +++ b/docs/user-guide/a2-01-spirv-target-specific.md @@ -66,6 +66,7 @@ The system-value semantics are translated to the following SPIR-V code. | `SV_DispatchThreadID` | `BuiltIn GlobalInvocationId` | | `SV_DomainLocation` | `BuiltIn TessCoord` | | `SV_DrawIndex`* | `Builtin DrawIndex` | +| `SV_DeviceIndex` | `Builtin DeviceIndex` | | `SV_GSInstanceID` | `BuiltIn InvocationId` | | `SV_GroupID` | `BuiltIn WorkgroupId` | | `SV_GroupIndex` | `BuiltIn LocalInvocationIndex` | diff --git a/docs/user-guide/a3-02-reference-capability-atoms.md b/docs/user-guide/a3-02-reference-capability-atoms.md index 4ef207ea1..db7de8cb1 100644 --- a/docs/user-guide/a3-02-reference-capability-atoms.md +++ b/docs/user-guide/a3-02-reference-capability-atoms.md @@ -403,6 +403,9 @@ Extensions `SPV_KHR_non_semantic_info` > Represents the SPIR-V extension for non-semantic information. +`SPV_KHR_device_group` +> Represents the SPIR-V extension for device-group information. + `SPV_KHR_ray_tracing` > Represents the SPIR-V extension for ray tracing. @@ -465,6 +468,9 @@ Extensions `SPV_NV_cooperative_matrix2` > Represents the SPIR-V extension for SPV_NV_cooperative_matrix2. +`spvDeviceGroup` +> Represents the SPIR-V capability for DeviceGroup. + `spvAtomicFloat32AddEXT` > Represents the SPIR-V capability for atomic float 32 add operations. @@ -636,6 +642,9 @@ Extensions `GL_EXT_shader_quad_control` > Represents the GL_EXT_shader_quad_control extension. +`GL_EXT_device_group` +> Represents the GL_EXT_device_group extension. + `GL_EXT_fragment_shader_barycentric` > Represents the GL_EXT_fragment_shader_barycentric extension. -- cgit v1.2.3