From 7dabfa76ccfb396e9d2019e2b6e01259d1661dc5 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 5 Dec 2024 19:33:55 -0800 Subject: 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 --- tests/preprocessor/line-macro.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/preprocessor') diff --git a/tests/preprocessor/line-macro.slang b/tests/preprocessor/line-macro.slang index 2b035357a..609d6cf5a 100644 --- a/tests/preprocessor/line-macro.slang +++ b/tests/preprocessor/line-macro.slang @@ -1,7 +1,7 @@ //TEST:COMPARE_COMPUTE(filecheck-buffer=CHECK): -output-using-type //TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer -RWStructuredBuffer outputBuffer : register(u0); +RWStructuredBuffer outputBuffer; #define T(x) x #define LL T(__LINE__) -- cgit v1.2.3