Skip to content

Commit 7cc4dcb

Browse files
committedFeb 27, 2025
define buffer data
1 parent 0812bbd commit 7cc4dcb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎tests/compute/byte-address-buffer-aligned.slang

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
// Confirm compilation of `(RW)ByteAddressBuffer` with aligned load / stores to wider data types.
1111

12+
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=buffer0
1213
[vk::binding(2, 3)] RWByteAddressBuffer buffer0;
1314

1415
[shader("compute")]

‎tests/compute/byte-address-buffer-array.slang

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
// Confirm compilation of `(RW)ByteAddressBuffer` with aligned load / stores to wider data types.
1111

12+
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=buffer
1213
[vk::binding(2, 3)] RWByteAddressBuffer buffer;
1314
struct Block {
1415
float4 val[2];

0 commit comments

Comments
 (0)