You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deps(lambda-rs-platform): Update wgpu and naga to v29.0.0 (#199)
## Summary
Upgrade `naga` and `wgpu` to `29.0.0` and update the
`lambda-rs-platform`
`wgpu` integration to compile and behave correctly with the new APIs.
This includes wrapper changes required for instance creation, pipeline
layout/depth state configuration,
surface creation, and surface frame acquisition/error handling.
## Related Issues
None.
## Changes
- Bump `naga` and `wgpu` to `29.0.0` in `lambda-rs-platform` and refresh
`Cargo.lock`
- Update `wgpu::Instance` construction for the new `InstanceDescriptor`
API
- Adjust pipeline layout creation to pass optional bind group layout
entries
- Update depth/stencil pipeline state setup for `wgpu` 29 optional depth
fields
- Update unsafe surface creation to use the new raw display handle shape
- Handle `CurrentSurfaceTexture` acquisition results from `wgpu` 29
- Add explicit `Occluded` and `Validation` surface error variants
- Remove a now-useless `u64` conversion
## Type of Change
- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] Feature (non-breaking change that adds functionality)
- [x] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation (updates to docs, specs, tutorials, or comments)
- [x] Refactor (code change that neither fixes a bug nor adds a feature)
- [ ] Performance (change that improves performance)
- [ ] Test (adding or updating tests)
- [ ] Build/CI (changes to build process or CI configuration)
## Affected Crates
- [x] `lambda-rs`
- [x] `lambda-rs-platform`
- [ ] `lambda-rs-args`
- [ ] `lambda-rs-logging`
- [ ] Other:
## Checklist
- [x] Code follows the repository style guidelines (`cargo +nightly fmt
--all`)
- [ ] Code passes clippy (`cargo clippy --workspace --all-targets -- -D
warnings`)
- [ ] Tests pass (`cargo test --workspace`)
- [x] New code includes appropriate documentation
- [x] Public API changes are documented
- [x] Breaking changes are noted in this PR description
## Testing
**Commands run:**
```bash
cargo +nightly fmt --all --check
cargo clippy -p lambda-rs-platform --all-targets -- -D warnings
cargo check --workspace --locked
```
## Screenshots/Recordings
Not applicable.
## Platform Testing
- [x] macOS
- [ ] Windows
- [ ] Linux
## Additional Notes
0 commit comments