forked from gfx-rs/wgpu
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] trunk from gfx-rs:trunk #84
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment had become misplaced - it belongs on `lookup_sampled_image` - but also, that table is no longer "storing flags on how they are used". So the name of the field and type are probably documentation enough.
A version of rustup which doesn't understand toml-formatted `rust-toolchain` files won't be looking in `rust-toolchain.toml` The file was renamed to `rust-toolchain.toml` in #4204 rust-toolchain.toml support was added in rustup 1.23, which was released on 2020-11-27 [1], 3 and a half years ago. [1]: https://blog.rust-lang.org/2020/11/27/Rustup-1.23.0.html
Fix documentation left unchanged when `Parser` was renamed to `Frontend`.
…5627) Document some more safety expectations for - resource destruction methods - `CommandEncoder` methods - `Queue::submit` Document `Fence` creation a bit. Document the `Queue` trait a bit. Document `vulkan` shader module handling a bit.
* rename `command_encoder_run_*_pass` to `*_pass_end` and make it a method of compute/render pass instead of encoder * executing a compute pass consumes it now such that it can't be executed again * use handle_error instead of handle_error_nolabel for wgpu compute pass * use handle_error instead of handle_error_nolabel for render_pass_end * changelog addition * feat: `compute_pass_set_push_constant`: move panics to error variants Co-Authored-By: Erich Gubler <[email protected]> --------- Co-authored-by: Erich Gubler <[email protected]>
These are being deprecated in the future in favor of the associated constants (which are already being used in some code here), so this consistently uses the preferred forms.
* Add `as_hal` for `Buffer` * fmt & CHANGELOG.md update * Update CHANGELOG.md * fixed callback name * allow nested buffer as_hal callbacks
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.0 to 4.6.1. - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases) - [Commits](JamesIves/github-pages-deploy-action@v4.6.0...v4.6.1) --- updated-dependencies: - dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andreas Reich <[email protected]>
Bumps the patch-updates group with 19 updates: | Package | From | To | | --- | --- | --- | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.83` | `1.0.86` | | [bytemuck](https://github.com/Lokathor/bytemuck) | `1.15.0` | `1.16.0` | | [libc](https://github.com/rust-lang/libc) | `0.2.154` | `0.2.155` | | [raw-window-handle](https://github.com/rust-windowing/raw-window-handle) | `0.6.1` | `0.6.2` | | [serde](https://github.com/serde-rs/serde) | `1.0.201` | `1.0.202` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.60` | `1.0.61` | | [syn](https://github.com/dtolnay/syn) | `2.0.63` | `2.0.65` | | [cc](https://github.com/rust-lang/cc-rs) | `1.0.97` | `1.0.98` | | [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) | `0.8.19` | `0.8.20` | | [either](https://github.com/rayon-rs/either) | `1.11.0` | `1.12.0` | | [instant](https://github.com/sebcrozet/instant) | `0.1.12` | `0.1.13` | | [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | `0.4.13` | `0.4.14` | | [miniz_oxide](https://github.com/Frommi/miniz_oxide) | `0.7.2` | `0.7.3` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.82` | `1.0.83` | | [rustversion](https://github.com/dtolnay/rustversion) | `1.0.16` | `1.0.17` | | [serde_derive](https://github.com/serde-rs/serde) | `1.0.201` | `1.0.202` | | [smol_str](https://github.com/rust-analyzer/smol_str) | `0.2.1` | `0.2.2` | | [thiserror-impl](https://github.com/dtolnay/thiserror) | `1.0.60` | `1.0.61` | | [toml_datetime](https://github.com/toml-rs/toml) | `0.6.5` | `0.6.6` | Updates `anyhow` from 1.0.83 to 1.0.86 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](dtolnay/anyhow@1.0.83...1.0.86) Updates `bytemuck` from 1.15.0 to 1.16.0 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](Lokathor/bytemuck@v1.15.0...v1.16.0) Updates `libc` from 0.2.154 to 0.2.155 - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](rust-lang/libc@0.2.154...0.2.155) Updates `raw-window-handle` from 0.6.1 to 0.6.2 - [Release notes](https://github.com/rust-windowing/raw-window-handle/releases) - [Changelog](https://github.com/rust-windowing/raw-window-handle/blob/master/CHANGELOG.md) - [Commits](rust-windowing/raw-window-handle@v0.6.1...v0.6.2) Updates `serde` from 1.0.201 to 1.0.202 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](serde-rs/serde@v1.0.201...v1.0.202) Updates `thiserror` from 1.0.60 to 1.0.61 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@1.0.60...1.0.61) Updates `syn` from 2.0.63 to 2.0.65 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](dtolnay/syn@2.0.63...2.0.65) Updates `cc` from 1.0.97 to 1.0.98 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Commits](rust-lang/cc-rs@1.0.97...1.0.98) Updates `crossbeam-utils` from 0.8.19 to 0.8.20 - [Release notes](https://github.com/crossbeam-rs/crossbeam/releases) - [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md) - [Commits](crossbeam-rs/crossbeam@crossbeam-utils-0.8.19...crossbeam-utils-0.8.20) Updates `either` from 1.11.0 to 1.12.0 - [Commits](rayon-rs/either@1.11.0...1.12.0) Updates `instant` from 0.1.12 to 0.1.13 - [Changelog](https://github.com/sebcrozet/instant/blob/master/CHANGELOG.md) - [Commits](https://github.com/sebcrozet/instant/commits) Updates `linux-raw-sys` from 0.4.13 to 0.4.14 - [Commits](sunfishcode/linux-raw-sys@v0.4.13...v0.4.14) Updates `miniz_oxide` from 0.7.2 to 0.7.3 - [Changelog](https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md) - [Commits](Frommi/miniz_oxide@0.7.2...0.7.3) Updates `proc-macro2` from 1.0.82 to 1.0.83 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](dtolnay/proc-macro2@1.0.82...1.0.83) Updates `rustversion` from 1.0.16 to 1.0.17 - [Release notes](https://github.com/dtolnay/rustversion/releases) - [Commits](dtolnay/rustversion@1.0.16...1.0.17) Updates `serde_derive` from 1.0.201 to 1.0.202 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](serde-rs/serde@v1.0.201...v1.0.202) Updates `smol_str` from 0.2.1 to 0.2.2 - [Commits](https://github.com/rust-analyzer/smol_str/commits/v0.2.2) Updates `thiserror-impl` from 1.0.60 to 1.0.61 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@1.0.60...1.0.61) Updates `toml_datetime` from 0.6.5 to 0.6.6 - [Commits](toml-rs/toml@toml_datetime-v0.6.5...toml_datetime-v0.6.6) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: bytemuck dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: raw-window-handle dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: crossbeam-utils dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: either dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: instant dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: linux-raw-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: miniz_oxide dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: proc-macro2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: rustversion dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: serde_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: smol_str dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: thiserror-impl dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: toml_datetime dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Validate that `CallResult` and `AtomicResult` expressions actually have their values provided by `Call` and `Atomic` statements, and not `Emit` statements. Fixes #5740.
Add tests to ensure that validation checks that `CallResult` and `AtomicResult` expressions actually have their values provided by `Call` and `Atomic` statements, and not `Emit` statements.
`TypeInner.size()` already handles the array case
Co-authored-by: Jim Blandy <[email protected]> Co-authored-by: Xiaopeng Li <[email protected]> Co-authored-by: Connor Fitzgerald <[email protected]> Co-authored-by: Samson <[email protected]> Co-authored-by: Valaphee The Meerkat <[email protected]> Co-authored-by: Andreas Reich <[email protected]>
* Add support for pipeline-overridable constants in WebGPU * Add utility function for setting constants map * Panic on failure to set constants map --------- Co-authored-by: Andreas Reich <[email protected]>
…oder (#5620) * lift encoder->computepass lifetime constraint and add now failing test * compute passes now take an arc to their parent command encoder, thus removing compile time dependency to it * Command encoder goes now into locked state while compute pass is open * changelog entry * share most of the code between get_encoder and lock_encoder
Parse spirv::Op::AtomicIIncrement, add atomic_i_increment test.
This proves a flag in msl::PipelineOptions that attempts to write all Metal vertex entry points to use a vertex pulling technique. It does this by: 1) Forcing the _buffer_sizes structure to be generated for all vertex entry points. The structure has additional buffer_size members that contain the byte sizes of the vertex buffers. 2) Adding new args to vertex entry points for the vertex id and/or the instance id and for the bound buffers. If there is an existing @Builtin(vertex_index) or @Builtin(instance_index) param, then no duplicate arg is created. 3) Adding code at the beginning of the function for vertex entry points to compare the vertex id or instance id against the lengths of all the bound buffers, and force an early-exit if the bounds are violated. 4) Extracting the raw bytes from the vertex buffer(s) and unpacking those bytes into the bound attributes with the expected types. 5) Replacing the varyings input and instead using the unpacked attributes to fill any structs-as-args that are rebuilt in the entry point. A new naga test is added which exercises this flag and demonstrates the effect of the transform. The msl generated by this test passes validation. Eventually this transformation will be the default, always-on behavior for Metal pipelines, though the flag may remain so that naga translation tests can be run with and without the tranformation.
Fix two major synchronization issues in `wgpu_val::vulkan`: - Properly order queue command buffer submissions. Due to Mesa bugs, two semaphores are required even though the Vulkan spec says that only one should be necessary. - Properly manage surface texture acquisition and presentation: - Acquiring a surface texture can return while the presentation engine is still displaying the texture. Applications must wait for a semaphore to be signaled before using the acquired texture. - Presenting a surface texture requires a semaphore to ensure that drawing is complete before presentation occurs. Co-authored-by: Jim Blandy <[email protected]>
* add the missing acceleration structure buffer flag * fmt
Bumps the patch-updates group with 19 updates: | Package | From | To | | --- | --- | --- | | [parking_lot](https://github.com/Amanieu/parking_lot) | `0.12.2` | `0.12.3` | | [serde](https://github.com/serde-rs/serde) | `1.0.202` | `1.0.203` | | [tokio](https://github.com/tokio-rs/tokio) | `1.37.0` | `1.38.0` | | [syn](https://github.com/dtolnay/syn) | `2.0.65` | `2.0.66` | | [backtrace](https://github.com/rust-lang/backtrace-rs) | `0.3.71` | `0.3.72` | | [bytemuck_derive](https://github.com/Lokathor/bytemuck) | `1.6.0` | `1.7.0` | | [crc32fast](https://github.com/srijs/rust-crc32fast) | `1.4.0` | `1.4.2` | | [deno_unsync](https://github.com/denoland/deno_unsync) | `0.3.3` | `0.3.4` | | [gimli](https://github.com/gimli-rs/gimli) | `0.28.1` | `0.29.0` | | [objc-sys](https://github.com/madsmtm/objc2) | `0.3.3` | `0.3.5` | | [object](https://github.com/gimli-rs/object) | `0.32.2` | `0.35.0` | | [plotters](https://github.com/plotters-rs/plotters) | `0.3.5` | `0.3.6` | | [plotters-backend](https://github.com/plotters-rs/plotters) | `0.3.5` | `0.3.6` | | [plotters-svg](https://github.com/plotters-rs/plotters) | `0.3.5` | `0.3.6` | | [polling](https://github.com/smol-rs/polling) | `3.7.0` | `3.7.1` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.83` | `1.0.85` | | [serde_derive](https://github.com/serde-rs/serde) | `1.0.202` | `1.0.203` | | [tokio-macros](https://github.com/tokio-rs/tokio) | `2.2.0` | `2.3.0` | | [wayland-backend](https://github.com/smithay/wayland-rs) | `0.3.3` | `0.3.4` | Updates `parking_lot` from 0.12.2 to 0.12.3 - [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md) - [Commits](Amanieu/parking_lot@0.12.2...0.12.3) Updates `serde` from 1.0.202 to 1.0.203 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](serde-rs/serde@v1.0.202...v1.0.203) Updates `tokio` from 1.37.0 to 1.38.0 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](tokio-rs/tokio@tokio-1.37.0...tokio-1.38.0) Updates `syn` from 2.0.65 to 2.0.66 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](dtolnay/syn@2.0.65...2.0.66) Updates `backtrace` from 0.3.71 to 0.3.72 - [Release notes](https://github.com/rust-lang/backtrace-rs/releases) - [Commits](rust-lang/backtrace-rs@0.3.71...0.3.72) Updates `bytemuck_derive` from 1.6.0 to 1.7.0 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](Lokathor/bytemuck@bytemuck_derive-v1.6.0...bytemuck_derive-v1.7.0) Updates `crc32fast` from 1.4.0 to 1.4.2 - [Commits](srijs/rust-crc32fast@v1.4.0...v1.4.2) Updates `deno_unsync` from 0.3.3 to 0.3.4 - [Commits](https://github.com/denoland/deno_unsync/commits) Updates `gimli` from 0.28.1 to 0.29.0 - [Changelog](https://github.com/gimli-rs/gimli/blob/master/CHANGELOG.md) - [Commits](gimli-rs/gimli@0.28.1...0.29.0) Updates `objc-sys` from 0.3.3 to 0.3.5 - [Commits](madsmtm/objc2@objc-sys-0.3.3...objc-sys-0.3.5) Updates `object` from 0.32.2 to 0.35.0 - [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md) - [Commits](gimli-rs/object@0.32.2...0.35.0) Updates `plotters` from 0.3.5 to 0.3.6 - [Changelog](https://github.com/plotters-rs/plotters/blob/master/CHANGELOG.md) - [Commits](plotters-rs/plotters@v0.3.5...v0.3.6) Updates `plotters-backend` from 0.3.5 to 0.3.6 - [Changelog](https://github.com/plotters-rs/plotters/blob/master/CHANGELOG.md) - [Commits](plotters-rs/plotters@v0.3.5...v0.3.6) Updates `plotters-svg` from 0.3.5 to 0.3.6 - [Changelog](https://github.com/plotters-rs/plotters/blob/master/CHANGELOG.md) - [Commits](plotters-rs/plotters@v0.3.5...v0.3.6) Updates `polling` from 3.7.0 to 3.7.1 - [Release notes](https://github.com/smol-rs/polling/releases) - [Changelog](https://github.com/smol-rs/polling/blob/master/CHANGELOG.md) - [Commits](smol-rs/polling@v3.7.0...v3.7.1) Updates `proc-macro2` from 1.0.83 to 1.0.85 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](dtolnay/proc-macro2@1.0.83...1.0.85) Updates `serde_derive` from 1.0.202 to 1.0.203 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](serde-rs/serde@v1.0.202...v1.0.203) Updates `tokio-macros` from 2.2.0 to 2.3.0 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](tokio-rs/tokio@tokio-macros-2.2.0...tokio-macros-2.3.0) Updates `wayland-backend` from 0.3.3 to 0.3.4 - [Release notes](https://github.com/smithay/wayland-rs/releases) - [Changelog](https://github.com/Smithay/wayland-rs/blob/master/historical_changelog.md) - [Commits](https://github.com/smithay/wayland-rs/commits) --- updated-dependencies: - dependency-name: parking_lot dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: backtrace dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: bytemuck_derive dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: crc32fast dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: deno_unsync dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: gimli dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: objc-sys dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: object dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: plotters dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: plotters-backend dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: plotters-svg dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: polling dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: proc-macro2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: serde_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: tokio-macros dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: wayland-backend dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix links in documentation for types defined using the `bitflags!` macro. As described in [bitflags#407], for some reason, `cargo doc` doesn't check for broken links in documentation for types or members defined using `bitflags::bitflags!`. [bitflags#407]: bitflags/bitflags#407
Remove `valid::expression::ExpressionError::DoesntExist`. This error is reported when expression validation encounters an invalid `Handle<Expression>`, but we have already verified that the module is free of invalid handles in `Validator::validate_module_handles`, so this condition should never arise.
all relevant inner errors already print the label of the buffers
and make sure that we use `ResourceErrorIdent` in all relevant inner errors
and make sure that we use `ResourceErrorIdent` in all relevant inner errors
and make sure that we use `ResourceErrorIdent` in all relevant inner errors
…updates (#5895) Bumps the patch-updates group with 24 updates in the / directory: | Package | From | To | | --- | --- | --- | | [bit-vec](https://github.com/contain-rs/bit-vec) | `0.6.3` | `0.7.0` | | [bitflags](https://github.com/bitflags/bitflags) | `2.5.0` | `2.6.0` | | [bytemuck](https://github.com/Lokathor/bytemuck) | `1.16.0` | `1.16.1` | | [libloading](https://github.com/nagisa/rust_libloading) | `0.8.3` | `0.8.4` | | [log](https://github.com/rust-lang/log) | `0.4.21` | `0.4.22` | | [serde_json](https://github.com/serde-rs/json) | `1.0.117` | `1.0.119` | | [bit-set](https://github.com/contain-rs/bit-set) | `0.5.3` | `0.6.0` | | [syn](https://github.com/dtolnay/syn) | `2.0.66` | `2.0.68` | | [ab_glyph](https://github.com/alexheretic/ab-glyph) | `0.2.26` | `0.2.27` | | [backtrace](https://github.com/rust-lang/backtrace-rs) | `0.3.72` | `0.3.73` | | [cc](https://github.com/rust-lang/cc-rs) | `1.0.99` | `1.0.103` | | [clap](https://github.com/clap-rs/clap) | `4.5.6` | `4.5.8` | | [deno_unsync](https://github.com/denoland/deno_unsync) | `0.3.4` | `0.3.5` | | [derive_more](https://github.com/JelteF/derive_more) | `0.99.17` | `0.99.18` | | [either](https://github.com/rayon-rs/either) | `1.12.0` | `1.13.0` | | [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) | `1.4.0` | `1.5.0` | | [memchr](https://github.com/BurntSushi/memchr) | `2.7.2` | `2.7.4` | | [miniz_oxide](https://github.com/Frommi/miniz_oxide) | `0.7.3` | `0.7.4` | | [num-bigint](https://github.com/rust-num/num-bigint) | `0.4.5` | `0.4.6` | | [polling](https://github.com/smol-rs/polling) | `3.7.1` | `3.7.2` | | [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.85` | `1.0.86` | | [tinyvec](https://github.com/Lokathor/tinyvec) | `1.6.0` | `1.6.1` | | [url](https://github.com/servo/rust-url) | `2.5.0` | `2.5.2` | | [uuid](https://github.com/uuid-rs/uuid) | `1.8.0` | `1.9.1` | Updates `bit-vec` from 0.6.3 to 0.7.0 - [Commits](https://github.com/contain-rs/bit-vec/commits) Updates `bitflags` from 2.5.0 to 2.6.0 - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](bitflags/bitflags@2.5.0...2.6.0) Updates `bytemuck` from 1.16.0 to 1.16.1 - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md) - [Commits](Lokathor/bytemuck@v1.16.0...v1.16.1) Updates `libloading` from 0.8.3 to 0.8.4 - [Commits](nagisa/rust_libloading@0.8.3...0.8.4) Updates `log` from 0.4.21 to 0.4.22 - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](rust-lang/log@0.4.21...0.4.22) Updates `serde_json` from 1.0.117 to 1.0.119 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](serde-rs/json@v1.0.117...v1.0.119) Updates `bit-set` from 0.5.3 to 0.6.0 - [Release notes](https://github.com/contain-rs/bit-set/releases) - [Commits](https://github.com/contain-rs/bit-set/commits) Updates `syn` from 2.0.66 to 2.0.68 - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](dtolnay/syn@2.0.66...2.0.68) Updates `ab_glyph` from 0.2.26 to 0.2.27 - [Release notes](https://github.com/alexheretic/ab-glyph/releases) - [Commits](alexheretic/ab-glyph@ab-glyph-0.2.26...ab-glyph-0.2.27) Updates `backtrace` from 0.3.72 to 0.3.73 - [Release notes](https://github.com/rust-lang/backtrace-rs/releases) - [Commits](rust-lang/backtrace-rs@0.3.72...0.3.73) Updates `cc` from 1.0.99 to 1.0.103 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](rust-lang/cc-rs@1.0.99...cc-v1.0.103) Updates `clap` from 4.5.6 to 4.5.8 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](clap-rs/clap@clap_complete-v4.5.6...v4.5.8) Updates `clap_builder` from 4.5.6 to 4.5.8 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](clap-rs/clap@v4.5.6...v4.5.8) Updates `clap_derive` from 4.5.5 to 4.5.8 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](clap-rs/clap@v4.5.5...v4.5.8) Updates `deno_unsync` from 0.3.4 to 0.3.5 - [Commits](https://github.com/denoland/deno_unsync/commits) Updates `derive_more` from 0.99.17 to 0.99.18 - [Release notes](https://github.com/JelteF/derive_more/releases) - [Changelog](https://github.com/JelteF/derive_more/blob/v0.99.18/CHANGELOG.md) - [Commits](JelteF/derive_more@v0.99.17...v0.99.18) Updates `either` from 1.12.0 to 1.13.0 - [Commits](rayon-rs/either@1.12.0...1.13.0) Updates `lazy_static` from 1.4.0 to 1.5.0 - [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases) - [Commits](rust-lang-nursery/lazy-static.rs@1.4.0...1.5.0) Updates `memchr` from 2.7.2 to 2.7.4 - [Commits](BurntSushi/memchr@2.7.2...2.7.4) Updates `miniz_oxide` from 0.7.3 to 0.7.4 - [Changelog](https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md) - [Commits](https://github.com/Frommi/miniz_oxide/commits) Updates `num-bigint` from 0.4.5 to 0.4.6 - [Changelog](https://github.com/rust-num/num-bigint/blob/master/RELEASES.md) - [Commits](rust-num/num-bigint@num-bigint-0.4.5...num-bigint-0.4.6) Updates `object` from 0.35.0 to 0.36.1 - [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md) - [Commits](gimli-rs/object@0.35.0...0.36.1) Updates `polling` from 3.7.1 to 3.7.2 - [Release notes](https://github.com/smol-rs/polling/releases) - [Changelog](https://github.com/smol-rs/polling/blob/master/CHANGELOG.md) - [Commits](smol-rs/polling@v3.7.1...v3.7.2) Updates `proc-macro2` from 1.0.85 to 1.0.86 - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](dtolnay/proc-macro2@1.0.85...1.0.86) Updates `tinyvec` from 1.6.0 to 1.6.1 - [Changelog](https://github.com/Lokathor/tinyvec/blob/main/CHANGELOG.md) - [Commits](Lokathor/tinyvec@v1.6.0...v1.6.1) Updates `url` from 2.5.0 to 2.5.2 - [Release notes](https://github.com/servo/rust-url/releases) - [Commits](servo/rust-url@v2.5.0...v2.5.2) Updates `uuid` from 1.8.0 to 1.9.1 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](uuid-rs/uuid@1.8.0...1.9.1) --- updated-dependencies: - dependency-name: bit-vec dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: bitflags dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: bytemuck dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: libloading dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: bit-set dependency-type: direct:production update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: ab_glyph dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: backtrace dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: cc dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: clap dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: clap_builder dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: clap_derive dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: deno_unsync dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: derive_more dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: either dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: lazy_static dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: memchr dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: miniz_oxide dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: num-bigint dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: object dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates - dependency-name: polling dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: proc-macro2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: tinyvec dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: url dependency-type: indirect update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: uuid dependency-type: indirect update-type: version-update:semver-minor dependency-group: patch-updates ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* buffer size mismatch: more detail in error message * wrong buffer size: change name of fields
* share timestamp write struct * Make name of set_push_constants methods consistently plural * remove lifetime bounds of resources passed into render pass * first render pass resource ownership test * introduce dynrenderpass & immediately create ArcCommands and take ownership of resources passed on pass creation * Use of dynrenderpass in deno * Separate active occlusion & pipeline statitics query * resolve render/compute command is now behind `replay` feature * add vertex & index buffer to ownership test * test for pipeline statistics query * add occlusion query set to pass resource test * add tests for resource ownership of render pass query timestamps * RenderPass can now be made 'static just like ComputePass. Add respective test * Extend encoder_operations_fail_while_pass_alive test to also check encoder locking errors with render passes * improve changelog entry on lifetime bounds
The code was written with the incorrect assumption that if no lifetime is specified in a method definition, then all lifetimes are elided to the lifetime of self. In fact only lifetimes in the returned value are elided to the lifetime of self, and other parameters get their own lifetimes. Kudos to @teoxoy for catching the issue!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )