9799 Commits
Author SHA1 Message Date
Connor Fitzgerald af91efa93d Bump version to v27.0.4 v27.0.4 wgpu-hal-v27.0.4 2025-10-23 13:56:57 -04:00
Connor Fitzgerald 386d443768 [hal/vulkan] Wait for fence signalled in vkAcquireNextImage 2025-10-23 13:56:53 -04:00
Erich Gubler c06b23b11c docs(CHANGELOG): import fixups of old entries from trunk (#8406) 2025-10-23 00:51:40 -04:00
Kevin Reid 542d7c98ce Remove fragile dependency constraint on ordered-float. (#8371)
Bounds like `<=5.0` should never be used unless necessary to avoid bugs,
because it will cause a build failure if another package has a
requirement like `~5.1.0` or `>=5.1.0`. Upper bounds should always cut
at a major version boundary, not before it.
2025-10-22 17:10:44 -04:00
Erich Gubler d61dc3af88 chore: prep. for 27.0.3 release wgpu-core-v27.0.3 naga-v27.0.3 v27.0.3 wgpu-hal-v27.0.3 2025-10-22 09:45:01 -04:00
Erich Gubler 459e34abe6 docs(CHANGELOG): hoist backport entry for #8311 to proper place, lowercase naga 2025-10-22 09:45:01 -04:00
Erich Gubler e17bd3aae1 docs(README): add backport link 2025-10-22 09:45:01 -04:00
Erich Gubler 2404992992 chore: ignore windows-sys 0.59.0 in cargo deny checks 2025-10-22 09:45:01 -04:00
Andy Leiserson c5f702673e [build] Waive cargo deny for unmaintained unic-* crates
Related to #8393.
2025-10-22 09:45:01 -04:00
Erich Gubler 69fda60787 style: format CHANGELOG.md with prettier 2025-10-22 09:45:01 -04:00
Andy Leiserson 787aa723a1 Remove !encoder.is_open assertion
The encoder will be open if `CommandEncoder::as_hal_mut` has been used.
2025-10-21 16:48:09 -04:00
Andy Leiserson ffcb07e7ce [build] Commit Cargo.lock changes from the v27.0.2 version bump 2025-10-21 16:48:09 -04:00
Erich Gubler 53c71aeeec fix(dx12): align tex. <-> buf. copies via intermediate buffer if !UnrestrictedBufferTextureCopyPitchSupported 2025-10-20 18:17:06 -04:00
Erich Gubler 46af29df58 test(cts): add …,image_copy:undefined_params:* with current failures 2025-10-20 18:17:06 -04:00
Erich Gubler 8d63de77cc refactor(dx12): extract copy_aligned in copy_texture_to_buffer 2025-10-20 18:17:06 -04:00
Erich Gubler 3a5e2c4b18 refactor(hal): impl. From conversions b/w wgh::CopyExtent and wgt::Extent3d 2025-10-20 18:17:06 -04:00
Erich Gubler 341a4e058d refactor(dx12): lower list extraction for copies between textures and buffers 2025-10-20 18:17:06 -04:00
Erich Gubler f3dad2265d refactor(dx12): detect UnrestrictedBufferTextureCopyPitchSupported 2025-10-20 18:17:06 -04:00
Andy Leiserson 2ea52e021f [ci] Reset cache tag for CTS 2025-10-06 12:45:27 -07:00
teoxoy 98caa62267 [msl-out] use separator closure for all fn arguments 2025-10-06 20:51:37 +02:00
Connor Fitzgerald 627bf91c61 Bump version to v27.0.2 wgpu-hal-v27.0.2 v27.0.2 2025-10-03 23:41:09 -04:00
David Stern b34c110332 Gate DX12 mesh shader command signature initialization on device support. (#8297) 2025-10-03 23:39:25 -04:00
Connor Fitzgerald c76dea031c Bump version to v27.0.1 wgpu-types-v27.0.1 wgpu-v27.0.1 wgpu-core-v27.0.1 wgpu-hal-v27.0.1 v27.0.1 2025-10-02 13:02:24 -04:00
Connor Fitzgerald d3f487ee49 Clarify changelog 2025-10-02 13:02:24 -04:00
Connor Fitzgerald 0df9350a2e Fix docs.rs build 2025-10-02 13:02:24 -04:00
Connor Fitzgerald 7b988969be Remove trunk example warning 2025-10-02 12:47:40 -04:00
Connor Fitzgerald 482a983e10 Release v27 (#8287) v27.0.0 wgpu-types-v27.0.0 naga-cli-v27.0.0 wgpu-info-v27.0.0 wgpu-core-deps-windows-linux-android-v27.0.0 wgpu-core-deps-apple-v27.0.0 naga-v27.0.0 wgpu-hal-v27.0.0 wgpu-core-deps-wasm-v27.0.0 wgpu-core-deps-emscripten-v27.0.0 wgpu-v27.0.0 wgpu-core-v27.0.0 2025-10-01 19:36:18 -04:00
renovate[bot]andConnor Fitzgerald 9380b87755 chore(deps): update cargo.lock (#8229)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2025-10-01 22:42:49 +00:00
Andreas Reich 333f811e9c Rework wgpu::PollType to only two enum variants (#8285) 2025-10-01 18:08:07 -04:00
Jim Blandy 43eccd28f8 [naga] Remove naga::path_like. Use String instead. (#8284)
Delete the `naga::path_like` module, and simply using `String` and
`str` instead.

Nothing in Naga uses `Path` or `PathBuf` methods; indeed, Naga only
converts these values back and forth from string-like types with
`to_string_lossy` and `into`, such that using string-like, rather than
path-like, types actually simplifies the code.

This also avoids dead code warnings starting in Rust 1.89 that would
otherwise require distracting `#[cfg_attr]` conditionals.
2025-10-01 18:08:18 +02:00
Andy Leiserson 5b194ec510 [deno] Remove kludge for type properties (#8262) 2025-10-01 11:23:46 -04:00
renovate[bot] a2547f8211 chore(deps): update dependency macos to v15 (#8278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-01 10:59:09 -04:00
Erich Gubler 5146b3f8ae fix(namer): normalize ":<>," characters to a snake case separator 2025-10-01 08:50:37 -04:00
Erich Gubler 90702156af fix(namer): escape, rather than strip, non-ASCII ident. characters
Escape non-ASCII identifier characters with `write!(…, "u{:04x}", …)`,
surrounding with `_` as appropriate. This solves (1) a debugging issue
where stripped characters would otherwise be invisible, and (2) failure
to re-validate that stripped identifiers didn't start with an ASCII
digit.

I've confirmed that this fixes [bug
1978197](https://bugzilla.mozilla.org/show_bug.cgi?id=1978197) on the
Firefox side.
2025-10-01 08:50:37 -04:00
Andreas Reich 00ea850d79 Allow timeouting on poll (#8282) 2025-10-01 07:19:24 +00:00
Erich Gubler 06fc6f7345 feat(wgsl): recognize enable primitive-index; (#8237) 2025-09-30 22:02:10 +00:00
Marijn Suijten d0bcb7e62d CI: Disallow all warnings in cargo deny and prune unmatched skips (#8283)
The warnings right now all entail `unmatched-skip` /
`unmatched-skip-root` that have (likely) gotten stale since various
automated Renovate bumps where `Cargo.lock` changes don't require the
corresponding unmatched duplicate to be removed from `.deny.toml` again.

An exception has been made for `unmatched-organization` since we don't
always have a `git` dependency on a fork in `gfx-rs`, resulting in
a warning about that orga being in `sources.allow-org.github`.
2025-09-30 17:45:14 -04:00
Nils Hasenbanck 8c4aebc0c1 (Naga) Implement OpImageGather and OpImageDrefGather when ingesting SPIR-V (#8280) 2025-09-29 13:15:32 -04:00
Marijn Suijten ea80c7dbc3 hal/vulkan: Accurately map all formats except fp16 to use the non-linear sRGB color space (#8226) 2025-09-29 11:50:10 -04:00
Nils Hasenbanck 8cb94db802 (Naga) Add support for Storage Image Multisample when ingesting SPIR-V (#8270) 2025-09-29 11:45:39 -04:00
Andy Leiserson a01ffb7967 Fix unused warning in a specific feature config (#8271) 2025-09-29 11:44:05 -04:00
renovate[bot] bc43a23e04 chore(deps): update cts digest to 5e7bd6e (#8275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 11:43:27 -04:00
renovate[bot] 9c92a907e1 chore(deps): update crate-ci/typos action to v1.36.3 (#8276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 11:43:13 -04:00
Vecvec f1c876c875 Create a seperate event for each fence wait. (#8273)
* create an event per fence wait

* Use seperate event for each `wait_for_present_queue_idle` call.

* changelog
2025-09-29 11:38:33 -04:00
Andy Leiserson 61e5124eb9 [deno] Return undefined instead of null from WebGPU APIs (#8266)
See denoland/deno#29603
2025-09-26 20:10:09 -04:00
Erich Gubler 2b71b1f99d feat(deno): accept GPUTexture as GPUBindingResource 2025-09-26 17:51:35 -04:00
Erich Gubler 375095f789 feat(deno): accept GPUBuffer as GPUBindingResource 2025-09-26 17:51:35 -04:00
Teodor Tanasoaia ce96254f4f [msl] fix vertex pulling with a stride of 0 (#8265) 2025-09-26 13:37:37 -04:00
Teodor Tanasoaia 3375284f16 [D3D12] fix setting vertex buffer array stride if 0 (#8260) 2025-09-26 11:45:37 +00:00
Erich Gubler cac1bf998c test(cts): add …,vertex_state,correctness:array_stride_zero:*, expect fail on macOS 2025-09-25 17:56:12 -04:00