Luo Zhihao
c841633bb3
Bring transient attachment in line with webgpu spec ( #9568 )
2026-06-18 18:28:52 -07:00
Sam
c29a05d6dd
fix(core): Deferred query set destruction ( #9704 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-06-18 14:39:08 -07:00
Andy Leiserson
336cda7372
fix(core): Deferred query set destruction ( #9697 )
2026-06-18 14:31:16 +02:00
Teoxoy
ab33a724dc
[wgpu-core] add query set initialization tracking
...
Vulkan, D3D12 and Metal require slots of query sets to
have been written prior to resolving them into a buffer.
2026-06-17 11:53:01 -07:00
Sam
f9b4657c9f
[tracing] Rename Destroy* -> Drop* and Free* -> Destroy* to match wgc and spec ( #9691 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-06-17 15:24:22 +00:00
Sam
019bce9139
Implement QuerySet::destroy ( #9671 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-06-16 12:37:11 +02:00
5unekku and 5unekku
9ffe3c64f4
wgpu-core: use partition_point in triage_submissions (O(n) → O(log n)) ( #9631 )
...
Co-authored-by: 5unekku <@5unekku>
2026-06-15 16:11:24 -04:00
Andy Leiserson
0c78336958
Require full initialization of buffers used in dynamic offset bindings ( #9628 )
2026-06-03 18:26:31 +00:00
Andy Leiserson
560b763f64
fix(core): Correctly track texture init state after writing one aspect
2026-06-03 19:33:29 +02:00
5unekku and 5unekku
ac0f6bd351
wgpu-core: enable is_sorted_by_key debug assert in triage_submissions ( #9630 )
...
Co-authored-by: 5unekku <@5unekku>
2026-06-03 17:51:08 +02:00
Vecvec
a1fceed071
Move fence synchronisation into wgpu-hal ( #9475 )
2026-05-28 14:49:12 -07:00
Andy Leiserson
fc1aa76bad
fix(core): Don't use {buffer,texture}_init_actions for usage tracking
...
Fixes #9576
2026-05-25 10:48:20 +02:00
Andy Leiserson
d1e15bc3d3
refactor(core): Rename used_*_ranges to *_init_actions
2026-05-25 10:48:20 +02:00
AdrianEddy
6208d80934
Add an explicit initial_state to create_texture_from_hal ( #9496 )
...
This is a breaking change for users of the low-level `create_texture_from_hal` API.
2026-05-12 16:59:56 -07:00
Andy Leiserson
6469861478
Small optimization to prepare_surface_texture_for_submit ( #9473 )
2026-05-08 13:39:47 -07:00
Andy Leiserson
54bf53eb11
fix(core): Check for device loss on all submit paths ( #9478 )
2026-05-06 19:06:19 +02:00
Jim Blandy
64394cc73a
Invoke the mapping callback even if the buffer is invalid. ( #9513 )
2026-05-06 08:19:12 -07:00
Andy Leiserson
e1e4bb1a14
fix(core): Flush pending writes before mapAsync, if needed
...
Fixes #5173
2026-04-29 10:24:42 -07:00
Andy Leiserson
0aaa7ff4b1
fix(core): Flush pending writes in on_submitted_work_done
2026-04-29 10:24:42 -07:00
Andy Leiserson
8e9f7e572b
refactor(core): Make submit_with_pending_writes more general
...
Extend the command_index lock through submission
2026-04-29 10:24:42 -07:00
Andy Leiserson
78c90239c1
chore(core): Remove an unused error variant
2026-04-29 10:24:42 -07:00
Andy Leiserson
90dd7435e9
fix(core): Don't overlap QUEUE_PENDING_WRITES and QUEUE_LIFE_TRACKER locks
2026-04-22 14:36:17 -04:00
Andy Leiserson
458d310916
docs: Update lock graph
...
Related to #5572
2026-04-22 14:36:17 -04:00
Andy Leiserson
07a7dd4454
refactor(core): Eliminate buffer mapping logic in Global ( #9444 )
2026-04-21 16:50:55 +02:00
Andy Leiserson
61e76ee746
fix(core): Use more checked arithmetic, part 2b ( #9425 )
2026-04-16 14:27:01 +02:00
teoxoy
4bbed4074c
add max_bind_groups_plus_vertex_buffers limit
2026-04-14 17:20:15 -07:00
teoxoy
2060683c29
make vertex buffer slots optional
2026-04-14 17:20:15 -07:00
atlas
20f5c7430e
fix(core): use wait_for_idle instead of timeout loop to wait for present in Queue drop
2026-04-14 10:51:03 +02:00
atlas
4c61d61361
fix(core): Keep surface texture alive through present preparation
2026-04-14 10:51:03 +02:00
atlas
12ab856f6c
feat(core): Move present from Surface to Queue
2026-04-14 10:51:03 +02:00
atlas
c662f2a595
refactor(core): Factor out submit_pending_writes from Queue::submit
2026-04-14 10:51:03 +02:00
Erich Gubler
10ce22b2ea
refactor!: subvert-rename dispatch* to dispatchWorkGroups* ( #9362 )
2026-04-11 20:58:22 +02:00
Andy Leiserson
2640d038e2
fix(core): Allow calling RenderBundleEncoder::new without a device ( #9404 )
2026-04-10 12:57:11 +02:00
atlv
e6e5f5288c
Bring immediate in line with webgpu spec ( #9280 )
2026-04-09 22:36:02 +00:00
Andy Leiserson
acc5855e1f
fix(core): Use more checked arithmetic, part 2 ( #9363 )
2026-04-09 15:21:20 -06:00
Genna Wingert
2ac1faef05
feat(core): Add ComputePass::transition_resources ( #9371 )
2026-04-09 09:42:55 -04:00
Inner Daemons and Connor Fitzgerald
8bc9fc1795
Add GLSL passthrough ( #9064 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-04-08 22:03:34 -04:00
Ali
65a5c2b3bc
fix Queue::writeBuffer : raise a validation error for out-of-bounds transfers on zero-size buffers ( #9374 )
2026-04-08 16:03:13 +00:00
Inner Daemons and Andreas Reich
b5bd5aed7d
Mesh shaders MSL writer ( #8739 )
...
* Single squashed commit
* Updated changelog
* Fixed stupid changelog thing
* If I have to do this one more fucking time I'm gonna lose it
* Removed some pub(super)'s
* Thing
---------
Co-authored-by: Andreas Reich <r_andreas2@web.de >
2026-04-07 17:26:22 +00: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
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
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
Andy Leiserson
da19f17121
fix(core): Add validation in create_render_bundle_encoder ( #9289 )
2026-03-27 14:33:10 +01: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
Andy Leiserson
9a3bba6962
feat(tracing): Trace failed create_*_pipeline calls ( #9209 )
2026-03-18 19:17:13 +01: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
Niklas Eicker and Connor Fitzgerald
62c2f5da97
Move ordered usages to hals ( #8924 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-03-15 03:23:32 +00:00
atlv
c4c623fb45
wgpu-naga-bridge ( #9201 )
2026-03-13 11:09:12 -04:00
atlv
9ed77372b4
Add coherent and volatile memory decorations for storage buffers. ( #9168 )
2026-03-11 19:53:52 -04:00