Skip to content

CBuffer/arrays.test: Match output buffer stride and size to the Arrays struct definition.#1260

Merged
manon-traverse merged 1 commit into
llvm:mainfrom
Traverse-Research:cbuffer-arrays-incorrect-size-and-stride
Jun 10, 2026
Merged

CBuffer/arrays.test: Match output buffer stride and size to the Arrays struct definition.#1260
manon-traverse merged 1 commit into
llvm:mainfrom
Traverse-Research:cbuffer-arrays-incorrect-size-and-stride

Conversation

@manon-traverse

Copy link
Copy Markdown
Contributor

The output buffer in Cbuffer/arrays.test has 4 extra integers at the end that didn't match with the Arrays struct that is defined in the shader. The stride also did not match the one of the struct. By removing the padding and setting the stride to 128 we can fix this issue.

@manon-traverse manon-traverse merged commit ef2c1f5 into llvm:main Jun 10, 2026
23 of 27 checks passed
@MarijnS95 MarijnS95 deleted the cbuffer-arrays-incorrect-size-and-stride branch June 10, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants