Skip to content

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

Open
manon-traverse wants to merge 1 commit into
llvm:mainfrom
Traverse-Research:cbuffer-arrays-incorrect-size-and-stride
Open

CBuffer/arrays.test: Match output buffer stride and size to the Arrays struct definition.#1260
manon-traverse wants to merge 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.

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.

2 participants