summaryrefslogtreecommitdiffstats
path: root/tests/bugs/static-var.slang
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-12-05 19:33:55 -0800
committerGitHub <noreply@github.com>2024-12-06 03:33:55 +0000
commit7dabfa76ccfb396e9d2019e2b6e01259d1661dc5 (patch)
tree8f9a39b9d25d04051d02e63450f66c852d744e62 /tests/bugs/static-var.slang
parentecc5a39feecbf73feedf352214406c8752af798a (diff)
Implement explciit binding for metal and wgsl. (#5778)
* Respect explicit bindings in wgsl emit. * Implement explciit binding generation for metal and wgsl. * Update toc. * Fix warnings in tests. * Fix tests. --------- Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'tests/bugs/static-var.slang')
-rw-r--r--tests/bugs/static-var.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/static-var.slang b/tests/bugs/static-var.slang
index 004567466..12ce5cb4d 100644
--- a/tests/bugs/static-var.slang
+++ b/tests/bugs/static-var.slang
@@ -8,7 +8,7 @@ int test(int inVal)
}
//TEST_INPUT:ubuffer(data=[9 9 9 9], stride=4):out,name outputBuffer
-RWStructuredBuffer<int> outputBuffer : register(u0);
+RWStructuredBuffer<int> outputBuffer;
[numthreads(4, 1, 1)]
void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)