summaryrefslogtreecommitdiffstats
path: root/tests/compute/byte-address-buffer-align-error.slang
diff options
context:
space:
mode:
authorDarren Wihandi <65404740+fairywreath@users.noreply.github.com>2025-05-16 13:42:59 -0400
committerGitHub <noreply@github.com>2025-05-16 10:42:59 -0700
commit8683b85c0494db99feb08b6efcdc26dfe006729f (patch)
tree6822d8fabc336409b286c854617fd525bd90fcf2 /tests/compute/byte-address-buffer-align-error.slang
parent9dfd5244ad2953753535e82acd05e72e5ab2bc5f (diff)
Fix HLSL ByteAddressBuffer Load* parameter integer type (#7117)
* Fix HLSL ByteAddressBuffer Load* parameter integer type * Fix tests * Fix load with alignment function signature clash * Fix LoadAligned tests
Diffstat (limited to 'tests/compute/byte-address-buffer-align-error.slang')
-rw-r--r--tests/compute/byte-address-buffer-align-error.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/byte-address-buffer-align-error.slang b/tests/compute/byte-address-buffer-align-error.slang
index 34300d7c3..11efa561c 100644
--- a/tests/compute/byte-address-buffer-align-error.slang
+++ b/tests/compute/byte-address-buffer-align-error.slang
@@ -17,7 +17,7 @@ void computeMain(uint3 threadId : SV_DispatchThreadID)
{
// CHECK: error 41300: invalid alignment `{{.*}}` specified for the byte address buffer resource with the element size of `{{.*}}`
// CHECK: error 41300: invalid alignment `{{.*}}` specified for the byte address buffer resource with the element size of `{{.*}}`
- buffer.Store<Block>(0, buffer.Load<Block>(1, 5));
+ buffer.Store<Block>(0, buffer.LoadAligned<Block>(1, 5));
buffer.Store<Block>(1, buffer.Load<Block>(0), 3);
}