Commit Graph
10530 Commits
Author SHA1 Message Date
Erich Gubler 8ba90cc2e9 chore(deps): upgrade typewit 1.14.2 → 1.15.1 2026-04-07 18:27:37 +02:00
Erich Gubler dea1b8e443 chore(deps): upgrade writable 0.6.2 → 0.6.3 2026-04-07 18:27:37 +02:00
Erich Gubler 28c11b3be9 chore(deps): upgrade zerofrom 0.1.6 → 0.1.7 2026-04-07 18:27:37 +02:00
Erich Gubler 92bf96b533 chore(deps): upgrade semver 1.0.27 → 1.0.28 2026-04-07 18:27:37 +02:00
Erich Gubler 4f0572bd60 chore(deps): upgrade tokio crates 2026-04-07 18:27:37 +02:00
Erich Gubler 141bed39fb chore(deps): upgrade Wayland-related crates 2026-04-07 18:27:37 +02:00
Erich Gubler e0cb36675b chore(deps): upgrade TOML-related crates 2026-04-07 18:27:37 +02:00
Erich Gubler e826e8c8f8 chore(deps): update icu_* crates 2026-04-07 18:27:37 +02:00
Erich Gubler 5ef05480d2 chore(deps): upgrade libc 0.2.183 → 0.2.184 2026-04-07 18:27:37 +02:00
Erich Gubler 97e196940f chore(deps): upgrade indexmap 2.13.0 → 2.13.1 2026-04-07 18:27:37 +02:00
Erich Gubler 8a3474f9d7 chore(deps): upgrade tinystr 0.8.2 → 0.8.3 2026-04-07 18:27:37 +02:00
Erich Gubler 389893df54 chore(deps): upgrade zerotrie 0.2.3 → 0.2.4 2026-04-07 18:27:37 +02:00
Erich Gubler 90ee3ae0f7 chore(deps): upgrade zerovec 0.11.5 → 0.11.6 & deps 2026-04-07 18:27:37 +02:00
Erich Gubler d435526983 chore(deps): update cc 1.2.58 → 1.2.59 2026-04-07 18:27:37 +02:00
Emil Ernerfeldt fe725d6df0 Return helpful error when WebGPU is disabled (#9319) 2026-04-07 18:18:35 +02:00
Ali 74827c4181 Implements #9176 : [[max_total_threads_per_threadgroup]] MSL attribute (#9327)
* Implements #9176 : `[[max_total_threads_per_threadgroup]]` MSL attribute

* introduced `DownlevelFlags::MSL2_1`
2026-04-07 11:40:13 +02:00
Andy Leiserson 0d71ee7622 chore(deps): Add changelogUrl to CTS renovate config (#9381) 2026-04-06 17:09:24 -06:00
renovate[bot] 14d92004e1 chore(deps): update cts digest to c378a32 (#9375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-06 14:40:17 -07:00
dnsn021anddongsong 3a8b7eaf05 fix(naga): validate @must_use usage on non-function declarations (#9367)
---------

Co-authored-by: dongsong <dongsong@pkpm.com.cn>
2026-04-03 17:20:04 +00:00
Kristoffer Søholm 41bb9cbd25 Fix validation for bindings with different sizes (#9341) 2026-04-02 18:01:28 -07:00
Ali c58092266e fixed incorrect packed_int3 conversion generated for Metal (#9355) 2026-04-02 13:29:04 -06:00
Brendon Daugherty 1080b4faf3 fix(wgsl-in): Handle Unterminated Block Comments (#9356) 2026-04-02 13:26:21 -06:00
e46eda2e4f Full per_vertex implementation (#9219)
* Some stuff worked on

* Works on MSL

* Ready for test 2

* Fix for a thing lol

* Fixed 2 errors

* Fixed DXC

* Add changelog

* Updated CI to hopefully pass on macOS

* Various fixes

* Some final fixes

* CHanged CI

* Update naga/src/front/wgsl/parse/directive/enable_extension.rs

Co-authored-by: atlv <email@atlasdostal.com>

* Thing

---------

Co-authored-by: atlv <email@atlasdostal.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-02 05:33:42 +00:00
Elabajaba e8afd9a906 fix debug assertion not covering both parts of the debug statement (#9352) 2026-04-01 19:56:14 -06:00
Andy Leiserson 11db97cf1b fix(core): Use more checked arithmetic (#9357) 2026-04-01 15:23:21 -07:00
Dylan Blokhuis 438ed2a7ce feat(core): support building custom geometry BLAS (#9290) 2026-04-01 20:55:22 +13:00
Kristoffer Søholm fd04edc0ac Fix bad debug_assert in dx12 indirect multi draw (#9332) 2026-03-31 13:46:25 -04:00
TornaxO7 514cff91db refactor: export TextureChannel (#9349)
* refactor: export `TextureChannel`

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

* format: apply `cargo fmt`
2026-03-31 13:09:51 -04:00
Andy Leiserson e14050d7db fix(core): Fix resource usage for R/O depth w/o TEXTURE_BINDING (#9346)
* fix(core): Fix resource usage for R/O depth w/o TEXTURE_BINDING

Fixes #9343

* Update test and waive failure

Related to #5231

* changelog
2026-03-31 17:02:11 +02:00
renovate[bot]andErich Gubler be1a7114ed chore(deps): update cargo.lock (#9336)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-03-30 20:30:44 +00:00
Teodor Tanasoaia 3909348d0d [d3d12] prefix enum variants with V instead of _ (#9337) 2026-03-30 18:03:40 +00:00
Teodor Tanasoaia b332c00043 [wgpu-core] set exclusive pipeline for empty BGLs returned by .get_bind_group_layout() (#9338) 2026-03-30 13:47:17 -04:00
renovate[bot] bfe5f5690e chore(deps): update codecov/codecov-action action to v6 (#9335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-30 12:29:46 -04:00
renovate[bot] 4eb6c34c20 chore(deps): update rust crate ctor to 0.8 (#9334)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-30 12:28:18 -04:00
Andy Leiserson 59c0c54029 Fix minor issues with @size attribute (#9322)
* test(cts): List updates

* fix(naga): Disallow @size on dynamically-sized arrays

* fix(naga): Increase MAX_TYPE_SIZE to i32::MAX
2026-03-30 16:56:09 +02:00
Mohamed Taha GUELZIM 55093bf2d1 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-03-30 15:52:33 +02:00
Kristoffer Søholm f5bc1ffb06 Fix wrong binding array sampler limit in dx12 (#9330) 2026-03-29 16:36:10 -04:00
John Tur 5ccf829118 Add XCB display handle support to EGL backend 2026-03-28 12:59:19 +01:00
Kevin Reid ede73935b3 Make more WriteOnly methods const.
In particular, conversions to and from pointers and references are now const.
This allows constructing `WriteOnly::from_mut(&mut [])` in const eval, which
may be useful for applications wishing to have constant empty values.

I can’t think of a reason to actually write through a `WriteOnly` in const,
but we might as well allow the amount of it we can, too.
2026-03-28 12:29:09 +01:00
Andy Leiserson da19f17121 fix(core): Add validation in create_render_bundle_encoder (#9289) 2026-03-27 14:33:10 +01:00
Andrew Wason 5bc99d51b7 Add support for RawWindowHandle::Drm/RawDisplayHandle::Drm to unix Vulkan (#9182) 2026-03-26 18:15:01 -04:00
Erich Gubler ae87ffe280 docs(CHANGELOG): sync 29.0.1 entries (#9315) 2026-03-26 15:33:49 -04:00
Erich Gubler fd2fa777b2 fix(core): create_bind_group: sort dynamic_binding_info (#9308)
`create_bind_group` populates the `BindGroup::dynamic_binding_info`
field in the order the user specified. This later gets consumed by
validation in passes and bundles `BindGroup::validate_dynamic_bindings`,
in which `dynamic_binding_info` is assumed to be sorted in binding
order. Eek! We're validating the wrong dynamic binding bounds!

Fix this by sorting `dynamic_binding_info` before it gets put into
a `BindGroup`. Document the field with the invariant that it _must_ be
sorted according to binding index order.
2026-03-26 18:52:10 +00:00
Ali 89e86c5f9c fix(cts xtask): Parse Apple git version (#9314)
Fixes #9313
2026-03-26 17:16:42 +00:00
Ali a071a4d5aa Fixes #9283 : firstLeadingBit returns signed semantics result instead… (#9299)
* Fixes #9283 : firstLeadingBit returns signed semantics result instead of unsigned for u32 input 0xFFFFFFFF on Metal backend

* updates snapshots

* added  to passing tests
2026-03-26 14:46:43 +01:00
cui a58f51a256 fix(naga): report offending index in IndexOutOfBounds for AccessIndex (#9312) 2026-03-26 11:34:21 +01:00
cui ce433776b5 fix(types): remove duplicate max_texture_dimension_1d in with_limits! (#9311) 2026-03-26 11:32:04 +01:00
Erich Gubler c04119adf1 test(ci): enforce fmt. of *.{md,js,html,yml} with prettier 3.8.1
This actually may enforce the format of other files than these, but we
don't use them, so far as I'm aware. If we want to opt out of other
formats later, that's what `.prettierignore` is for.
2026-03-25 12:46:54 -06:00
Erich Gubler da87026797 style: run prettier --write . 2026-03-25 12:46:54 -06:00
Erich Gubler 6bf3c15b7a chore: add config. for prettier 2026-03-25 12:46:54 -06:00