1331: Validate filtering r=cwfitzgerald a=kvark
**Connections**
See https://github.com/gpuweb/gpuweb/pull/1223
**Description**
This PR implements validation of sampler filtering (property in BGL), as well as the ability to filter non-filterable textures.
**Testing**
Untested
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
1325: Relax and imporve vertex attribute validation r=cwfitzgerald a=kvark
**Connections**
None
**Description**
Improves our validation of vertex attributes in the following ways:
1. Relaxes the size matching, so that we allow the shaders to default some of the values we don't provide
2. Require interpolation to match
3. Make the error messages more detailed:
> In Device::create_render_pipeline
error in stage VERTEX
error matching the stage input at 1 (Uint32x2 interpolated as None) against the previous stage outputs
input type is not compatible with the provided Float32x2
**Testing**
Tested on wgpu-rs examples.
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
1320: Update naga to gfx-21 r=kvark a=kvark
**Connections**
See https://github.com/gfx-rs/gfx/pull/3720
**Description**
Brings a number of Naga fixes.
**Testing**
wgpu-rs examples
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
1313: Don't panic on change_extend errors r=cwfitzgerald a=kvark
**Connections**
???
**Description**
We used to have leftover `unwrap()` for extending the usages of render targets.
Now these are all routed via `UsageConflicts` into actual errors.
**Testing**
Untested
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
1311: Update gfx with the cmd buf freeing fix r=kvark a=kvark
**Connections**
Includes https://github.com/gfx-rs/gfx/pull/3717
**Description**
just an update
**Testing**
nopes
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
1310: Updated `gpu-alloc` to rev 2cd1ad6 r=kvark a=francesco-cattoglio
**Connections**
Updated gpu-alloc to include the commit that fixed https://github.com/zakarumych/gpu-alloc/issues/41
**Description**
It is a simple update of a dependency.
**Testing**
I have not tested this change, I just made sure that everything was still compiling correctly.
<!--
Non-trivial functional changes would need to be tested through:
- [wgpu-rs](https://github.com/gfx-rs/wgpu-rs) - test the examples.
- [wgpu-native](https://github.com/gfx-rs/wgpu-native/) - check the generated C header for sanity.
Ideally, a PR needs to link to the draft PRs in these projects with relevant modifications.
See https://github.com/gfx-rs/wgpu/pull/666 for an example.
If you can add a unit/integration test here in `wgpu`, that would be best.
-->
Co-authored-by: Franz <francesco.cattoglio@gmail.com>
1309: Move depth clamping to primitive state r=kvark a=kvark
**Connections**
Matches https://github.com/gpuweb/gpuweb/pull/1583
**Description**
There are valid cases where we'd want the depth clamping happening without any depth/stencil attachment or state.
**Testing**
Untested
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
1305: Don't flip SPIR-V coordinate space on input r=kvark a=kvark
**Connections**
fixes https://github.com/gfx-rs/wgpu-rs/issues/842
**Description**
The SPV-in by default changes the coordinate space, but for WebGPU we don't want it.
**Testing**
Untested...
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
1297: Downlevel Infrastructure and Validate Compute Shader Presence r=kvark a=cwfitzgerald
**Connections**
Provides the core infrastructure for #1244.
**Description**
Nothing too crazy in here. Includes the infrastructure and the beginnings of validation. Some of the properties can't easily be verified, but I will follow up with the rest of the low-hanging fruit in another PR.
**Testing**
Testing on https://github.com/gfx-rs/wgpu-rs/pull/829.
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
1291: Add color blend modes r=kvark a=cwfitzgerald
Continuation of #1289, because apparently you can't re-open an accidentally closed pull request if you force pushed...
Should be GTG.
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>