mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
277528355b
Webgpu defines that a texture depth format can only be sampled as a depth texture or as an "unfilterable-float", however both the clouds and postprocess pipeline were declaring in their bind group that the depth source was a texture with a sample type of float (filterable). This is forbidden by the webgpu specification and should be caught by validation, but the version of wgpu we are using doesn't have that check (older versions have the check), so we can only assume that this is undefined behavior. Relevant sources: - [Bind Group Creation](https://gpuweb.github.io/gpuweb/#bind-group-creation) includes the rules that explicitly forbid this situation - [Depth-stencil formats](https://gpuweb.github.io/gpuweb/#depth-formats) defines which sample types we are allowed to use with depth textures |
||
---|---|---|
.. | ||
anim | ||
benches | ||
egui | ||
examples | ||
i18n-helpers | ||
src | ||
build.rs | ||
Cargo.toml |