Commit Graph
11148 Commits
Author SHA1 Message Date
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
Andy Leiserson 7b2b0822cf test: Tests for render attachment initialization tracking 2026-08-25 12:51:23 -07:00
Andy Leiserson 088f101d30 test: Extend ReadbackBuffers to mips, depth slices, and arrays 2026-08-25 12:51:23 -07:00
sagudev 0f02d4b200 Use vendored LoadOp because of FFI
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 19:48:47 +02:00
sagudev fc060c9c56 assert_ffi_safe
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 19:48:47 +02:00
sagudev bbe2a86154 Make subtypes FFI safe
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 19:48:47 +02:00
sagudev 45ace31cb9 ComputePassDescriptor and it's subtypes in remote-types
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 19:48:47 +02:00
sagudev 11602226f1 RenderPassDescriptor and it's subtypes in remote-types
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 19:48:47 +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 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
sagudev 81236ad235 Check core-remote crates in CI
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 17:35:35 +02:00
sagudev f50e148e92 [core-remote] Write/update docs and make Global as Instance wrapper
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-25 17:35:35 +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
Kevin Reid f25209582c Implement Send for WriteOnly<T> even when T is not Sized. (#10163) 2026-08-24 19:29:27 -07:00
Connor Fitzgerald 454703a968 Discover standalone examples in cargo-generate CI (#10141) 2026-08-24 10:58:41 -04:00
Connor Fitzgerald 47f5d04f20 Backport the v30.0.1 changelog (#10142) 2026-08-24 14:06:28 +00:00
Connor Fitzgerald dba24de0ae Resolve dependencies against the declared MSRV (#10140) 2026-08-24 13:45:07 +00:00
renovate[bot] 2d435a40fc Update JamesIves/github-pages-deploy-action action to v4.9.0 (#10158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-24 08:20:53 -04:00
renovate[bot] 7f39c6fc7f Update crate-ci/typos action to v1.49.0 (#10157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-24 08:20:51 -04:00
Connor Fitzgerald d4359d7494 Use edition 2024 in standalone examples (#10139) 2026-08-22 03:38:36 +00:00
Erich Gubler 48d3a109b6 Panic on unrecognized composite alpha mode on Metal in HAL (#10070) 2026-08-21 16:13:25 +00:00
Marc Stampfli 6d1bb1959b Give a clear error when dxc is missing in the passthrough tests (#10119) 2026-08-20 11:28:24 -07:00
sagudev d99c241a3b [core-remote] Add CommandEncoderCommand type and handle it
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-20 15:27:53 +02:00
sagudev 5d1d6f5eb1 [core-remote] Add RenderBundleEncoderCommand type and handle it
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-20 15:27:53 +02:00
sagudev 87efa40fdc [core-remote-types] Bring in type aliases needed for queue
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-20 12:45:49 +02: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
sagudev 4bc035d6fb [core-remote] remove non spec stuff from queue
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-20 12:45:49 +02:00
Erich Gubler bbac60da54 test(cts): collapse webgpu:shader,validation,shader_io,locations:* to single entry 2026-08-19 20:04:16 +02:00
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 HarroldandKevin 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