Commit Graph
2586 Commits
Author SHA1 Message Date
Andy Leiserson 55c7f91ef6 chore(core): Add comments on bind group init actions (#10224) 2026-09-01 06:20: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
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
Zac Harrold 1098476cd0 wgpu-core: use wgpu-sync for atomics 2026-08-28 20:37:31 -04:00
AdrianEddy a148f96e20 feat(webgl): Add ability to interop with external textures (#9834) 2026-08-28 21:18:35 +00:00
Vecvec 68d122e9e7 Optimise Tlas building (#9961) 2026-08-28 20:56:59 +00:00
Luo ZhihaoandConnor Fitzgerald 4d749308e6 Fix separate depth stencil read-only state (#9763)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-08-28 15:31:26 +00:00
Andy Leiserson ca76233ed9 fix(core): Add missing DISCARD_HAL_LABELS checks in ray tracing (#10123) 2026-08-27 06:24:10 -04:00
Marc Stampfli 8c87a72876 fix(core): deadlock between Queue::compact_blas and Queue::submit (#10118) 2026-08-25 23:12:05 +00:00
Andy Leiserson f0704423c9 fix(core): Init tracking for pass with multiple depth slice attachments 2026-08-25 12:51:23 -07:00
Andy Leiserson 70d4865941 fix(core): Fix init tracking for 3D textures as render attachments
Fixes #9455
2026-08-25 12:51:23 -07:00
Andy Leiserson 0bffa87506 fix(core): Derive TextureInitRange from TextureView
Derive `TextureInitRange` from `TextureView`, rather than
`TextureSelector`. Unambiguous conversion requires knowing
whether the texture is 3D.
2026-08-25 12:51:23 -07:00
Andy Leiserson 4a4db416c3 fix(core): Fix discard tracking for divergent depth/stencil ops 2026-08-25 12:51:23 -07: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 1cb319b506 Move erroring of create_external_texture 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
ksh368-bit b794fafbf0 [core] Report missing passthrough shader entry points (#10079) 2026-08-25 09:18:55 -04:00
Inner Daemons d1aee0ff1e Fix error messages with texture view aspect validation on multiplanar formats (#9702) 2026-08-25 09:05:01 -04:00
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
Zac Harrold 9031006510 wgpu-core: Use wgpu-sync for OnceCell 2026-08-19 08:16:01 -07: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 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
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
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
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