Skip to content
18 changes: 4 additions & 14 deletions test/Feature/CBuffer/arrays-16bit.test
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,13 @@ Buffers:
]
- Name: Out
Format: Hex16
# Warp doesn't seem to like buffers with non-multiple of 4 strides, so we
# add a small amount of buffer at the end here.
Stride: 28
FillSize: 28
FillSize: 32
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it sounds like @damyanp suggestion of fixing this issue in the C++ would be preferable because other tests might have this problem and it isn't clear what the padding is for.

- Name: ExpectedOut
Format: Hex16
Stride: 26
Data: [
0x0001,
0xffff,
0x1234,
0x0002,
0x3c00,
0x0001, 0x0002, 0x0003, 0x0004,
0x0005, 0x0006, 0x0007, 0x0008,
0x0,
]
Stride: 28
Data: [ 0x1, 0xFFFF, 0x1234, 0x2, 0x3C00, 0x1, 0x2, 0x3, 0x4,
0x5, 0x6, 0x7, 0x8, 0x0, 0x0, 0x0]
Results:
- Result: Test1
Rule: BufferExact
Expand Down
Loading