veloren/voxygen
João Capucho 277528355b
Fix depth textures being bound as float textures
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
2023-01-31 16:46:24 +00:00
..
anim Merge branch 'wyvern_wings' into 'master' 2023-01-28 21:25:17 +00:00
benches Reduce overhead of messaging systems. 2022-09-14 21:04:53 -07:00
egui Removed redundant package parameter from init function of hot reloading 2022-09-17 00:55:28 -04:00
examples (See sharp/lod-history) LOD, shadows, greedy meshing, new lighting, perf 2020-08-20 20:34:59 +02:00
i18n-helpers fmt 2023-01-28 03:10:43 +01:00
src Fix depth textures being bound as float textures 2023-01-31 16:46:24 +00:00
build.rs feat(voxygen): add logo for windows executable 2019-10-02 16:57:08 +02:00
Cargo.toml move client commands to voxygen + add Admin to be shared with client for permissions + unit test for alphabetical server command 2023-01-27 20:31:56 -05:00