summaryrefslogtreecommitdiffstats
path: root/tests/compute/explicit-this-expr.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/compute/explicit-this-expr.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/compute/explicit-this-expr.slang')
-rw-r--r--tests/compute/explicit-this-expr.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/explicit-this-expr.slang b/tests/compute/explicit-this-expr.slang
index baf718be0..9eedf5fe9 100644
--- a/tests/compute/explicit-this-expr.slang
+++ b/tests/compute/explicit-this-expr.slang
@@ -16,7 +16,7 @@ struct A
};
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
-RWStructuredBuffer<float> outputBuffer : register(u0);
+RWStructuredBuffer<float> outputBuffer;
float test(float inVal)