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

Fix wgsl float texture format inference silent failure #5831

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

Devon7925
Copy link
Contributor

Previously compiling a slang file with RWTexture<float> would fail silently and hang the playground. This changes the code to be closer to the glsl implementation and fixes the failure.

Still not exactly sure why the previous code didn't work but I think it had something to do with chaining the declarations in the if statement.

@Devon7925 Devon7925 requested a review from a team as a code owner December 11, 2024 00:11
@csyonghe csyonghe added the pr: non-breaking PRs without breaking changes label Dec 11, 2024
@csyonghe csyonghe merged commit f687688 into shader-slang:master Dec 11, 2024
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants