Commit Graph
107 Commits
Author SHA1 Message Date
VecvecandConnor Fitzgerald 9e744954f7 [wgpu-core] Ray tracing pipelines (#10144)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-11-05 19:20:32 +00:00
sagudev 50204b649e [remote] remove unused serde feature
al types are in wgpu-core-remote-types which uses serde unconditionally

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-10-27 16:40:38 +00:00
sagudev 9566197644 [remote] Do not return ids
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-10-27 16:40:38 +00:00
Teodor Tanasoaia a979c33dcd Return SubmissionIndex only if submissions succeed (#10218) 2026-10-27 13:16:23 +00:00
sagudev a8cfdef04e [core] Support passing MapMode as (potentially invalid) bitflags
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-10-26 18:49:57 +00:00
sagudev 4e98175c04 [core] Destruct BufferMappingOperation into mode and callback arguments
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-10-26 18:49:57 +00:00
Kevin Reid 60036cdc0a Fix Cargo lint from Rust 1.100 (#10576) 2026-10-14 00:35:08 +00:00
sagudev f4455f178d get_mapped_range return Mapping which holds the BufferState lock
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-10-08 11:08:30 +00:00
Erich Gubler 34530a54d1 test(core-remote): assert_not_impl_any!(Global: Send, Sync) 2026-10-05 15:05:01 +00:00
Erich Gubler e377b7a73b refactor(core-remote): alphabetize Cargo dependencies 2026-10-05 15:05:01 +00:00
Erich Gubler 1879695f9b Opt out of Send + Sync for Global 2026-10-05 15:05:01 +00:00
Sam dd033bfb7f [remote] Global::create_render_pipeline_or_error -> Global::device_create_render_pipeline_or_error (#10508) 2026-10-01 19:16:14 +00:00
Connor Fitzgerald 35332d2114 Update agent tooling (#10202) 2026-09-18 15:06:10 +00:00
Sam f7c40b2cf9 [remote] Add DeviceDescriptor (#10378)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-18 13:10:14 +00:00
Sam 6b6ffa6606 [remote] Add BufferMapError (#10367)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-17 17:25:04 +00:00
Sam 6de66960f5 [remote] Add RequestDeviceError (#10363)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-17 15:27:07 +00:00
Sam e2f2b2ebe8 [remote] Add PipelineError (#10369)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-17 15:02:04 +00:00
sagudev 0acb823f54 use reuse checks impl from wgc
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-17 10:18:50 +00:00
sagudev 4689fa4ccb [remote-types] make BindGroupLayoutEntry FFI safe
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-17 10:18:50 +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 0584f1eb38 [remote-types] vendor BindGroupLayoutEntry and use ShaderStagesWebGPU in it
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-15 14:59:41 +00:00
sagudev 68b407883f Generalize BufferDescriptor and use BufferUsagesWebGPU in remote
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-10 16:08:34 -07:00
Andy Leiserson fb93139671 feat: Support zero-size vertex and index buffer bindings
Fixes #3170
2026-09-08 15:07:15 -07: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 3e11ff59bf Buffer::unmap should not raise any validation errors (#10242)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-09-02 18:19:05 +00:00
Helgev e6af9e9641 Fix stale poll() doc comments referring to a bool return value
Device::poll (both the public wgpu API and the wgpu-core internal
version), the internal maintain() helper, and Global::device_poll
still described their return value as a plain true/false, left over
from before they returned Result<PollStatus, PollError>. Point readers
at PollStatus/PollError (and UserClosures for maintain's closures)
instead of restating semantics that duplicate their own docs.
2026-09-02 09:31:04 -07: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
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
Robin Cramer 64b9bb0e90 Added mark_externally_initialized to texture (#10075) 2026-08-31 10:21:25 -04: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
07132f4440 Implement texture-component-swizzle (#9553)
Co-authored-by: Inner Daemons <85136135+inner-daemons@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-08-30 03:49:16 -04:00
Robin Cramer 855ead0745 Added cleared field to create_texture_from_hal (#10076) 2026-08-29 18:44:36 -04:00
sagudev 9b095f553c [core-remote] Global::*_drop -> Global::*_remove and return the resource
This is mostly important for Encoders to be able to continue using them.

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 14:27:55 +02:00
sagudev 57f5ae5d14 [core-remote] support importing and resolving all resources
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 14:27:55 +02:00
sagudev 17d394a286 [core-remote] remove as_hal
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 14:27:55 +02:00
sagudev 86f8269f8e [remote] Remove pipeline cache
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 12:31:17 +02:00
sagudev b67114f75a [remote] QuerySetDescriptor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 12:31:17 +02:00
sagudev e37062f664 [remote] RenderBundleEncoderDescriptor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 12:31:17 +02:00
sagudev 85e96360b7 [remote] remove shader passthrough method from global
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 12:31:17 +02:00
sagudev 92d65dc601 [remote] ShaderModuleDescriptor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 12:31:17 +02:00
sagudev 89c13169ee [remote] PipelineLayoutDescriptor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 12:31:17 +02:00
sagudev 59ddce98c0 [remote] BindGroupLayoutDescriptor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 12:31:17 +02:00
sagudev e3166286c6 [remote] SamplerDescriptor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 12:31:17 +02:00
sagudev 106c5862a9 [remote] TextureViewDescriptor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-26 12:31:17 +02:00