Andy Leiserson
4a91c7fc6c
Ensure the limit for storage binding size honors alignment ( #8719 )
2025-12-15 12:42:17 -05:00
Lucas Abel
17ebb2a656
[core] Queue::drop is acquiring the snatch guard as well ( #8691 )
2025-12-15 11:59:24 -05:00
Erich Gubler
a35e5a28c1
feat(core): add Global::create_bind_group_layout_error ( #8650 )
2025-12-11 19:56:09 +00:00
Andy Leiserson
500e2baedf
Enable CTS suite api,validation,encoding,cmds,compute_pass ( #8698 )
2025-12-09 18:54:51 -05:00
Andy Leiserson
422d539731
Add missing maxColorAttachmentBytesPerSample validation for render passes ( #8697 )
2025-12-09 13:32:57 -08:00
Andy Leiserson
d6ca9462e4
Fix panic if indirect buffer has been destroyed ( #8689 )
2025-12-08 21:17:52 -05:00
Andy Leiserson
1ddb5f25c2
Fix early out placement for CopyB2T ( #8690 )
2025-12-08 21:17:07 -05:00
Teodor Tanasoaia
d41e43bc60
[wgpu-core] validate occlusion and pipeline statistics queries end ( #8684 )
2025-12-08 18:42:26 +01:00
Andy Leiserson
51490ea45a
[naga] Add capabilities governing binding array types ( #8671 )
2025-12-08 17:11:03 +01:00
Connor Fitzgerald
136edde52a
Widen checks for the creation of the indirect validator
2025-12-08 12:26:45 +01:00
Connor Fitzgerald
e3149bac9e
LoadOp::DontCare ( #8549 )
2025-12-08 03:41:38 +00:00
Connor Fitzgerald
a356cb2026
Update Repo MSRV to 1.91 ( #8678 )
2025-12-07 21:52:35 -05:00
Layl
21e6143ed0
Add MULTISAMPLE_ARRAY feature flag. ( #8571 )
2025-12-05 18:31:05 +01:00
Connor Fitzgerald
d85408afb2
Remove hold of snatch write lock during present ( #8608 )
2025-12-05 10:44:04 -05:00
Connor Fitzgerald and JMS55
9a41de4e96
Move subgroup size info to AdapterInfo ( #8609 )
...
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com >
2025-12-04 17:01:56 +00:00
Connor Fitzgerald
5895de82b5
Rename push constants to immediates ( #8586 )
2025-12-01 15:20:02 +01:00
Connor Fitzgerald
dc01e6e213
Normalize logging levels ( #8579 )
2025-11-27 10:55:02 +01:00
Andy Leiserson
0cd4d31d45
Add some comments relating create_texture validation to the spec ( #8569 )
...
Fixes #8568
2025-11-26 18:17:47 +01:00
Andy Leiserson
7985f571be
Adjust the placement of the zero size check for some texture copies ( #8567 )
2025-11-26 18:12:47 +01:00
Andy Leiserson
6043b059c4
Tweak error behavior for unbalanced passes, and update CTS ( #8543 )
2025-11-18 11:18:17 -05:00
Andy Leiserson
71820eef20
Fix performance regression in bind group processing ( #8519 )
2025-11-14 00:10:42 -05:00
a05c70cef7
WGSL parsing for mesh shaders ( #8370 )
...
Co-authored-by: Jim Blandy <jimb@red-bean.com >
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
Co-authored-by: SupaMaggie70Incorporated <85136135+SupaMaggie70Incorporated@users.noreply.github.com >
2025-11-12 21:06:20 -05:00
Connor Fitzgerald
f14458b067
Improve late buffer binding size error ( #8484 )
2025-11-07 03:21:25 +00:00
Andy Leiserson
a2db631672
Fix clamping at minimal render extent ( #8486 )
...
This was a regression introduced by #8307 .
For mipmapped multi-planar textures, requires that the size is a
multiple of a power of two determined by the mip level count, in lieu
of properly aligning the size of each mip level to an even
dimension. See #8491 .
(The failure referred to by "fails due to missing validation" was
fixed before the regression, by #8402 , but was not identified as fixed
and added to the test list at that time.)
2025-11-06 17:56:18 -08:00
Erich Gubler
e2e4651ecb
fix(core): validate that buffer is unmapped in write_buffer calls
2025-11-05 16:12:58 -05:00
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
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
2d699295ce
Restore PointerId(...) serialized representation
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
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
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
charlotte 🌸
0810110bd7
Add pci bus and device uuid to AdapterInfo ( #8290 )
2025-10-24 11:53:44 -04:00
Erich Gubler
e65468ec6a
chore: s/allow/expect for clippy::collapsible_if ( #8425 )
2025-10-23 18:34:41 -04:00
Andy Leiserson
3ca6a1c0df
Defer some bind group processing until draw/dispatch
...
This allows us to save some work when a bind group is replaced,
although WebGPU still requires us to fail a submission if any
resource in any bind group that was ever referenced during
encoding is destroyed.
Fixes #8399
2025-10-23 14:59:25 +02:00