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>
847: Don't pin web-sys and wasm-bindgen versions r=grovesNL a=RichoDemus
Pinning them forces all downstream dependencies to use exactly this version
The latest release of wgpu has pinned an old version of wasm-bindgen, forcing users to downgrade wasm-bindgen-cli in order to build
Co-authored-by: Richard Tjerngren <git@richodemus.com>
Co-authored-by: RichoDemus <git@richodemus.com>
The initial intention was to make the code a little more elegant and match on
the Vec itself instead of its length, however there's also a - probably
minuscule - performance advantage:
`Vec::remove` internally copies the removed element onto the stack. In this case
that's a `StructMember` weighting 48 bytes. The `Binding` we are actually
interested in is only 8 bytes tough.
Cloning just the `Binding` saves us from copying 40 bytes for nothing.
Pinning them forces all downstream dependencies to use exactly this version
The latest release of wgpu has pinned an old version of wasm-bindgen, forcing users to downgrade wasm-bindgen-cli in order to build
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>