summaryrefslogtreecommitdiff
path: root/tests/compute/byte-address-buffer-align-error.slang
diff options
context:
space:
mode:
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);
}