Abel Lucas
852d819c41
tests: device destroy while a mapped view reads or writes
...
Ported from #10307 . The device is destroyed through `wgpu::Device::destroy`, which does not
panic here on a live view.
2026-10-26 19:17:54 +01:00
Abel Lucas
3302d5072d
wgpu-core: a destroyed buffer that is mapped keeps its raw buffer until it drops
...
`Buffer::destroy` freed the raw buffer of a buffer that was still mapped. So did
`release_gpu_resources`, which runs `destroy` on every buffer when a device is lost or destroyed.
The mapped pointer, and a `BufferView` over it, then read freed memory.
A buffer that is mapped when it is destroyed now keeps what `destroy` took from it, and frees it
when the buffer drops. The buffer is destroyed in every other way: it has no raw buffer to use, and
`unmap` still reports it as destroyed.
2026-10-26 19:17:54 +01:00
Andy Leiserson
a0bd44d7ff
[v30] Manual Send and Sync for Hub and Command{Encoder,Buffer} ( #10225 )
2026-09-04 16:30:59 -04:00
John Billings
2508e37a5e
fix(core): Free prepared ids that are never assigned ( #10184 )
2026-09-02 16:16:36 -07:00
Nazar Mokrynskyi and Erich Gubler
73a7e97981
Fix recursion limits with next solver ( #9953 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-08-27 03:17:32 -06:00
Connor Fitzgerald
40f4a34eba
Release v30.0.1
v30.0.1
2026-08-21 22:01:12 -04:00
Andy Leiserson
5e1084c3e3
fix(metal): Resolve some color space constants dynamically ( #9819 )
2026-08-21 22:01:11 -04:00
Kevin Reid
8bc5e2bc5d
Backport "Re-vendor WebGPU bindings ( #10034 )" to v30. ( #10105 )
2026-08-21 22:01:11 -04:00
Erich Gubler
42738aa794
backport: fix: use vk::Fence::null on non-Windows swapchain ( #9918 )
2026-08-21 22:01:09 -04:00
Connor Fitzgerald
1464540aaf
Remove example warning
2026-07-01 17:14:45 -04:00
Connor Fitzgerald
8bf3e5ff4a
Update to v30 ( #9790 )
v30.0.0
2026-07-01 17:07:34 -04:00
teoxoy
aa2b7907c0
[core] filter native-only features and limits if
...
`STRICT_WEBGPU_COMPLIANCE` is set
2026-07-01 14:43:44 -04:00
teoxoy
2ea3a1d41b
[vulkan] advertise DownlevelFlags::SURFACE_VIEW_FORMATS if VK_KHR_swapchain is not available
2026-07-01 14:43:44 -04:00
teoxoy
69e66d8e2a
add DENO_WEBGPU_STRICT_COMPLIANCE and set it for the CTS job
2026-07-01 14:43:44 -04:00
teoxoy
995ee7b3f1
add Limits::max_buffers_and_acceleration_structures_per_shader_stage
2026-07-01 14:43:44 -04:00
lizelive
0853e7bdc1
fix: gate on static_dxc not static-dxc ( #9785 )
2026-07-01 17:18:48 +00: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
Marc Stampfli
a353ba97c9
Fix signed % wrong for negative operands on NVIDIA (OpSRem poison without maintenance8) ( #9674 )
2026-07-01 09:49:30 +00: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
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
Andy Leiserson
b0a44f766e
docs(CHANGELOG): Add changelog entry for Vulkan OOM fixes ( #9768 )
2026-06-29 23:38:16 -04:00
Andy Leiserson
8042314262
fix(hal): Clear query state on reused encoders ( #9770 )
2026-06-29 23:37:49 -04:00
AdrianEddy and Kevin Reid
bd4d9a99b6
[WebGPU] Add the ability to interop with external textures ( #9530 )
...
Co-authored-by: Kevin Reid <kpreid@switchb.org >
2026-06-30 03:18:58 +00:00
Connor Fitzgerald
378124a2bd
Exclude dev dependencies from cargo-deny ( #9771 )
2026-06-29 22:49:26 -04:00
Andy Leiserson
8b2bc49419
test: Run with LVP_POISON_MEMORY=true ( #9753 )
2026-06-29 20:55:50 -04:00
Vecvec and Connor Fitzgerald
a03be8d223
[msl] Make ray queries safer ( #9442 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-06-29 22:27:03 +00: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
Máté Homolya
bf5c6cff4e
Implement bindless buffers on metal ( #9081 )
2026-06-29 17:21:43 -04:00
Holger Trahe
2374e16ab9
Fixed partially-bound texture and storage-texture binding arrays (PAR… ( #9653 )
2026-06-29 15:04:06 -04:00
Andy Leiserson
34bc25ffd9
chore(deps): Update anyhow ( #9766 )
2026-06-29 18:53:19 +00:00
k9
35743f2848
Playwright wasm tests ( #9114 )
2026-06-29 14:31:39 -04:00
Connor Fitzgerald
da3efab0e9
ci: inline prettier check, drop creyD/prettier_action ( #9759 )
2026-06-29 10:58:40 -07:00
Kevin Reid
44a31fe603
Make SurfaceColorSpace accessors const fn
2026-06-29 09:57:09 -07: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
Francis De Brabandere
56535d7d90
fix(vulkan): enable vulkanMemoryModelDeviceScope with the memory model ( #9741 )
2026-06-28 22:26:49 -04:00
Stuart Parmenter
3fb225a9c6
Add surface color-space selection (HDR output): Vulkan, DX12, Metal, WebGPU ( #9658 )
2026-06-26 03:52:05 +00:00
Connor Fitzgerald
87bfa5ebb2
Properly generate glsl sidecar for 9629 ( #9750 )
2026-06-26 03:25:41 +00:00
Vecvec
a15a4b4037
Documentation improvements for ray tracing. ( #9746 )
2026-06-25 22:21:29 -04:00
Andy Leiserson
7909dfc22b
fix(vulkan): Disable memory budget on radv
...
For #9742
2026-06-25 22:17:07 -04:00
Andy Leiserson
8e6abb5662
refactor(vulkan): Create a helper to match driver IDs
2026-06-25 22:17:07 -04:00
Mike Seddon
cab7d0b47f
Add MSL support for mixed-precision cooperative matrix multiply-add ( #9629 )
2026-06-25 22:14:27 -04:00
Kevin Reid
0d734cb6de
Stop using internal types in DownloadBuffer, and improve docs. ( #9749 )
2026-06-25 22:06:14 -04:00
Stuart Parmenter
c3ff2672c2
fix(hal): derive Debug for PipelineGroupData ( #9748 )
2026-06-26 00:20:49 +00:00