Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Fix textureGather on texture_2d<u32/i32> #2138

Merged
merged 5 commits into from
Dec 5, 2022
Merged

Conversation

JMS55
Copy link
Contributor

@JMS55 JMS55 commented Dec 1, 2022

Fixes #2135.

I'm not sure if I did this correctly, so please double check if this is right. It's enough to let my shader pass validation, however.

@teoxoy
Copy link
Member

teoxoy commented Dec 2, 2022

Thanks for the PR!

I'd like to see some lines added in the tests/in/image.wgsl test snapshot that covers those overloads.

@JMS55
Copy link
Contributor Author

JMS55 commented Dec 2, 2022

Added some tests.

src/valid/analyzer.rs Outdated Show resolved Hide resolved
tests/in/image.wgsl Outdated Show resolved Hide resolved
src/valid/expression.rs Outdated Show resolved Hide resolved
@teoxoy teoxoy enabled auto-merge (squash) December 5, 2022 10:00
@teoxoy teoxoy merged commit bf4e62b into gfx-rs:master Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues with textureGather on texture_2d<u32>
2 participants