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

wgpu/Naga requires an f32, Chrome expects a u32 #6473

Closed
BenjaminBrienen opened this issue Oct 28, 2024 · 2 comments
Closed

wgpu/Naga requires an f32, Chrome expects a u32 #6473

BenjaminBrienen opened this issue Oct 28, 2024 · 2 comments

Comments

@BenjaminBrienen
Copy link

BenjaminBrienen commented Oct 28, 2024

This seems to be a bug in wgpu/Naga? The WGSL spec agrees with Chrome: the level parameter of textureSampleLevel when applied to a texture_depth_2d_array is u32. But wgpu/Naga requires that it be an f32, and this is what we supply. That breaks Chrome.

Originally posted by @pcwalton in bevyengine/bevy#16000 (comment)

@ErichDonGubler

This comment was marked as outdated.

@ErichDonGubler ErichDonGubler closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2024
@teoxoy
Copy link
Member

teoxoy commented Oct 31, 2024

It's a duplicate of #4548.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants