teoxoy
d830aab910
add close_and_insert_at to InnerCommandEncoder
2026-06-17 11:53:01 -07: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
Sam
f308f06443
[core] Make ComputePassDescriptor and RenderPassDescriptor ser/de ( #9666 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-06-15 15:08:13 +02:00
teoxoy
45f820a4ad
disallow LoadOp::DontCare under STRICT_WEBGPU_COMPLIANCE
2026-06-03 23:36:32 +02:00
Teoxoy
31d22915be
[indirect-draw-validation] don't attempt indirect draw validation for mesh shaders since it's not supported
2026-06-03 22:43:37 +02:00
AdrianEddy
d73c7560b4
fix(dx12): Handle multi-planar formats in texture copy operations ( #9551 )
2026-06-03 19:52:20 +02:00
Andy Leiserson
560b763f64
fix(core): Correctly track texture init state after writing one aspect
2026-06-03 19:33:29 +02:00
Luo Zhihao
8b7e9edcdb
Mask stencil clear value and reference value with 255 ( #9607 )
2026-06-02 17:09:58 +00:00
Luo Zhihao and Erich Gubler
a7e0298dc5
Validate LoadOp and StoreOp are None for attachments without corresponding depth or stencil aspect ( #9567 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-05-29 11:28:50 -04:00
Andy Leiserson
d1e15bc3d3
refactor(core): Rename used_*_ranges to *_init_actions
2026-05-25 10:48:20 +02:00
Andy Leiserson
61e76ee746
fix(core): Use more checked arithmetic, part 2b ( #9425 )
2026-04-16 14:27:01 +02:00
teoxoy
c9c7359f5b
deduplicate vertex buffer validation in is_ready
2026-04-14 17:20:15 -07:00
teoxoy
a1b646243d
converge on a single VertexState impl for both render passes and
...
render bundles
- render passes now defer setting vertex buffers to the start of a draw
command (same as bundles)
- render bundles now cache vertex/instance limit calculations when
setting the pipeline or when setting a vertex buffer (same as passes)
2026-04-14 17:20:15 -07:00
teoxoy
a9a641c82a
remove PipelineState from bundle
2026-04-14 17:20:15 -07: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
Erich Gubler
10ce22b2ea
refactor!: subvert-rename dispatch* to dispatchWorkGroups* ( #9362 )
2026-04-11 20:58:22 +02:00
Teodor Tanasoaia
f7b650d55c
[wgpu-core] fix potential crash when device is not supplied to validate_render_bundle_encoder_descriptor ( #9407 )
2026-04-10 19:46:34 +00: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 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
Kristoffer Søholm
41bb9cbd25
Fix validation for bindings with different sizes ( #9341 )
2026-04-02 18:01:28 -07: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
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
Andy Leiserson
da19f17121
fix(core): Add validation in create_render_bundle_encoder ( #9289 )
2026-03-27 14:33:10 +01:00
Erich Gubler
e6854ecf38
fix(core): panic on overflow for set_immediate's params. not coercing to usize
2026-03-18 12:16:00 -06:00
Erich Gubler
854ed79fd4
fix(core)!: validate set_immediate's values_offset param.
2026-03-18 12:16:00 -06:00
Erich Gubler
2a3dd23b03
fix(core)!: properly handle end offset overrun for immediate data
2026-03-18 12:16:00 -06: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
Erich Gubler
405fedbb05
refactor: use Iterator::any for max_compute_workgroups_per_dimension check ( #9194 )
2026-03-11 11:39:05 -04:00
Andy Leiserson
d152e7369b
Reduce binary bloat from error vtables ( #9149 )
2026-03-04 08:52:24 -08:00
Mikołaj Radkowski
665cb34e32
Fix multi-planar texture copying ( #9069 )
2026-03-01 12:14:03 +01:00
Teodor Tanasoaia
e114d2f0a7
Add support for gaps in bind group layouts & update relevant validation ( #9034 )
...
* [wgpu-core] add support for optional BG & BGL entries
* [wgpu] allow gaps in bind group layouts
And allow unbinding in the web backend.
* adapt tests
* add changelog entry
* [wgpu] remove generic from `PipelineLayoutDescriptor`
2026-02-25 19:47:36 +01:00
Andy Leiserson
3676e0e247
fix(core): Validate occlusion query set type in begin_render_pass ( #9086 )
2026-02-23 14:38:46 -08:00
Erich Gubler and Jim Blandy
f24e8a9273
fix(core)!: validate start + size for buffer ops in more places
...
Co-authored-by: Jim Blandy <jimb@red-bean.com >
2026-02-20 10:34:58 -05:00
Erich Gubler
7d27b2f1e4
refactor(core)!: replace TransferError::BufferOverrun::end_offset with transfer's size
...
BREAKING CHANGE: Transfer operations are expressed in terms of a start
offset and a size. Trying to store anything else in errors and traces
yields extra complexity and loses clarity. Change
`TransferError::BufferOverrun` so that its `end_offset` field is no
more. Instead, add a `size` field that should only ever be saving off
fields already provided by user operations.
2026-02-20 10:34:58 -05:00
Alexander Meißner
05861da365
[hal metal] ray tracing acceleration structures ( #8071 )
...
* Fixes index_buffer label in ray_traced_triangle example.
* Fixes min_push_constant_size in ray_shadows example.
* Ensures there always is Some() buffer reference, even for get_acceleration_structure_build_sizes().
* Updates CHANGELOG.
* Adds feature detection.
* Adds Capabilities Limits.
* Adds necessary objc2-metal features in Cargo.toml
* Sets raw_tlas_instance_size.
* Sets ray_tracing_scratch_buffer_alignment.
* Adds conv::map_index_format().
* Adds conv::map_acceleration_structure_descriptor().
* Implements AccelerationStructure.
* Implements resource binding.
squash with "Implements resource binding."
* Adds CommandState::acceleration_structure_builder.
* Implements CommandEncoder::copy_acceleration_structure_to_acceleration_structure().
* Implements CommandEncoder::build_acceleration_structures().
* Implements CommandEncoder::place_acceleration_structure_barrier().
* Implements CommandEncoder::read_acceleration_structure_compact_size().
* Implements Device::get_acceleration_structure_build_sizes().
* Implements Device::get_acceleration_structure_device_address().
* Implements Device::create_acceleration_structure().
* Implements Device::destroy_acceleration_structure().
* Implements Device::tlas_instance_to_bytes().
* Adds CommandEncoder::set_acceleration_structure_dependencies().
* Review feedback
2026-02-19 06:21:11 +13:00
Erich Gubler
55a906767a
refactor: satisfy clippy::manual_is_multiple_of for transfer alignment checks ( #9072 )
2026-02-17 23:34:25 -05:00
Luo Zhihao
c0f04c801c
Validate strip_index_format equals index buffer format for indexed drawing with strip topology
2026-02-01 23:14:52 -08:00
Vecvec
f3b5243db7
Refactor build_acceleration_structures to require fewer passes ( #8904 )
2026-01-28 16:14:28 -05:00
Erich Gubler
9bc127f128
chore: update CORE_MSRV to 1.90 ( #8943 )
...
New cases for some Clippy lints pop up as part of this upgrade that
cannot be done before, listed below. Yuck!
- `clippy::manual_is_multiple_of`
- `clippy::missing_const_for_fn`
- `clippy::useless_nonzero_new_unchecked`
2026-01-27 19:37:10 -05:00
Andy Leiserson
1481b23e55
Clean up imports/exports in wgpu_core::command ( #8836 )
2026-01-09 12:23:34 -08:00
Andy Leiserson
e412592b23
Store failed commands in traces
2026-01-09 15:55:33 +01:00
SuchAFuriousDeath
490f1f4153
fix(core): set is_open only after begin_encoding succeeds ( #8765 )
2025-12-22 17:59:12 -05:00
Connor Fitzgerald
daf69de67a
Bump MSRV to 1.92 for real ( #8723 )
2025-12-17 17:12:23 +01:00