-
Notifications
You must be signed in to change notification settings - Fork 1k
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
add feature RG11B10UFLOAT_RENDERABLE on webgpu #3689
add feature RG11B10UFLOAT_RENDERABLE on webgpu #3689
Conversation
6d34f07
to
ad5e825
Compare
/// - Metal | ||
/// | ||
/// This is a web and native feature. | ||
const RG11B10UFLOAT_RENDERABLE = 1 << 23; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already working because bevy uses adapter specific texture format features. If a user isn't, it needs to both advertise this feature, and change how we check the flags for texture features
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As wgpu 0.16 is going to be released in the next few days, if there is a need, I am happy to complete this part of the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started looking into this, I will open the PR now but I'm trying to find if there are conditions to check before adding it to DX12/Vulkan/Metal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checklist
cargo clippy
.RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown
if applicable.Connections
Description
Add feature
RG11B10UFLOAT_RENDERABLE
on webgpu. I don't think this needs anything else added as, at least for Bevy, it was already working for metal/dx/vulkanTesting
Rendered bloom examples from Bevy on webgpu and metal that use this texture format

webgpu:
metal:
