Andy Leiserson
f888eab831
[ci] Key CTS job caches to the CTS version ( #8476 )
2025-11-05 14:54:01 -05:00
Jim Blandy
2e34322f9a
[naga] De-indent mainline control flow in interface validation. ( #8359 )
...
In `naga::valid::interface::VaryingContext::validate`, use `let else`
instead of `match`, to promote the main flow of control to a lower
indentation level, and move error reporting closer to the check that
failed.
2025-11-05 13:45:38 -05:00
Marijn Suijten
59a03eaf2f
[d3d12 wgl] Upgrade to windows 0.62 crates ( #6876 )
...
* [d3d12 wgl] Upgrade to `windows 0.59` crates
https://github.com/microsoft/windows-rs/releases/tag/0.61.0
The latest `windows 0.59` and `windows-core 0.59` crates were
just released (strangely tagged `0.61`), including some minor code
improvements for us. The MSRV has been bumped to `1.74`, but `wgpu` is
already on `1.76` anyway.
* [d3d12 wgl] Upgrade to `windows 0.61` crates
https://github.com/microsoft/windows-rs/releases/tag/63
* [d3d12 wgl] Upgrade to windows 0.62 crates
https://github.com/microsoft/windows-rs/releases/tag/69
2025-11-05 11:47:31 -05:00
renovate[bot]
cb2edd2915
Update crate-ci/typos action to v1.39.0 ( #8466 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2025-11-05 16:35:03 +00:00
Connor Fitzgerald
71b5fb0ad9
Update WARP ( #8444 )
2025-11-04 23:57:49 -05:00
Tim Evans
ccc650fd0a
Added missing aspect field in map_texture_copy_view. ( #8445 )
...
Co-authored-by: Tim Evans <tim.evans@aranzgeo.com>
2025-11-04 15:35:45 -05:00
Inner Daemons
80c4468492
Try to fix occasional CI failures caused by #8345 (mipmap-query) ( #8472 )
...
* Try to fix Occasional CI failures on wgpu-examples [Executed] [Vulkan/llvmpipe (LLVM 18.1.3, 256 bits)/0] mipmap-query
Fixes #8345
2025-11-04 15:34:58 -05:00
Kevin Reid
2a58599dc4
Replace noop waker implementation with Waker::noop().
...
The MSRV of `wgpu` is currently 1.88, so we can use `Waker::noop()`,
which was stabilized in 1.85.
2025-11-03 16:05:41 -08:00
renovate[bot]
abff8ae375
Update cts digest to 964a0b4 ( #8465 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 16:04:27 -08:00
renovate[bot]
f319ca8bab
Update Cargo.lock ( #8469 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 23:48:22 +01:00
Kevin Reid
6560412a52
Make StagingBelt own the Device it uses.
...
This means that usage of a `StagingBelt` only requires passing along
the current `CommandEncoder` instead of both the encoder and the device.
It also makes the API reflect the fact that a `StagingBelt` cannot be
reused with a fresh device.
As far as I know, the only reason this was not done previously was that
`Device` was not clonable, and so doing this would have required an
`Arc<Device>` or other specific mechanism.
2025-11-01 21:43:48 -04:00
Inner Daemons
ad0f3111b7
Add multiview limits and tests ( #8206 )
...
Co-authored-by: Andreas Reich <r_andreas2@web.de>
Co-authored-by: Magnus <85136135+SupaMaggie70Incorporated@users.noreply.github.com>
2025-11-01 12:08:15 +00:00
Kevin Reid
5633ae8649
Show command encoder label in validation errors.
...
The plumbing to get it out of `wgpu_core` is awkward but I didn’t see
a clearly better option. I think it would make sense to have something
like `Global::get_label<T>(id: Id<T>) -> String` but that looks like a
lot more work.
2025-10-31 13:03:55 -04:00
Kevin Reid
586b344719
Fix CHANGELOG headings/organization.
2025-10-31 13:03:55 -04:00
Kevin Reid
85fb959d20
Correct documentation of alignment/size requirements for buffer mapping.
...
The documentation previously claimed that the end point must be aligned
to `MAP_ALIGNMENT` = 8, but in fact it only needs to be aligned to 4.
Also fixed `map_buffer_on_submit()` referring to “this slice” instead of
“`bounds`”.
2025-10-31 11:54:46 -04:00
Kevin Reid
da927daf82
StagingBelt: add a test and document slice size requirements.
...
* Add documentation that every `allocate()` or `write_buffer()`
operation must have a size that is a multiple of 4.
* Add assertions for those properties (this gives more helpful panics
than leaving it to validation).
* Add a randomized test to exercise usage of StagingBelt.
I was concerned that `StagingBelt` might have an alignment math bug;
having written this test, I am much less concerned. There was previously
no test for `StagingBelt` at all, if you don’t count examples/skybox.
2025-10-31 11:53:46 -04:00
Connor Fitzgerald
a682d9e15a
Update desired_maximum_frame_latency documentation ( #8421 )
2025-10-30 13:57:52 +01:00
Andy Leiserson
c6dc8eeac5
Remove get_buffer alias of resolve_buffer_id
2025-10-30 13:52:58 +01:00
Andy Leiserson
5ac2ed19cb
Fix serde feature gating
2025-10-30 13:52:58 +01:00
Andy Leiserson
c501ef68df
Remove stale attributes
2025-10-30 13:52:58 +01:00
Andy Leiserson
a60e71c765
Clarify comment about Arc::as_ptr
2025-10-30 13:52:58 +01:00
Andy Leiserson
50a26133ec
Remove redundant device validity check and inaccurate comment
2025-10-30 13:52:58 +01:00
Andy Leiserson
9d0fd2153b
Condition macro_rules_attribute dev-dependency on serde feature
2025-10-30 13:52:58 +01:00
Andy Leiserson
242c49f90d
Fix get_mapped_range duplication
2025-10-30 13:52:58 +01:00
Andy Leiserson
41dc177c5b
Fix Free* operations
2025-10-30 13:52:58 +01:00
Andy Leiserson
2d699295ce
Restore PointerId(...) serialized representation
2025-10-30 13:52:58 +01:00
Andy Leiserson
19e57d3b44
Fix debugger capture
2025-10-30 13:52:58 +01:00
Andy Leiserson
1be2ce6190
Clean up device poll API
2025-10-30 13:52:58 +01:00
Andy Leiserson
07ce023cf1
Replay traces with pointers as IDs
2025-10-30 13:52:58 +01:00
Andy Leiserson
67da4cbc03
Store pointers instead of IDs when tracing (2/2)
...
This updates non-pass command encoder operations and device operations.
2025-10-30 13:52:58 +01:00
Andy Leiserson
e584f382e0
Store pointers instead of IDs when tracing (1/2)
...
This updates pass operations.
The trace player is temporarily broken.
2025-10-30 13:52:58 +01:00
Andy Leiserson
a502e73c1d
Create submodule of device::trace for recording support
2025-10-30 13:52:58 +01:00
Andy Leiserson
5798a443d2
Add ReferenceType trait for command structures
...
Use it to deduplicate some `Foo` / `ArcFoo` / `TraceFoo` definitions.
2025-10-30 13:52:58 +01:00
Andy Leiserson
c0cce5973c
Move start/stop debugger capture out of Global
2025-10-30 13:52:58 +01:00
Andy Leiserson
73d1334ba3
Move surface_configure out of Global
2025-10-30 13:52:58 +01:00
Andy Leiserson
21ea8f2979
Move set_buffer_data and get_mapped_range out of Global
2025-10-30 13:52:58 +01:00
Vecvec
f314b1611a
Lower blas_max_primitve_count ( #8446 )
2025-10-29 23:03:34 -04:00
Connor Fitzgerald
098f320f81
Update VulkanSDK ( #8443 )
2025-10-29 21:52:45 -04:00
Connor Fitzgerald
42dc809e8b
Update DXC ( #8441 )
2025-10-29 17:29:45 -04:00
Inner Daemons
bf9f7524ec
Add mesh shading info to naga IR ( #8104 )
...
Co-authored-by: Jim Blandy <jimb@red-bean.com>
Co-authored-by: SupaMaggie70Incorporated <85136135+SupaMaggie70Incorporated@users.noreply.github.com>
2025-10-29 14:49:51 -04:00
Mikołaj Radkowski
e7fcb94888
Make multi-planar textures renderable ( #8307 )
2025-10-29 13:33:48 -04:00
atlv
7a2afeb014
fix(vulkan): remove atomic memory semantics ( #8391 )
2025-10-29 13:21:56 -04:00
atlv
ddcd89fd69
Implement shader barycentrics ( #8320 )
2025-10-29 13:15:21 -04:00
Erich Gubler
54beef8aca
typo: TransferError:InvalidMipLevel: s/does no/does not/ ( #8437 )
2025-10-28 21:11:17 +01:00
renovate[bot]
d8f97261d2
chore(deps): update cargo.lock ( #8435 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-27 11:59:42 +01:00
renovate[bot]
6ae3ee569f
chore(deps): update cts digest to 3f7ca40 ( #8433 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-27 11:59:22 +01:00
renovate[bot]
e4e89feeed
chore(deps): update actions/upload-artifact action to v5 ( #8434 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-27 11:58:55 +01:00
Connor Fitzgerald
ef1d31955a
Factor out swapchain to abstracted interface ( #8356 )
2025-10-26 22:02:40 -04:00
charlotte 🌸
0810110bd7
Add pci bus and device uuid to AdapterInfo ( #8290 )
2025-10-24 11:53:44 -04:00
Friz64
982a2100f4
Delete .envrc ( #8428 )
2025-10-24 10:25:57 -04:00