sagudev
98aa89efa5
Move Queue::submit erroring into core
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-20 12:45:49 +02:00
sagudev
8c7317b1f5
Move error handling of Queue::write_texture and Queue::write_buffer into core
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-20 12:45:49 +02:00
sagudev
b024802f8c
Handle CommandEncoder errors inside wgpu-core
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 15:23:27 +02:00
sagudev
c64625f092
Handle RenderPass errors inside wgpu-core
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 15:23:27 +02:00
sagudev
00fca71151
Handle ComputePass errors inside wgpu-core
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 15:23:27 +02:00
sagudev
9625c4225c
[deno] Use error impl from core
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 14:26:54 +02:00
sagudev
c43d2207c0
[deno] Use set_device_lost_closure for lost resolving
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 14:26:54 +02:00
Sam
feab2f79ef
Add DeviceDescriptor::default_queue: QueueDescriptor to support setting label to queue ( #10109 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 10:06:10 +00:00
Sam
45eda065c2
[core] Wrap Instance in Arc and store it in Adapter ( #9956 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-12 11:28:48 +02:00
sagudev
2aafa6c32f
[core] Do not use IDs as default types in ComputePipelineDescriptor
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-11 14:04:27 +02:00
sagudev
1d683f8b53
[core] Do not use IDs as default types in BindGroupDescriptor and BindGroupEntry
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-11 14:04:27 +02:00
sagudev
ecf8932500
[deno] Use Arced resources instead of Global (aka crate::Instance in deno)
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-30 04:54:40 -04:00
Andy Leiserson
554335d338
cts: Enable strict WebGPU compliance in cts_runner ( #9881 )
2026-07-16 07:22:21 -04:00
teoxoy
69e66d8e2a
add DENO_WEBGPU_STRICT_COMPLIANCE and set it for the CTS job
2026-07-01 14:43:44 -04: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
Stuart Parmenter
3fb225a9c6
Add surface color-space selection (HDR output): Vulkan, DX12, Metal, WebGPU ( #9658 )
2026-06-26 03:52:05 +00: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
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
Connor Fitzgerald and Erich Gubler
4d3492cfcb
Adjust cargo-deny to only check published crates ( #9680 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-06-16 17:27:17 +02: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
Andy Leiserson
24125f1c44
fix(deno): Reject invalid texture usage with validation error
2026-05-21 10:48:06 -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
Andy Leiserson
da19f17121
fix(core): Add validation in create_render_bundle_encoder ( #9289 )
2026-03-27 14:33:10 +01:00
Andy Leiserson and Teodor Tanasoaia
55b45559a7
feat(core): Limit bucketing
...
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com >
2026-03-23 18:25:15 -07:00
Andy Leiserson
04cce5ace7
feat(types): Add conversions to/from feature name strings ( #9163 )
2026-03-18 09:59:45 -07:00
Andy Leiserson
ca3239e689
chore!: Move PRIMITIVE_INDEX feature into the WebGPU group ( #9101 )
...
Enable relevant CTS tests.
2026-03-13 13:52:14 -07:00
Andy Leiserson
d540c4566e
test(cts_runner): Use DXC by default
2026-03-10 16:57:39 -07:00
Andy Leiserson
a16ca5cb42
feat(deno): Add DENO_WEBGPU_DX12_COMPILER env var
...
- Use the env var to select DXC in cts_runner
- Sync a few other env vars from `ci.yml`
2026-03-10 16:57:39 -07:00
Marijn Suijten
35db26b2c6
Make HasDisplayHandle optional in WindowHandle ( #8782 )
2026-03-10 11:36:12 -04:00
Genna Wingert
ce7dad3026
fix: Change type of max_*_buffer_binding_size to follow spec
2026-03-09 16:49:06 -06:00
Andy Leiserson
7a17f66aa5
Tweak some limit reporting ( #9118 )
...
* Dummy implementation of max_storage_{buffers,textures}_in_*_stage limits
* hal(vulkan, dx12): Clamp per-stage binding limits at max_bindings_per_bind_group - 1
* Update CHANGELOG
* Allocate per-stage limits out of max_bindings_per_bind_group
* Fix typo and adjust hal's `log` dependency
2026-03-04 18:39:47 +01:00
Andy Leiserson
68b26a65f6
fix(deno): Report the correct type of error for an invalid writeMask ( #9144 )
2026-03-03 14:42:17 +01:00
Mendy Berger
f1e6b994aa
refactor: removed unused TextureViewDestroyError ( #9140 )
2026-03-02 10:32:45 -05: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
b09a919c6a
DepthStencilState validation fixes ( #8840 )
...
* Make `depth_compare` and `depth_write_enabled` optional
These fields are optional in the WebGPU API. Having them optional in the
wgpu API as well keeps validation logic centralized in wgpu-core.
Fixes #8830
* Remove `DepthStencilStateIdl`
2026-02-25 14:59:48 +01:00
Andy Leiserson and Erich Gubler
3dfa9af0db
Enable FLOAT32_BLENDABLE on Metal, in Deno, and separate from filtering ( #9032 )
...
---------
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-02-24 14:52:34 -08:00
Andy Leiserson
73624c9892
chore(deno): Implement is_fallback_adapter and validate feature level strings ( #9043 )
2026-02-23 11:10:43 -08:00
Inner Daemons
8f50bb9d98
Make passthrough shaders non-experimental ( #9054 )
...
* Refactored passthrough shaders
* Added a changelog entry
2026-02-18 12:29:50 -05:00
Mendy Berger
7baace517b
chore(deno_webgpu): Removed unnecessary vec ( #9071 )
2026-02-18 07:59:38 -07:00
Andy Leiserson
6be68cbc65
fix(deno): Remove early validation of depthClearValue ( #9000 )
2026-02-04 19:03:51 -07:00
Andy Leiserson
835560396f
test(cts): Enable some external texture tests ( #8901 )
2026-02-03 15:58:21 -08:00
Andy Leiserson
965b7cbe79
feat(deno): Associate external memory with GPUDevice
...
Enable some tests that previously OOMed in CI.
2026-01-27 13:11:40 -08:00
Andy Leiserson
77c614c628
fix(deno): Don't leak wgpu queues when they are never accessed from JS
2026-01-27 13:11:40 -08:00
pin and Erich Gubler
8ad8a820c6
Add basic NetBSD support ( #8695 )
...
* Add basic NetBSD support
- closes https://github.com/gfx-rs/wgpu/issues/8541
- replaces https://github.com/gfx-rs/wgpu/pull/8679
```
Tests:
Summary [ 149.522s] 469 tests run: 463 passed, 6 failed, 0 skipped
FAIL [ 0.095s] naga::naga snapshots::convert_snapshots_spv
FAIL [ 0.387s] wgpu-benchmark::bench/wgpu-benchmark Computepass Encoding
FAIL [ 0.386s] wgpu-benchmark::bench/wgpu-benchmark Device::create_bind_group
FAIL [ 0.378s] wgpu-benchmark::bench/wgpu-benchmark Device::create_buffer
FAIL [ 0.389s] wgpu-benchmark::bench/wgpu-benchmark Renderpass Encoding
FAIL [ 0.075s] wgpu-test::wgpu-validation api::instance::multi_instance::multi_instance
```
* Exclude Vulkan and DRM surface paths on NetBSD
Match platform support and avoiding cfg mismatches between wgpu and wgpu-core.
(with help from LLM)
---------
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-01-26 16:27:57 +00:00
Andy Leiserson
046a1b4ce5
feat(deno): implement WGSLLanguageFeatures ( #8884 )
2026-01-22 10:42:01 -08:00
Andy Leiserson
5c100aea5a
chore(deno): Export GPUPipelineError ( #8885 )
2026-01-21 17:27:19 +01:00
Erich Gubler
81542eadc3
fix(cts): render full err. msg. in Device::create_*_pipeline_async ( #8788 )
2025-12-27 14:47:35 -07:00