summaryrefslogtreecommitdiffstats
path: root/tests/compute
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute')
-rw-r--r--tests/compute/byte-address-buffer-aligned.slang1
-rw-r--r--tests/compute/byte-address-buffer-array.slang1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/compute/byte-address-buffer-aligned.slang b/tests/compute/byte-address-buffer-aligned.slang
index f959ec66d..0e848b75c 100644
--- a/tests/compute/byte-address-buffer-aligned.slang
+++ b/tests/compute/byte-address-buffer-aligned.slang
@@ -9,6 +9,7 @@
// Confirm compilation of `(RW)ByteAddressBuffer` with aligned load / stores to wider data types.
+//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=buffer0
[vk::binding(2, 3)] RWByteAddressBuffer buffer0;
[shader("compute")]
diff --git a/tests/compute/byte-address-buffer-array.slang b/tests/compute/byte-address-buffer-array.slang
index 4ac4a612a..77cfb07d2 100644
--- a/tests/compute/byte-address-buffer-array.slang
+++ b/tests/compute/byte-address-buffer-array.slang
@@ -9,6 +9,7 @@
// Confirm compilation of `(RW)ByteAddressBuffer` with aligned load / stores to wider data types.
+//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=buffer
[vk::binding(2, 3)] RWByteAddressBuffer buffer;
struct Block {
float4 val[2];