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
dnsn021 and dongsong
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] and Erich 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
Erich Gubler
d909e7d7e5
chore: ignore deno_webgpu's JS files
2026-03-25 12:46:54 -06:00
Andy Leiserson
ae41c3841d
test(cts): List updates ( #9305 )
2026-03-25 18:30:43 +00:00
ecoricemon
96675e5215
fix(naga): Reject direct access to atomic variables ( #9262 )
...
* fix(naga): Reject direct access to atomic variables
* resolve CHANGELOG conflict
* chore: Update CTS list
2026-03-25 18:23:34 +01:00
Erich Gubler
05cac6d190
docs(CHANGELOG): fix up links in unreleased entries ( #9303 )
2026-03-25 17:10:15 +00:00
Erich Gubler
f08572729c
diag(core): parenthesize "s" in TooMany{MipLevels,ArrayLayers} msg.
2026-03-25 13:06:23 -04:00
Erich Gubler
99ffaea4cd
fix(core): don't crash when end bound calc. of TooMany{MipLevels,ArrayLayers} overflows
2026-03-25 13:06:23 -04:00
Erich Gubler
591ad3ddfc
diag(core): add backticks for code-like things in TooMany{MipLevels,ArrayLayers}
2026-03-25 13:06:23 -04:00
Umaĵo
83923e0e29
fix(gles): texture height initialized incorrectly in create_texture ( #9302 )
2026-03-25 15:48:15 +00:00
Rob and Jim Blandy
73600f11d7
Add no_std support for the naga/wgsl-in feature ( #9055 )
...
* add no_std support for naga/wgsl-in
* simplify emit_to_string_with_path signature to use &str instead of std::path::Path
* inline hexf-parse
* update Cargo.lock and .deny.toml
* Do provide full path in snapshot error messages.
---------
Co-authored-by: Jim Blandy <jimb@red-bean.com >
2026-03-25 08:12:33 -07:00
Andy Leiserson
9c5adb73a7
fix(types): Check that with_limits! is exhaustive ( #9294 )
2026-03-24 20:54:40 +00:00