Commit Graph
79 Commits
Author SHA1 Message Date
sagudev 2eec736394 [deno] Do poll after Device::destroy to call
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-10-26 18:49:57 +00:00
sagudev 322e22792d properly implement in deno
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-10-08 11:08:30 +00:00
Sam fcd059f423 Move MapMode into wgpu-types and use it instead of HostMap in wgpu-core (#10474)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-28 11:15:27 +00:00
sagudev cdf689ca0c Use custom impl of BGLE in deno and remote
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-17 10:18:50 +00:00
sagudev a26e342d9b Split BufferUsages into WGPU and WebGPU bits using bitflags_array
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
sagudev 726f0abb48 [deno] Use GPUTexture::* from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-09 18:17:25 +02:00
sagudev 0e7fb34d97 [deno] Use GPUQuerySet::{count, type} from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-09 18:17:25 +02:00
sagudev 3e775e7a3b [deno] Use GPUBuffer::size from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-09 18:17:25 +02:00
sagudev 040404c80b [deno] Use label from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-09 18:17:25 +02:00
sagudev bdea80afac Move error handling of create_shader_module into wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-04 13:38:23 +02:00
sagudev 31f1b0cd81 Move compilation_info into wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-04 13:38:23 +02:00
Sam 7db2bd022a Move erroring of create_render_pipeline into wgc (#10227)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-01 18:41:49 +02:00
Sam 322a67256e Move erroring of map_async into wgc (#10228)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-01 16:00:15 +02:00
Andy Leiserson 72e5062761 fix(deno): Mark some methods reentrant (#10061) 2026-09-01 06:05:18 -04:00
Sam 000cc9699f Move erroring of create_query_set into wgc (#10217)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-31 19:00:20 +00:00
Sam 443fca8097 Move erroring from create_bind_group_layout into wgc (#10215)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-31 20:21:46 +02:00
Sam 6008736585 Move erroring of create_buffer into wgc (#10214)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-31 18:59:34 +02:00
Sam c5ab27023a Move erroring of create_texture_view into wgc and implement (#10208)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-31 16:02:16 +02:00
Sam eb0150579d Move erroring of create_texture and implement missing validation (#10165)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-31 09:47:48 +00:00
Sam 78fa6152cc Revert part of #10115 by removing result from create_render_bundle_encoder and reimpl content validation in deno (#10179) 2026-08-31 10:21:22 +02:00
Sam c0d77f23b0 Move erroring of create_compute_pipeline into core (#10164)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 19:05:11 +02:00
Sam 6710991814 Implement spec compilant erroring of create_render_bundle_encoder (#10115) 2026-08-25 17:58:57 +02:00
sagudev 6a1e377a4e Move erroring of RenderPipeline::get_bind_group into core
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 17:37:30 +02:00
sagudev ac94609cbd Move erroring of ComputePipeline::get_bind_group into core
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 17:37:30 +02:00
sagudev 9fcc1dd289 Move erroring of create_bind_group into core
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 17:37:30 +02:00
sagudev e91f3e37d5 Move erroring of create_pipeline_layout into core
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 17:37:30 +02:00
sagudev c2b967b57b Move erroring of create_sampler into core
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 17:37:30 +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 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
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
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
Luo Zhihao 49102603b5 Add immediates to deno_webgpu (#9569) 2026-06-18 14:50:14 -07:00
Andy Leiserson 24125f1c44 fix(deno): Reject invalid texture usage with validation error 2026-05-21 10:48:06 -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 04cce5ace7 feat(types): Add conversions to/from feature name strings (#9163) 2026-03-18 09:59:45 -07: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
Mendy Berger 7baace517b chore(deno_webgpu): Removed unnecessary vec (#9071) 2026-02-18 07:59:38 -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
Erich Gubler 81542eadc3 fix(cts): render full err. msg. in Device::create_*_pipeline_async (#8788) 2025-12-27 14:47:35 -07:00
Andy Leiserson b9324e9da9 [deno] Fix error reporting for async pipeline creation 2025-12-19 15:12:03 -08:00
Andy Leiserson 59dbd6b954 [deno] Remove error return from new_render_pipeline 2025-12-19 15:12:03 -08:00
Andy Leiserson 90e162c0e3 [deno] Add some WebIDL converters 2025-12-19 15:12:03 -08:00