summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-4131.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/gh-4131.slang b/tests/bugs/gh-4131.slang
index d72bc5d0d..59eaff868 100644
--- a/tests/bugs/gh-4131.slang
+++ b/tests/bugs/gh-4131.slang
@@ -16,7 +16,7 @@ StructuredBuffer<TypeB> b_buffer : register(t0, space0);
struct VertexIn {
int32_t vert_idx : SV_VertexID;
- [[KnownBuiltin("DrawIndex")]]
+ [[KnownBuiltin(0)]]
uint32_t draw_idx : POSITION0;
};