Commit Graph
10959 Commits
Author SHA1 Message Date
Andy Leiserson 1a3a4cc27d chore(deps): Disable renovate minimumReleaseAge (#9927) 2026-07-27 07:43:02 -04:00
Tom Schuster 83b9fa1661 WebGPU: Handle GpuInternalError (#9919) 2026-07-25 19:14:50 +00:00
Sam 4e3117a2e5 [core] Always return surface wrapped in arc (#9916)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-25 20:39:45 +02:00
Sam 27597cf960 [core] Inherit InstanceFlags in Device via Adapter (#9915)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-25 20:34:55 +02:00
Sam 34755a7163 [core] device_create_texture_view -> Texture::create_view (#9895)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-25 20:23:50 +02:00
Rui He a37b252881 fix(vulkan): build pipeline barrier based on queue family properties (#9594) 2026-07-25 18:01:30 +00:00
Erich Gubler cb8932a994 refactor(core): qualify features_to_naga_capabilities 2026-07-25 07:48:35 -07:00
Marc Stampfli 4d4c1e1888 docs: correct BlasAabbGeometry stride reference and document AABB layout (#9934) 2026-07-25 18:58:33 +12:00
ozongziandErich Gubler 8b419de090 hal/vulkan: add OpenHarmony surface support (#9908)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-07-24 07:46:03 -04:00
Erich Gubler bb8f23e343 ci: fix UX for prettier failures (#9926) 2026-07-23 11:01:25 -07:00
dependabot[bot] d5977df452 Bump body-parser from 2.2.2 to 2.3.0 in /tests/wasm/runner (#9920)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-22 18:13:35 -07:00
Jim Blandy 4b8e994585 Doc fixes for wgpu_types::Backend::Gl. 2026-07-22 13:23:47 -07:00
Erich Gubler d9423aa657 refactor(hal): move raw-gles' glutin deps section (#9925) 2026-07-22 17:26:57 +02:00
Jim BlandyandClaude Sonnet 5 f892b2e235 spv-out: don't dynamically index PushConstant vectors with OpAccessChain
Per VUID-RuntimeSpirv-None-04745, all accesses into a PushConstant-storage-class
variable that are arrays must use dynamically uniform indices; this restriction
also applies to vectors. Naga was emitting `OpAccessChain` with per-invocation
(non-uniform) indices directly into push-constant vectors, which is undefined
behavior under that rule -- observed on RADV as every invocation silently
reading element 0 of the vector.

Add a special case to `write_checked_load`, alongside the existing matCx2
ones, that loads the whole vector and uses `OpVectorExtractDynamic` instead,
which isn't subject to the restriction.

Fixes gfx-rs/wgpu#8612.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 12:05:24 -07:00
Andy Leiserson c97d22fff4 fix(core): Add some missing validity checks (#9913) 2026-07-21 07:36:40 -04:00
sagudev 0eb5b623df Replace all occurrences of Global:: in rustdocs with methods on Resources
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-20 17:36:36 -07:00
sagudev 3c51fc05b5 remove stale profiling scopes
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-20 17:36:36 -07:00
Sam 43b7ff9220 [core] Move Device::configure_surface to Surface::configure (#9898)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-20 17:31:53 -07:00
Andy Leiserson b2be758b64 fix(naga spv-out): Sanitize debug strings (#9904) 2026-07-20 20:41:22 +00:00
Luo Zhihao 0ae95c7365 Fix flush_immediates out of range (#9906) 2026-07-20 19:38:08 +00:00
Luo Zhihao 77c17d24b0 Fix required immediate slots calculation and panics when slots overflow (#9725) 2026-07-20 12:06:14 -07:00
Zac Harrold e5e01423fd [naga]: Test all supported no_std features in CI 2026-07-20 16:36:17 +02:00
Zac Harrold e20fd3852f [naga-types]: Test no_std compatibility in CI 2026-07-20 16:36:17 +02:00
Jim Blandy 66794b9e0f Update Mesa version to 26.1.3.
In `.github/workflows/artifacts.yml`, update `MESA_VERSION` to 26.1.3.

Hopefully that incorporates the fix for [mesa#15489], which is blocking
[wgpu#9903].

[mesa#15489]: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15489
[wgpu#9903]: https://github.com/gfx-rs/wgpu/pull/9903
2026-07-20 06:49:44 -07:00
Jim Blandy 4fc17708e6 Fix cooperative matrix tests on RADV and llvmpipe. (#9892) 2026-07-20 08:33:03 -04:00
Andy Leiserson ef79a923cf hal/vulkan: With internal_error_panic, panic on Vulkan validation errors (#9879) 2026-07-17 12:41:57 -07:00
Anton Wagner 59209f2761 Deduplicate TLAS build dependencies by unique BLAS (#9835) 2026-07-17 19:29:35 +12:00
Inner Daemons a9beb0dc1f fix(core): Disallow view with TextureAspect::All on multi-planar textures (#9703) 2026-07-16 13:39:32 -07:00
Kevin Reid 888e749799 Rename TextureFormat::is_srgb() to has_srgb_suffix(). (#9758) 2026-07-16 20:29:00 +00:00
Erich Gubler d73f0e5315 build: consume cfg_aliases 0.2.2 (#9885) 2026-07-16 15:39:48 -04:00
sagudev f680a2c242 [core] Make Global methods of RenderBundleEncoder thin
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
sagudev 06d50f9fc5 Arced resources in RenderBundleEncoder
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
sagudev 0e330246cd check device validity at creation
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
sagudev 09e21cfa7b pass arced device to RenderBundleEncoder
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
sagudev 0eb09514a4 [core] Remove bundle_ffi
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
Jeffrey Vo de9f9f4de8 fix(naga msl-out): Support sampler lod_clamp & max_anisotropy (#9842) 2026-07-16 12:21:07 -04:00
Erich Gubler 014d9e8481 fix: use vk::Fence::null on non-Windows swapchain (#9878) 2026-07-16 16:16:17 +00:00
Erich Gubler 15d817e404 Suppress semicolon_in_expressions_from_macros lint in build scripts (#9884) 2026-07-16 15:43:51 +00:00
Andy Leiserson 554335d338 cts: Enable strict WebGPU compliance in cts_runner (#9881) 2026-07-16 07:22:21 -04:00
Nick Babcock 4e58833072 Add wasm64 backend support for the web
This commit:

- Bumps glow to 0.18 which gains support for wasm64
- Updates cfg gates from `target_arch = "wasm32"` to `target_family =
"wasm"`

This commit, unfortunately, does not touch upon example code as that
brings in getrandom 0.3 (0.4 supports wasm64) through flume and
futures-lite
2026-07-15 09:15:33 -07:00
Andy Leiserson bfdd45b6b8 fix(core): Add missing indirect draw validation for render bundles (#9871) 2026-07-15 08:55:22 -07:00
Erich Gubler d19bc953ce fix(msl-out): populate TypeContext::access when printing storage texture function arguments (#9867) 2026-07-15 11:42:02 -04:00
Erich Gubler ee9f40c316 chore: remove package.authors in Cargo.toml (#9862) 2026-07-15 11:41:12 -04:00
Sir 7c39e70502 printing average frame time in examples/halmark when bunnies are spawned after first 100 frames (#9854) 2026-07-15 17:36:11 +02:00
Andy Leiserson 372f23df12 test: Annotate expected failures on Metal and MoltenVK (#9850) 2026-07-15 07:19:44 -07:00
Andy Leiserson c098b029a2 test: Dynamic offset storage binding test for #9865 (#9866) 2026-07-15 03:27:01 -04:00
Erich Gubler 04129aadaf style: change {dxgi,dyn}_lib from CRLF → LF (#9868) 2026-07-14 09:54:04 -07:00
Luo Zhihao d056b0e025 Validate pipeline layout immediate_size and fix its calculation when there are multiple immediate variables (#9711) 2026-07-14 09:47:17 -07:00
renovate[bot] 6bbaf27426 Update tombi-toml/setup-tombi action to v1.2.0 (#9852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-14 09:30:48 -04:00
renovate[bot] 1f56415f14 Update cts digest to 921e3df (#9851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-13 10:45:11 -07:00