Commit Graph
903 Commits
Author SHA1 Message Date
Sam 18714da8da [core] Move validity into Arc<RenderBundle> (#9797)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-03 10:21:56 +02:00
Sam 99f8284e42 [core] Move validity into Arc<QuerySet> (#9795)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-02 17:05:08 +02:00
Sam 398303061d [core] Support importing/resolving on global (#9793)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-02 09:21:09 +02:00
Sam b65c47ad60 [core] Move validity into Arc<TextureView> (#9787)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-02 09:13:30 +02:00
Sam 7418e2d1c1 [core] Use two staged validity in Texture. (#9788) 2026-07-02 09:06:09 +02:00
Sam 979ab2bca6 [core] IDed encoders needs to be dropped (#9782)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-01 14:02:32 +02:00
Andy Leiserson 0cc48c829e fix(core): Track initialization status of 3D textures (#9765) 2026-07-01 11:51:59 +02:00
Sam 7877b766c8 [core] Move begin_*_pass to CommandEncoder and do only ID resolve in global (#9781)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-01 11:22:32 +02:00
Sam 74ae0435e6 [core] Add IDed RenderBundleEncoder methods on Global (#9778)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-01 11:14:54 +02:00
Sam afbab7b298 [core] Handle ended in RenderBundleEncoder (#9777)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-01 10:25:10 +02:00
Sam 22c6cb18d4 [core] Add support IDed ComputePasses in Global (#9776)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-30 16:13:50 +02:00
Sam 983106f8cf [core] Move validity into Arc<PipelineLayout> (#9775)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-30 16:10:37 +02:00
Sam 5e139ccbeb [core] Add support IDed RenderPasses in Global (#9740)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-30 15:30:02 +02:00
Sam d01aa31d69 [core] Move validity into Arc<ComputePipeline> (#9762)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-30 12:11:10 +02:00
Sam 5a5caa01ad [core] Move validity into Arc<RenderPipeline> (#9752)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-29 11:10:45 +02:00
VecvecandConnor Fitzgerald 743ac1f084 Hal ray tracing pipelines (#9464)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-25 18:53:10 -04:00
Erich Gubler fc60449802 refactor: rename WorkgroupSizeCheck::sizes to dimensions 2026-06-25 11:55:58 -07:00
Erich Gubler 127a367497 refactor: reimpl. check_workgroup_sizes w/ new struct WorkgroupSizeCheck 2026-06-25 11:55:58 -07:00
Sam b76a432a27 [core] Move Fallible into Arc<Texture> (#9718)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-25 19:27:44 +02:00
Sam 662116f98f [core] make wgc::RenderBundleEncoder like Passes (with methods on self and global) (#9712)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-24 14:20:22 +02:00
Sam ed57d2e82a [core] Use label field of TextureDescriptor (#9714)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-23 09:18:24 -04:00
Andy Leiserson a4d29e47c1 Release COMMAND_BUFFER_DATA before encoding commands 2026-06-22 13:58:59 -07:00
Andy Leiserson d1630d8493 Use unique lock ranks for concurrently-accessed registries 2026-06-22 13:58:59 -07:00
Luo Zhihao c841633bb3 Bring transient attachment in line with webgpu spec (#9568) 2026-06-18 18:28:52 -07:00
Luo Zhihao 49102603b5 Add immediates to deno_webgpu (#9569) 2026-06-18 14:50:14 -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
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
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 ZhihaoandErich 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 DaemonsandAndreas 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