Commit Graph

9507 Commits

Author SHA1 Message Date
Connor Fitzgerald
0304924420 Bump version to v26.0.2 v26.0.2 wgpu-hal-v26.0.2 2025-07-23 19:03:23 -04:00
Connor Fitzgerald
cc8ba7512e hal/vulkan: use different indexes for acquire and present 2025-07-23 19:03:23 -04:00
Connor Fitzgerald
4f18c26d7b hal/vulkan: add debug names to all swapchain semaphores 2025-07-23 19:03:22 -04:00
Connor Fitzgerald
91a711d6c7 hal/vulkan: generate separate hash identity for Texture/TextureViews (#7972) 2025-07-23 19:03:19 -04:00
Connor Fitzgerald
1319febd28 Remove development examples notice 2025-07-11 01:46:49 -04:00
Connor Fitzgerald
0c978d0d46 Bump version to v26.0.1 v26.0.1 wgpu-v26.0.1 wgpu-core-v26.0.1 2025-07-10 16:03:48 -04:00
Erich Gubler
b22d123f98 fix(core): check query set index before other validation (#7908) 2025-07-10 16:03:48 -04:00
Kevin Reid
dd324355e7 Fix initialize_adapter_from_env under no_std.
Without this change, `desired_adapter_name` is an undeclared variable.
2025-07-10 16:03:48 -04:00
Kevin Reid
fb3abfce2c [ci] Check with profiling enabled.
Minimum version of `profiling` increases from ^1.0.0 to ^1.0.1 because
the `type-check` feature was added in 1.0.1.
2025-07-10 16:03:48 -04:00
Kevin Reid
81e6875312 Fix undeclared base in profiling scopes.
This would cause compilation to fail if profiling was enabled.
2025-07-10 16:03:47 -04:00
Connor Fitzgerald
03f1b535ca Bump version to v26 v26.0.0 wgpu-info-v26.0.0 wgpu-v26.0.0 wgpu-core-v26.0.0 naga-cli-v26.0.0 wgpu-core-deps-wasm-v26.0.0 wgpu-hal-v26.0.0 wgpu-core-deps-windows-linux-android-v26.0.0 wgpu-core-deps-emscripten-v26.0.0 naga-v26.0.0 wgpu-types-v26.0.0 wgpu-core-deps-apple-v26.0.0 2025-07-09 20:38:11 -04:00
Connor Fitzgerald
8ee66bde9f Update changelog for v26 2025-07-09 20:38:11 -04:00
Connor Fitzgerald
a851eba5f6 Add TextureView::texture (#7907) 2025-07-09 19:53:55 -04:00
SupaMaggie70Incorporated
13fec87fb2 Added mesh shading spec (#7885)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2025-07-09 19:45:26 -04:00
Erich Gubler
f0d13b09c3 fix(cts): use correct comparison direction for Git version check (#7909) 2025-07-09 22:25:34 +00:00
Connor Fitzgerald
4f156357b8 Switch as_hal to return a guard 2025-07-09 18:08:11 -04:00
Connor Fitzgerald
a6a380409c [core] Add force_unlock_read methods to lock primitives 2025-07-09 18:08:11 -04:00
Connor Fitzgerald
a248b8caf3 [core] Add RawResourceAccess trait 2025-07-09 18:08:11 -04:00
Connor Fitzgerald
795fe3bf27 [core] Move as_hal methods to their own file 2025-07-09 18:08:11 -04:00
renovate[bot]
8148ac6883 chore(deps): update rust crate indicatif to 0.18 (#7890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-09 17:28:12 -04:00
Andy Leiserson
9834d9a446 Revert "Validate binding ranges against buffer size"
This reverts commit ef428fcab8.
2025-07-09 16:29:41 -04:00
Andy Leiserson
b0527800a1 Revert "Restore unintentional support for zero-size buffers"
This reverts commit c0a580d6f0.
2025-07-09 16:29:41 -04:00
renovate[bot]
e5b03ffa1d chore(deps): update cts digest to 223e1bf (#7888)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andy Leiserson <aleiserson@mozilla.com>
2025-07-09 15:34:42 -04:00
SupaMaggie70Incorporated
18691f5730 Rework of wgpu_hal vulkan buffer importing (#7824)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2025-07-09 15:19:37 -04:00
Andy Leiserson
c0a580d6f0 Restore unintentional support for zero-size buffers 2025-07-08 14:45:12 -07:00
Andy Leiserson
ef428fcab8 Validate binding ranges against buffer size 2025-07-08 14:45:12 -07:00
Andy Leiserson
3d0fe3a003 Check the math for buffer-texture copies 2025-07-08 12:11:56 -07:00
renovate[bot]
12591e4271 chore(deps): update cargo.lock (#7892)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-06 22:56:42 -04:00
renovate[bot]
7a8cdb226d chore(deps): update cargo.lock (#7891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-06 21:29:46 -04:00
renovate[bot]
b052fd45ff chore(deps): update crate-ci/typos action to v1.34.0 (#7889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-06 21:28:55 -04:00
Andy Leiserson
c3ceae97dd [ci] Configure renovate to update the CTS (#7879) 2025-07-03 23:34:23 -04:00
Andy Leiserson
b695317a9b Rg11b10ufloat should be resolvable when it is renderable (#7878) 2025-07-03 17:51:48 -04:00
Andy Leiserson
361fe34392 Check the parent texture in TextureView::try_raw 2025-07-03 10:03:32 -07:00
teoxoy
fc6c529fa8 Adjust DEVICE_DESTROY_THEN_MORE test for spec compliance 2025-07-02 11:11:37 +02:00
teoxoy
487f79ba44 Add missing device validity checks 2025-07-02 11:11:37 +02:00
teoxoy
e10e17907f remove DeviceError::ResourceCreationFailed 2025-07-02 11:11:37 +02:00
teoxoy
918fdc98b5 remove reason from ErrorType::DeviceLost since it's always "unknown" and users should register the lost callback instead 2025-07-02 11:11:37 +02:00
teoxoy
25d75e2a02 remove DeviceError::Invalid, this variant should be the same as DeviceError::Lost 2025-07-02 11:11:37 +02:00
Jim Blandy
2f890eb9b2 [core] Improve assert failure message for id epoch mismatches. (#7871) 2025-07-02 09:33:55 +02:00
Drew Crawford
92cda27b41 Implement on_submitted_work_done (#7864) 2025-07-01 13:21:27 -04:00
Andy Leiserson
86e6b1835b Tolerate destruction of textures used in immediate queue operations prior to submit 2025-06-30 10:29:50 -07:00
Andy Leiserson
26ca28e13c Use env_logger in cts_runner 2025-06-30 10:29:50 -07:00
Erich Gubler
7ff0bd784e fix!: remove WebGpuError impl. for Request{Adapter,Device}Error 2025-06-30 10:58:56 -04:00
Erich Gubler
c7e6170fd0 refactor(deno): use WebGpuError for error classification 2025-06-30 10:58:56 -04:00
Erich Gubler
cc0f4ac4bf refactor(wgpu)!: use WebGpuError for error classification 2025-06-30 10:58:56 -04:00
Erich Gubler
43eee99b29 refactor: extract did_fill_error_scope test helper from did_fail 2025-06-30 10:58:56 -04:00
Erich Gubler
964c5bbf4c feat(core): impl WebGpuError for API errors 2025-06-30 10:58:56 -04:00
Erich Gubler
c8752e5118 feat(types): add error::{ErrorType, WebGpuError} APIs 2025-06-30 10:58:56 -04:00
Erich Gubler
c3922d53d7 docs(types): Make docs. on DeviceLostReason variants less terse 2025-06-30 10:58:56 -04:00
Erich Gubler
d8d1af24b6 refactor(deno): impl From<wgpu_types::DeviceLostReason> for GPUDeviceLostReason 2025-06-30 10:58:56 -04:00