Commit Graph
10448 Commits
Author SHA1 Message Date
Erich Gubler 105a8a2454 refactor(core): import naga::Builtin 2026-03-19 18:40:46 -06:00
Inner Daemons b910720048 Add render_with_compute example (#9211) 2026-03-20 00:13:12 +00:00
Erich Gubler b7de7886b4 refactor: use plural "clip distances" for cross-platform layers (#9267) 2026-03-19 23:19:33 +00:00
Connor Fitzgerald 94ee0de5dc Improve release steps (#9263) 2026-03-19 18:57:17 -04:00
Erich Gubler d29383b814 fix(core): implement value comparison for Limits::max_inter_stage_shader_variables (#9264) 2026-03-19 21:29:23 +00: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
renovate[bot] 71706c3d5d chore(deps): update cts digest to e9adcf8 (#9237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 13:50:44 +00:00
Chris Biscardi 252ef09792 move WriteOnly to wgpu-types (#9236)
* move WriteOnly to wgpu-types

* un-pub mod, because pub use * is already in play

* fixup doctests

* link to wgpu items
2026-03-16 08:37:17 -04:00
Inner DaemonsandAndreas Reich 96b7872f77 Fix local_invocation_id and local_invocation_index handling (#9099)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-03-15 20:25:19 +00:00
OpsticandAndreas Reich e682ce3f29 Enable use of GL_EXT_multisampled_render_to_texture extension for OpenGL backend (#8536)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-03-15 20:08:08 +00:00
Niklas EickerandConnor Fitzgerald 62c2f5da97 Move ordered usages to hals (#8924)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-03-15 03:23:32 +00:00
Andy Leiserson e80dc8decf Annotate expected failures on Metal, MoltenVK, and KosmicKrisp (#9188) 2026-03-14 22:41:20 -04:00
Andy Leiserson 3899edce8c refactor(metal): MTLCommandQueue is thread-safe (#9217) 2026-03-14 22:31:57 -04:00
Vecvec 50a4eaa75c [vulkan] Offset AccelerationStructureGeometryTrianglesDataKHR::vertex_data instead of using first_vertex (#9220) 2026-03-14 22:30:09 -04:00
Kevin Reid 70a1ffdef8 Move WriteOnly to major changes section of the changelog. (#9231) 2026-03-14 22:29:41 -04:00
John TurandConrad Irwin e66813a88e Fix OpenGL robustness fallback when the robustness extension is unsupported (#9153)
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2026-03-14 22:29:14 -04:00
atlv ac62b9abed Add MTL Version3_2 (#9223) 2026-03-14 23:10:19 +00:00
Andy Leiserson b559ace80e Waive failing test on dx12 (#9227)
See #9226
2026-03-14 21:44:37 +00:00
Inner Daemons 41f7c288de Added fix and regression test for primitive id on FXC (#9218) 2026-03-13 23:51:03 +01:00
Andy Leiserson ca3239e689 chore!: Move PRIMITIVE_INDEX feature into the WebGPU group (#9101)
Enable relevant CTS tests.
2026-03-13 13:52:14 -07:00
teoxoy d8ec0708ab add changelog entry 2026-03-13 16:24:43 +01:00
teoxoy 83c906f99f [hal] add missing WebGPU adapter capability guarantees 2026-03-13 16:24:43 +01:00