9997 Commits

Author SHA1 Message Date
Andy Leiserson
6141fe5bc3
docs(CHANGELOG): Update PR link (#8685) 2025-12-08 13:34:49 -05:00
Teodor Tanasoaia
d41e43bc60
[wgpu-core] validate occlusion and pipeline statistics queries end (#8684) 2025-12-08 18:42:26 +01:00
Andy Leiserson
51490ea45a
[naga] Add capabilities governing binding array types (#8671) 2025-12-08 17:11:03 +01:00
Connor Fitzgerald
c272cd163a Fix multiple_devices test on non-compute hardware 2025-12-08 12:26:45 +01:00
Connor Fitzgerald
20f5b835a7 Naga does not let storage buffers or compute happen on old GL versions 2025-12-08 12:26:45 +01:00
Connor Fitzgerald
136edde52a Widen checks for the creation of the indirect validator 2025-12-08 12:26:45 +01:00
Connor Fitzgerald
e3149bac9e
LoadOp::DontCare (#8549) 2025-12-08 03:41:38 +00:00
renovate[bot]
b9821cacd1
chore(deps): update cargo.lock (#8683)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-07 22:31:52 -05:00
renovate[bot]
b46cdf4961
chore(deps): update cargo.lock (#8682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-07 21:54:30 -05:00
Connor Fitzgerald
a356cb2026
Update Repo MSRV to 1.91 (#8678) 2025-12-07 21:52:35 -05:00
Connor Fitzgerald
40b2d3041b
[dx12] Fix detection of Int64 features (#8667) 2025-12-07 17:55:04 +01:00
Connor Fitzgerald
fd671d45a8
Use test to generate .gpuinfo file to reduce recompilations (#8660) 2025-12-07 17:46:47 +01:00
David Stern
889055fb70
Make some surface operation errors non-fatal. (#8622) 2025-12-07 17:42:13 +01:00
Sam
90db08157c
wgpu: Add get_configuration to Surface (#8664) 2025-12-06 11:10:16 -05:00
Layl
21e6143ed0
Add MULTISAMPLE_ARRAY feature flag. (#8571) 2025-12-05 18:31:05 +01:00
Connor Fitzgerald
d85408afb2
Remove hold of snatch write lock during present (#8608) 2025-12-05 10:44:04 -05:00
Kevin Reid
655441c162 Clean up wgpu::util SPIR-V loading functions.
* "SPIR-V", not "SPIRV".
* Give better error messages: always mention the magic number if it is
  missing, rather than the length.
* Use `bytemuck` instead of unsafe code in the non-const version.
* Remove unnecessary `Aligned` wrapper type (`transmute_copy` only cares
  that the input is aligned for its own type, not the output type).
* Add more tests and put them in a test module.
2025-12-04 20:36:03 -05:00
Kevin Reid
168e573fd6 Move SPIR-V util functions to a separate module. 2025-12-04 20:36:03 -05:00
Kevin Reid
9611ecbfa3 Delete unused *.spv files. 2025-12-04 20:36:03 -05:00
Andy Leiserson
711721b04c
[wgpu] Properly drop CoreRenderBundles (#8661) 2025-12-04 18:29:47 -05:00
Connor Fitzgerald
9a41de4e96
Move subgroup size info to AdapterInfo (#8609)
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com>
2025-12-04 17:01:56 +00:00
Connor Fitzgerald
57a6cc1514
Limit ray_cube_normal test failure to AMD prop (#8624) 2025-12-04 17:43:32 +01:00
Erich Gubler
225aa4d027
style(CHANGELOG): run prettier (#8651) 2025-12-04 08:35:08 -05:00
Connor Fitzgerald
8003fcbc4c
Update screenshot tolerances (#8648) 2025-12-04 13:10:17 +01:00
[Assassin]
ae900405e7
Re-export Dx12SwapchainKind and Dx12UseFrameLatencyWaitableObject (#8627) 2025-12-03 12:11:08 -05:00
Connor Fitzgerald
db907d90b1
Remove unneded feature from encoder_operations_fail_while_pass_alive test (#8606) 2025-12-03 11:31:46 -05:00
Connor Fitzgerald
af2d45e3f3 [naga xtask] Remove cargo xtask bench 2025-12-03 11:29:56 -05:00
Connor Fitzgerald
ca5e3f5ace Remove criterion from Cargo.toml 2025-12-03 11:29:56 -05:00
s-ol
2a7e8700ad
unify vk_hal::Texture::{block, external_memory} in enum TextureMemory (#8521) 2025-12-03 17:21:54 +01:00
Connor Fitzgerald
b94c194bc9
Convert error scopes to use thread-local guards (#8595)
Co-authored-by: Kevin Reid <kpreid@switchb.org>
2025-12-02 19:11:55 +00:00
Andy Leiserson
76f8c2c603
Include cts_runner tests in CTS jobs (#8547)
* Include cts_runner tests in CTS jobs

* Don't use llvm-cov for cts_runner tests
2025-12-02 13:06:09 -05:00
Connor Fitzgerald
218b65f9a8 Add gpu-assisted validation to a few tests 2025-12-02 12:47:49 -05:00
Connor Fitzgerald
69e092381b Fix big_compute_buffer examples 2025-12-02 12:47:49 -05:00
Kevin Reid
afec4b73c8 [glsl-out] Split some code out of glsl/mod.rs
These items get their own files, roughly matching the style of other
backends:

* `Writer`
* Miscellaneous conversion functions
2025-12-01 19:40:25 -05:00
Kevin Reid
d2c6f44454 [spv-in] Split spv/mod.rs into two files.
`Frontend::next_block()` is the bulk of the logic, and moving it and
nothing else into a separate file produces an even split in half.

This is, of course, inferior to figuring out some way to make the huge
function smaller, but it should be a cheap benefit to editability
meanwhile.
2025-12-01 19:40:25 -05:00
Kevin Reid
2ca7ed99ba
Break up wgpu-types/src/lib.rs into more files. (#8607) 2025-12-01 14:27:45 -05:00
Connor Fitzgerald
5895de82b5
Rename push constants to immediates (#8586) 2025-12-01 15:20:02 +01:00
renovate[bot]
37c38e0741
chore(deps): update cargo.lock (#8602) 2025-12-01 06:56:44 +00:00
renovate[bot]
59b73cc865
Update crate-ci/typos action to v1.40.0 (#8600) 2025-12-01 01:37:49 -05:00
renovate[bot]
bd563c6eff
Update cts digest to 4595051 (#8599) 2025-12-01 01:37:23 -05:00
atlv
75188a7fe1
Fix mesh shader naga capability bit (#8588) 2025-11-28 03:45:07 +00:00
Connor Fitzgerald
ed6b78936a
Make error scopes thread local (#8585) 2025-11-27 11:20:30 +01:00
Connor Fitzgerald
f91d9f385b
Fix vscode issues on wasm32 (#8584) 2025-11-27 10:56:43 +01:00
Connor Fitzgerald
babd6940d9 Revert "Lower blas_max_primitve_count (#8446)"
This reverts commit f314b1611a9ed48cadacc8589dd1d274c41f58d6.
2025-11-27 10:56:10 +01:00
Connor Fitzgerald
72f376fee4 Update to mesa 25.2.7 2025-11-27 10:56:10 +01:00
Connor Fitzgerald
dc01e6e213
Normalize logging levels (#8579) 2025-11-27 10:55:02 +01:00
Martin Svanberg
f114138e52
Support STORAGE_RESOURCE_BINDING_ARRAY on Metal (#8464) 2025-11-26 20:18:10 -05:00
Kevin Reid
fa4c8e8198 Make links from wgpu-types to wgpu work in docs.rs.
As a bonus, the macro now allows defining such links while writing the
item name only once instead of twice.
2025-11-26 20:15:53 -05:00
Eric Engestrom
803e48ca3b
hal/vulkan: fix invalid request of VK_EXT_physical_device_drm as an instance extension (#8554) 2025-11-26 17:52:14 -05:00
Alix Bott
43c5d27219
fix double window class registration (#8548) 2025-11-26 17:51:41 -05:00