Erich Gubler
2db323ef46
test(naga): add webgpu:shader,validation,shader_io,locations:stage_inout:*
2026-08-19 20:04:16 +02:00
Erich Gubler
f28f1bf49f
fix(naga): reject @location(…)s for input in compute shaders
2026-08-19 20:04:16 +02:00
Erich Gubler
468e9da9a5
fix(naga): disallow result types in compute shaders
2026-08-19 20:04:16 +02:00
Erich Gubler
0b5a96dbd8
refactor(naga): use match for exhaustive stage checks in entry point validation
2026-08-19 20:04:16 +02:00
Sam
6cf62629e5
TextureDescriptor::theoretical_memory_footprint (#10032 )
2026-08-19 17:23:20 +02:00
renovate[bot]
90d3e1405e
Update actions/checkout action to v7 ( #10035 )
2026-08-19 11:18:07 -04:00
Zac Harrold and Kevin Reid
0c96981fd2
wgpu-sync: remove alloc feature
...
The project is otherwise not `no_alloc` compatible, and is capable of making a breaking change in the future if desirable.
Co-Authored-By: Kevin Reid <kpreid@switchb.org >
2026-08-19 08:16:01 -07:00
Zac Harrold
d27c6b43d6
wgpu-sync: remove outdated comment
2026-08-19 08:16:01 -07:00
Zac Harrold
9031006510
wgpu-core: Use wgpu-sync for OnceCell
2026-08-19 08:16:01 -07:00
Zac Harrold
1e0a1b8783
wgpu-hal: Use wgpu-sync for LazyLock and OnceLock Functionality
...
Replaces both `std::sync` and `once_cell` usage.
2026-08-19 08:16:01 -07:00
Zac Harrold
63730c440d
wgpu-sync: Add once_cell
...
Centralizes configuration of `once_cell` and avoids duplicating fallback logic across crates.
2026-08-19 08:16:01 -07:00
sagudev
1877640a73
[core-remote] Add RenderPassEncoderCommand and ComputePassEncoderCommand and handlers in global
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 15:23:27 +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
93aa2dce17
[core-remote] expose erroring
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 14:26:54 +02:00
sagudev
1162d24fe7
Use core's error sink in wgpu
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 14:26:54 +02:00
sagudev
4923a9a11f
[core] Move erroring scopes into core
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 14:26:54 +02:00
sagudev
130acbe90c
[core] Add Arc<Device> getter to encoders
...
Ideally we would implement ParentDevice but it needs Labeled which is nontrivial
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 14:26:54 +02:00
sagudev
041f76bbb1
Move error types to wgpu-types
...
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
sagudev
b4ced71d93
Move QuerySet type and count behind QuerySetInterface into underlying resource
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 10:34:31 +02:00
sagudev
dc109bce4c
[core] Keep label in QuerySet descriptor
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 10:34:31 +02:00
sagudev
0196470c2c
Move buffer usage and size behind BufferInterface into underlying resource
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-19 10:34:31 +02:00
Sam
95c30b2952
Move TextureDescriptor down into underlying type and expose it via TextureInterface ( #10100 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-18 18:15:12 +02:00
Benjamin Brienen and Erich Gubler
0e47071fbd
Validate unary ops in WGSL lowerer ( #10036 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-08-18 10:50:08 -04:00
Nico Burns and Erich Gubler
f32f76dcb1
Advertise PreMultipled rather than PostMultiplied alpha for metal backend ( #9922 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com >
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-08-18 10:48:42 -04:00
Zac Harrold
8ee190c6f1
Remove wgpu_hal::gles::MaybeMutex
...
Can replace with `wgpu_sync::Mutex`
2026-08-17 20:25:53 -07:00
Erich Gubler
5a3b2230ae
style: reformat hello_workgroups' README with prettier ( #10071 )
2026-08-17 15:17:03 -07:00
Sam
38f03fdf5c
[core-remote-types] Add binding_model types ( #10092 )
2026-08-17 14:42:28 +02:00
Luo Zhihao and Erich Gubler
7a83bc7650
Re-vendor WebGPU bindings ( #10034 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-08-17 11:34:53 +00:00
sagudev
a9468c5cad
Ground work for wgpu-core-remote-types
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-17 12:01:39 +02:00
sagudev
df4947cf47
Move markers to types
...
we keep them undocumented because they are impl detail
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-17 12:01:39 +02:00
sagudev
b6b1e761f2
[core-remote] Replace FutureId with Registry::assign
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-17 11:50:37 +02:00
sagudev
e747094b3a
[core-remote] replace refcell in Registery with RefCell<Hub>
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-08-17 11:50:37 +02:00
Emil Ernerfeldt
a6caee7084
Gate @interpolate(linear) behind a downlevel flag ( #9972 )
2026-08-16 12:11:15 +00:00
Zac Harrold
b6db26411c
[wgpu]: update CI
2026-08-15 11:27:43 -04:00
Zac Harrold
b5fc1a1bd6
[wgpu-core]: add no_std support
2026-08-15 11:27:43 -04:00
Jim Blandy
61040094ef
docs: Improve documentation of submission processing
...
Improve internal documentation for:
- `wgpu_core::device::queue::PendingSubmission`
- `wgpu_core::device::Device::is_valid` and `check_is_valid`
- `wgpu_core::device::Device::maintain`
- `wgpu_hal::vulkan::Queue::submit`
2026-08-14 18:59:00 -07:00
Andy Leiserson
eaa3de5045
fix(core): Fix lock order violation in release_gpu_resources
2026-08-14 18:59:00 -07:00
Andy Leiserson
83062dd4cd
fix(core): Avoid overlapping locks in initialize_texture_memory
2026-08-14 18:59:00 -07:00
Andy Leiserson
0770264ea0
refactor(core): Rename HUB_OTHER lock rank to INSTANCE_DEVICES
2026-08-14 18:59:00 -07:00
Andy Leiserson
5e7afdf25b
fix(core): Avoid overlapping locks in texture write init handling
...
Fixes #9460
2026-08-14 18:59:00 -07:00
Andy Leiserson
192207d376
fix(core): Fix lock release order in PendingSubmission and Queue::write_buffer
2026-08-14 18:59:00 -07:00
Andy Leiserson and Erich Gubler
a20d5d4c9b
fix(core): Fix validation of shader I/O numeric types ( #9999 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-08-14 18:54:34 -07:00
Zac Harrold
3c4a1a2f0c
[wgpu-test]: Switch to wgpu-sync for locking primitives
2026-08-14 20:47:05 -04:00
Zac Harrold
0642c98f27
[wgpu]: Switch to wgpu-sync for locking primitives
2026-08-14 20:47:05 -04:00
Zac Harrold
34f7efb7d4
[wgpu-core]: Switch to wgpu-sync for locking primitives
2026-08-14 20:47:05 -04:00