10464 Commits
Author SHA1 Message Date
Connor Fitzgerald e99f5305de Bump versions to v29.0.4 v29.0.4 2026-07-01 20:00:13 -04:00
Andy Leiserson a96271374d Cherry pick "fix(metal): Restore the Queue::as_raw method" to v29 (#9789) 2026-07-01 15:04:20 -04:00
Connor FitzgeraldandFrancis De Brabandere 6d387d77b9 Cherry Pick #9741 to v29 (#9767)
Co-authored-by: Francis De Brabandere <francisdb@gmail.com>
2026-06-29 16:31:24 -04:00
Ben BrandtandJohn Tur 866cc0d818 Cherry Pick #9271 to v29 (#9566)
Co-authored-by: John Tur <john-tur@outlook.com>
2026-06-03 17:18:15 +02:00
Connor Fitzgerald 4cbe6232b2 Bump versions to v29.0.3 v29.0.3 2026-05-01 22:18:31 -04:00
Elabajaba ed3fb9da19 fix debug assertion not covering both parts of the debug statement (#9352) 2026-05-01 22:18:31 -04:00
Connor Fitzgerald d4d264f72f Bump versions to v29.0.2 v29.0.2 2026-05-01 16:04:01 -04:00
Andreas ReichandConnor Fitzgerald 7d7b9481ff Don't fail metal create_fence if no shared event could be created (#9415)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-05-01 14:04:31 -04:00
Andreas ReichandConnor Fitzgerald 9890bc9525 Fix missing dependency feature activations when building wgpu-hal with gles/dx12 in isolation (#9325)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-05-01 14:04:30 -04:00
Kristoffer Søholm bca70e5afb Fix validation for bindings with different sizes (#9341) 2026-05-01 14:04:29 -04:00
Kristoffer Søholm 5db7c60e5f Fix bad debug_assert in dx12 indirect multi draw (#9332) 2026-05-01 14:04:29 -04:00
TornaxO7 9594023075 refactor: export TextureChannel (#9349)
* refactor: export `TextureChannel`

* chore(CHANGELOG): add entry for `wgpu::TextureChannel`

* format: apply `cargo fmt`
2026-05-01 14:04:28 -04:00
Mohamed Taha GUELZIM 41d557fd8d fix(wgpu-hal/vulkan): only request shaderDrawParameters when needed (#9331)
Backport of the fix to v29.0.1 for use via [patch.crates-io].

Fixes #9293.
2026-05-01 14:04:28 -04:00
Kristoffer Søholm cccd90e161 Fix wrong binding array sampler limit in dx12 (#9330) 2026-05-01 14:04:27 -04:00
Andreas Reich 923b896955 Prepare patch release v29.0.1
Cherry-picked PRs:
- #9264: fix(core): implement value comparison for max_inter_stage_shader_variables
- #9284: fix(metal): Check respondsToSelector before feature detection calls
- #9302: fix(gles): texture height initialized incorrectly in create_texture
- #8808: Fix up CreateTextureViewError::TooManyMipLevels/ArrayLayers crashes
Plus revert of https://github.com/gfx-rs/wgpu/commit/c8194847515e1075f34f504f0974cc48b2ba671e

Bump workspace version to 29.0.1 and update changelog.
v29.0.1 wgpu-hal-v29.0.1 wgpu-v29.0.1 wgpu-core-v29.0.1 wgpu-types-v29.0.1
2026-03-26 14:01:34 +01:00
Andreas Reich 2fdeb13888 Revert "[metal] fix limits"
This reverts commit c819484751.
2026-03-26 14:01:34 +01:00
Erich Gubler 814eef1ca2 Don't crash in the Display implementation of CreateTextureViewError::TooMany{MipLevels,ArrayLayers} when their base and offset overflow. By @ErichDonGubler in #8808. 2026-03-26 14:01:34 +01:00
Umaĵo fbaf66fbe6 fix(gles): texture height initialized incorrectly in create_texture (#9302) 2026-03-26 14:01:34 +01:00
Andy Leiserson 55bc84c149 fix(metal): Check respondsToSelector before feature detection calls (#9284)
These methods are not implemented by `CaptureMTLDevice`. The actual
calls succeed, because the exception is caught and handled by a
fallback mechanism, but the valid-method checks by objc2 in debug
builds are not aware of the fallback and panic.

Fixes #9282
2026-03-26 14:01:34 +01:00
Erich Gubler 274d1b7a21 fix(core): implement value comparison for Limits::max_inter_stage_shader_variables (#9264) 2026-03-26 14:01:34 +01:00
Connor Fitzgerald 5f76b453a4 Remove example warning 2026-03-18 20:30:25 -04:00
Connor Fitzgerald 06e2c7d24a Release v29 (#9260) v29.0.0 2026-03-18 20:23:53 -04:00
Andreas ReichandConnor Fitzgerald e4dae053c0 Change get_current_texture output to a unified enum (#9257)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-18 22:12:58 +00:00
Andy LeisersonandConnor Fitzgerald 41e85e7e2e docs(CHANGELOG): Minor cleanup (#9258)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-18 21:35:37 +00:00
Erich Gubler 805c372733 refactor(core): Interface::check_stage: use Iterator::zip for dimension checks (#9203) 2026-03-18 13:55:45 -07:00
Connor Fitzgerald 2810e95489 Update to winit 0.30 (#9089) 2026-03-18 20:34:12 +01:00
Andy Leiserson 9a3bba6962 feat(tracing): Trace failed create_*_pipeline calls (#9209) 2026-03-18 19:17:13 +01:00
Erich Gubler e6854ecf38 fix(core): panic on overflow for set_immediate's params. not coercing to usize 2026-03-18 12:16:00 -06:00
Erich Gubler 854ed79fd4 fix(core)!: validate set_immediate's values_offset param. 2026-03-18 12:16:00 -06:00
Erich Gubler f165d206ef fix(core)!: validate set_immediate's size_bytes param. 2026-03-18 12:16:00 -06:00
Erich Gubler 2a3dd23b03 fix(core)!: properly handle end offset overrun for immediate data 2026-03-18 12:16:00 -06:00
Andy Leiserson d5c0b137e0 test: Annotate one more KosmicKrisp failure (#9256)
Tracked in #9187
2026-03-18 11:13:25 -06:00
Andy Leiserson 04cce5ace7 feat(types): Add conversions to/from feature name strings (#9163) 2026-03-18 09:59:45 -07:00
Andy Leiserson 0e2650781c fix: dual-source blending validation
- Validate `@blend_src` structs in type validation. The spec requires
  validating any struct with `@blend_src` attributes, whether or not
  it is used by an entry point.
- Remove `@blend_src`-related interface validation that is
  redundant with the type validation.
- Dual-source blending requires that there be a single color
  attachment.
2026-03-18 09:52:01 -07:00
Andy Leiserson 3cb29686ae refactor(naga): Update IO_SHAREABLE definition 2026-03-18 09:52:01 -07:00
Bruce Mitchener 824211333d metal: use setMeshBytes for mesh shader immediates (#9254)
Other mesh-stage byte bindings already use `setMeshBytes`, but the
immediates path still used `setObjectBytes`. Switch that call
site to the mesh-stage encoder entry point.
2026-03-18 09:33:15 -04:00
Bruce Mitchener 66c4c30bdc metal: use typed objc2 pipeline creation APIs (#9253)
Fixes #8944
2026-03-18 09:25:07 -04:00
Erich Gubler 763180cda9 docs(CHANGELOG): add entry for #8782 (#9251) 2026-03-17 19:17:49 -04:00
ecoricemon 93fe05dd35 fix(naga): Validate matrix constructors (#9207)
Added column validation in matrix constructors.

CTS change
webgpu:shader,validation,expression,call,builtin,value_constructor:*
481/483 -> 483/483 (100%)
2026-03-17 13:24:20 -06:00
Connor Fitzgerald f59124f3f6 Add support for the D3D12 Agility SDK (#9130) 2026-03-16 20:43:32 -04:00
Andy Leiserson d5b6945d95 test(cts): Skip max_resources_per_stage on dx12 (#9247) 2026-03-16 20:42:44 -04:00
Bruce MitchenerandAndy Leiserson 28bda54ae0 metal: prevent command buffer exhaustion deadlocks (#8574)
- Track outstanding Metal command buffers per queue and gate begin_encoding against the hard MAX_COMMAND_BUFFERS, returning device-lost with an actionable warning instead of letting new_command_buffer hang when encoders are leaked.
- Share the counter across queue/encoders and decrement on submit or discard after clearing the raw command buffer so drop happens before the bookkeeping update.

Fixes #3084, #8047.

---------

Co-authored-by: Andy Leiserson <aleiserson@mozilla.com>
2026-03-16 15:44:12 -07:00
Connor Fitzgerald 384b7bb027 Update codespan-reporting to 0.13 (#9243) 2026-03-16 21:52:58 +00:00
Erich Gubler 4d13af7a1a test(CHANGELOG): allow deletion up to released (#9246) 2026-03-16 20:53:42 +00:00
Erich Gubler c1618ce367 feat(webgpu): recognize float32-blendable feature (#9103) 2026-03-16 19:20:06 +00:00
Andy Leiserson 6604345c2e fix(naga msl-out): Fix invalid MSL when vertex data and shader type are both f16 (#9166) 2026-03-16 13:03:58 -06:00
ecoricemonandConnor Fitzgerald cbc20f698c fix(naga): Check domain and overflow in const-eval (#9224)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-16 11:22:30 -06:00
renovate[bot]andConnor Fitzgerald f778c388be chore(deps): update dependencies (#9240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-16 17:12:12 +00:00
Luo Zhihao fff3d25eb1 Docs: Clarify Unorm8x4Bgra and Unorm10_10_10_2 vertex formats (#9241) 2026-03-16 11:50:52 -04:00
Andreas ReichandConnor Fitzgerald ffc2db03b6 Changelog fixes (#9234)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-16 11:11:34 -04:00