Commit Graph
9987 Commits
Author SHA1 Message Date
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 FitzgeraldandJMS55 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 FitzgeraldandKevin Reid 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 f314b1611a.
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
Erich Gubler ee08b916e5 An even fancier CHANGELOG check in CI (#8416) 2025-11-26 17:50:22 -05:00
Moritz Zielke 3a157f7497 test(naga): assert error for ImageStore type mismatch (#8494) 2025-11-26 12:51:58 -05:00
Andy Leiserson 0cd4d31d45 Add some comments relating create_texture validation to the spec (#8569)
Fixes #8568
2025-11-26 18:17:47 +01:00
Andy Leiserson 7985f571be Adjust the placement of the zero size check for some texture copies (#8567) 2025-11-26 18:12:47 +01:00
renovate[bot] 0cb64c47c6 Update actions/checkout action to v6 (#8563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-24 09:28:54 -05:00
renovate[bot] 6a179fc53f Update Cargo.lock (#8564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-24 09:27:54 -05:00
renovate[bot] 836d3c22de Update cts digest to 3ba0344 (#8562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-24 09:27:28 -05:00
Vecvec 594bc69022 Add more info to the ray tracing spec. (#8559) 2025-11-24 03:01:02 +00:00
Andy Leiserson 119b4efada [naga wgsl-in] Short-circuiting of && and || operators (#7339)
Addresses parts of #4394 and #6302
2025-11-19 17:06:49 -08:00
David Rivera 1f99103be8 [naga msl-out] Annotate dot product functions as wrapped functions 2025-11-19 10:40:21 -08:00