Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hlsl: respect array stride in storage buffers #1507

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

kvark
Copy link
Member

@kvark kvark commented Nov 3, 2021

Fixes #1504

The code had to go through a bit of a refactor. The end result is very type-verbose, but I think it should also be cleaner to read.

@kvark kvark requested a review from jimblandy November 3, 2021 03:05
@kvark kvark added the can backport PR that can be back-ported to a release branch label Nov 3, 2021
@ElectronicRU
Copy link
Contributor

thanks for picking up the slack, LG!

@kvark
Copy link
Member Author

kvark commented Nov 4, 2021

I'm fairly confident in this code, merging.

@kvark kvark merged commit 28c4532 into gfx-rs:master Nov 4, 2021
@kvark kvark deleted the hlsl-stride branch November 4, 2021 02:44
kvark added a commit to kvark/naga that referenced this pull request Dec 2, 2021
@kvark kvark mentioned this pull request Dec 2, 2021
@kvark kvark removed the can backport PR that can be back-ported to a release branch label Dec 2, 2021
@kvark
Copy link
Member Author

kvark commented Dec 2, 2021

Published in 0.7.2

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.

HLSL back-end ignores stride on storage buffers
2 participants