diff options
| author | Darren Wihandi <65404740+fairywreath@users.noreply.github.com> | 2025-05-19 14:21:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-19 11:21:25 -0700 |
| commit | 634e3960c2bc322bbd51fccc7ff395d9f24e35dc (patch) | |
| tree | d7cc501d74a1e4e5fb7fa7d5dcf6c6d515603678 /tests/spirv/pointer-2.slang | |
| parent | 31d80c767865d360afba39e5248ab709c587792f (diff) | |
Map `SV_VertexID` to `gl_VertexIndex-gl_BaseVertex`, add `SV_Vulkan*ID` semantics (#7150)
* Map SV_VertexID to `gl_VertexIndex - gl_BaseVertex`, provide SV_Vulkan* SV semantics
* Fix docs
* Regenerate toc
* Fix affected pointer-2 test
* Add tests
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests/spirv/pointer-2.slang')
| -rw-r--r-- | tests/spirv/pointer-2.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spirv/pointer-2.slang b/tests/spirv/pointer-2.slang index 201d97001..1f2b2d0ea 100644 --- a/tests/spirv/pointer-2.slang +++ b/tests/spirv/pointer-2.slang @@ -44,7 +44,7 @@ ConstantBuffer<PushConstants> constantBuffer; // CHECK_SPV_VIA_GLSL: OpTypePointer PhysicalStorageBuffer [shader("vertex")] -VSOutput vertexMain(int vertexIndex: SV_VertexID) +VSOutput vertexMain(int vertexIndex: SV_VulkanVertexID) { // // Test field access chains. |
