sagudev
09e21cfa7b
pass arced device to RenderBundleEncoder
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-16 12:10:18 -07:00
Nick Babcock
4e58833072
Add wasm64 backend support for the web
...
This commit:
- Bumps glow to 0.18 which gains support for wasm64
- Updates cfg gates from `target_arch = "wasm32"` to `target_family =
"wasm"`
This commit, unfortunately, does not touch upon example code as that
brings in getrandom 0.3 (0.4 supports wasm64) through flume and
futures-lite
2026-07-15 09:15:33 -07:00
Luo Zhihao
d056b0e025
Validate pipeline layout immediate_size and fix its calculation when there are multiple immediate variables ( #9711 )
2026-07-14 09:47:17 -07:00
Luo Zhihao
2b92ae160d
Defer set_immediates to draw/dispatch call time ( #9597 )
2026-07-10 15:52:20 -07:00
Andy Leiserson
bcc59481c9
Eagerly initialize buffer tails ( #9791 )
2026-07-08 17:22:05 -04:00
Luo Zhihao and Jim Blandy
7fe459a58b
Lower clippy large-error-threshold ( #9612 )
...
Co-authored-by: Jim Blandy <jimb@red-bean.com >
2026-07-07 13:42:21 -04:00
Sam
9e7ae880cd
[core] Implement poll_all_devices on Instance ( #9829 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-07 19:25:01 +02:00
Sam
4e9fd048d3
[core] Make some Global methods thin in device ( #9826 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-07 15:08:49 +02:00
Sam
22c74617fe
[core] Do simple unmap on Buffer::drop ( #9811 )
2026-07-06 16:35:33 +02:00
sagudev
2a8304eef3
[core] Move validity into Arc<BindGroup>
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-06 15:06:57 +02:00
Sam
52a280d631
[core] Move validity into Arc<Buffer> ( #9803 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-06 13:51:11 +02:00
Sam
e8f464d244
[core] Move validity into Arc<Tlas> ( #9802 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-06 13:14:44 +02:00
Sam
4d96e87da6
[core] Move validity into Arc<ExternalTexture> ( #9804 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-06 12:37:54 +02:00
Sam
9749877df6
[core] Move validity into Arc<Blas> ( #9800 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-06 12:33:51 +02:00
Sam
688e4761c9
[core] Move validity into Arc<PipelineCache> ( #9798 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-03 11:12:50 +00:00
Sam
049bbd9412
[core] Move validity into Arc<Sampler> ( #9799 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-03 10:31:11 +02:00
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
9c87d9e31a
[core] Move validity into Arc<ShaderModule> ( #9796 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-03 10:18:23 +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
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
teoxoy
995ee7b3f1
add Limits::max_buffers_and_acceleration_structures_per_shader_stage
2026-07-01 14:43:44 -04: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
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
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
e9aa030587
[core] Move validity into Arc<BindGroupLayout> ( #9764 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-06-30 15:24:38 +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
Stuart Parmenter
cf2dbfd40f
Add display HDR query (Surface::display_hdr_info): DX12, Vulkan, Metal, Web ( #9739 )
2026-06-29 18:13:31 -04: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
Stuart Parmenter
3fb225a9c6
Add surface color-space selection (HDR output): Vulkan, DX12, Metal, WebGPU ( #9658 )
2026-06-26 03:52:05 +00:00
Sam
3c43be420d
trace: Make action_to_owned work on any Action ( #9743 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-06-25 14:28:32 -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
Svyatoslav
d835ad3a09
fix(vulkan): drop implementation panic for surface texture ( #9678 )
2026-06-25 08:56:13 -04:00
Andy Leiserson
7d549d9d2f
fix(webgl): Add destination of copy_external_image_to_texture to PendingWrites ( #9727 )
2026-06-24 14:12:06 -04:00
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