Commit Graph
9851 Commits
Author SHA1 Message Date
atlv ddcd89fd69 Implement shader barycentrics (#8320) 2025-10-29 13:15:21 -04:00
Erich Gubler 54beef8aca typo: TransferError:InvalidMipLevel: s/does no/does not/ (#8437) 2025-10-28 21:11:17 +01:00
renovate[bot] d8f97261d2 chore(deps): update cargo.lock (#8435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-27 11:59:42 +01:00
renovate[bot] 6ae3ee569f chore(deps): update cts digest to 3f7ca40 (#8433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-27 11:59:22 +01:00
renovate[bot] e4e89feeed chore(deps): update actions/upload-artifact action to v5 (#8434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-27 11:58:55 +01:00
Connor Fitzgerald ef1d31955a Factor out swapchain to abstracted interface (#8356) 2025-10-26 22:02:40 -04:00
charlotte 🌸 0810110bd7 Add pci bus and device uuid to AdapterInfo (#8290) 2025-10-24 11:53:44 -04:00
Friz64 982a2100f4 Delete .envrc (#8428) 2025-10-24 10:25:57 -04:00
Erich Gubler 18f4ed66c0 chore: satisfy unused_parens lint (#8424) 2025-10-23 18:35:18 -04:00
Erich Gubler e65468ec6a chore: s/allow/expect for clippy::collapsible_if (#8425) 2025-10-23 18:34:41 -04:00
Connor Fitzgerald a360732bb3 Delete shell.nix (#8415) 2025-10-23 15:04:50 -04:00
Connor Fitzgerald 02145c435c docs(CHANGELOG): import entries from v26.0.6, v27.0.4 2025-10-23 15:00:44 -04:00
Erich Gubler 48f047f947 docs(CHANGELOG): move #8250's entry to Unreleased 2025-10-23 15:00:44 -04:00
Erich Gubler 1ba953d4f3 docs(CHANGELOG): move #8247's entry to Unreleased 2025-10-23 15:00:44 -04:00
Erich Gubler 8e61646521 docs(CHANGELOG): import entries from v26.0.5, v27.0.3 2025-10-23 15:00:44 -04:00
Andy Leiserson 3ca6a1c0df Defer some bind group processing until draw/dispatch
This allows us to save some work when a bind group is replaced,
although WebGPU still requires us to fail a submission if any
resource in any bind group that was ever referenced during
encoding is destroyed.

Fixes #8399
2025-10-23 14:59:25 +02:00
Andy Leiserson e8dfc72d04 Small refactors related to bind group tracking for compute passes
* Don't remove resources from the usage scope, it is not necessary, and
  not useful, since we don't verify the scope is empty afterwards.
* Avoid some unnecessary `unsafe`.
2025-10-23 14:59:25 +02:00
Connor Fitzgerald b3d94317d4 [hal/vulkan] Wait for fence signalled in vkAcquireNextImage (#8420) 2025-10-22 23:16:09 -04:00
Andy Leiserson 7f644452f0 Check for attachment overlap using textures, not views (#8402) 2025-10-22 17:37:38 +02:00
Andy Leiserson d575c0234b Disallow mixing the raw encoding API with the wgpu API (#8373) 2025-10-22 11:34:40 -04:00
Erich Gubler 8eeb2e3305 Add step to create {crate_name}-vX.Y.Z tags in release processes (#8400) 2025-10-22 08:57:34 -04:00
Andy Leiserson 06a5084df3 [build] Waive cargo deny for unmaintained unic-* crates (#8394)
Related to #8393.
2025-10-21 17:24:42 -04:00
Erich Gubler 0f26cf29ca style(CHANGELOG): fix up some style issues (#8397) 2025-10-21 21:14:54 +00:00
Erich Gubler 8ddd320cf2 docs(CHANGELOG): add entry for #8311 (#8398) 2025-10-21 21:14:01 +00:00
renovate[bot] a2cde58ff7 chore(deps): update cts digest to 8f90672 (#8381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 10:06:40 -07:00
atlv fa93d134ad fix changelog typos (#8392) 2025-10-21 09:57:55 -04:00
Kevin Reid f366e9615f [types] Replace conditional derive(thiserror::Error) with unconditional impl. (#8384) 2025-10-20 22:27:57 +02:00
withtimezone 4ea04a69c9 chore: remove repetitive words in comment (#8385) 2025-10-20 14:42:54 -04:00
renovate[bot] 421fb18a25 chore(deps): update cargo.lock (#8383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 20:00:01 +02:00
Andy Leiserson 01a4a6ed29 build: Add --locked to Cargo commands in CI 2025-10-20 09:21:25 -04:00
Andy Leiserson 51012c35e4 build: Cargo.lock updates needed due to parallel changes 2025-10-20 09:21:25 -04:00
SamandSelkoSays 6e76a98c99 [naga const-eval] LiteralVector and some demo builtins (#8223)
* [naga] Add `LiteralVector` and `match_literal_vector!`

Co-authored-by: SelkoSays <70065171+SelkoSays@users.noreply.github.com>
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* [naga] Implement builtins dot, length, distance, normalize in const using LiteralVector

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Update snapshots

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Co-authored-by: SelkoSays <70065171+SelkoSays@users.noreply.github.com>
2025-10-18 07:28:09 -04:00
Erich Gubler 42a5760a6c test(ci): set naga log verbosity to info (#8372) 2025-10-17 23:57:24 -04:00
Kevin Reid 585397cc9e Remove fragile dependency constraint on ordered-float. (#8371)
Bounds like `<=5.0` should never be used unless necessary to avoid bugs,
because it will cause a build failure if another package has a
requirement like `~5.1.0` or `>=5.1.0`. Upper bounds should always cut
at a major version boundary, not before it.
2025-10-17 19:00:00 +00:00
Jerzy Wilczek a70b8336c0 fix: Move DropGuards to the end of their parent structs. (#8353) 2025-10-16 15:58:18 -04:00
Ryan KaplanandRyan Kaplan 756dd3c089 Fix bug where mapped range in WebBuffer is not cloned correctly (#8349)
Co-authored-by: Ryan Kaplan <ryan@Ryans-M2>
2025-10-16 15:56:45 -04:00
OpsticandConnor Fitzgerald f0209e3db8 Add support for transient textures on Vulkan and Metal (#8247)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2025-10-16 19:50:01 +00:00
Connor Fitzgerald 7fdc5f1086 Improve various TextureView error messages (#8323) 2025-10-16 15:07:12 -04:00
Erich Gubler e2f70c2481 refactor: satisfy mismatched_lifetime_syntaxes lint (#8350) 2025-10-16 11:30:30 -04:00
Inner Daemons 70e2302ace Made conv public (#8364) 2025-10-16 04:07:12 +00:00
Kevin Reid 37bd31ce5d Prune unused dependencies.
* Removed unnecessary dependency in `wgpu` on `hashbrown`.
* Removed unused dependencies in `naga-test`.
* Moved some dependencies in `wgpu-test` to `[dev-dependencies]`
  (see comment for why this is worth doing).

Candidates were discovered by `cargo clippy -- -Wunused-crate-dependencies`.
This command reports whether each dependency is unused in each *crate*,
so it has false positives when a dependency is used by only some crates
in a package, but it is still useful as a short-list.
2025-10-15 21:33:20 -04:00
Kevin Reid 98c345800a [hal] Replace cargo-clippy feature with lint configuration. 2025-10-15 19:34:40 -04:00
Kevin Reid a6f70c7f35 [hal] Remove unused rustc-hash dependency. 2025-10-15 19:34:40 -04:00
Kevin Reid 00b4258b32 [hal] Remove spurious gpu-allocator feature flag.
There was an implicit `gpu-allocator` feature because there was no
`dep:` on the optional `gpu-allocator` dependency, but enabling the
`gpu-allocator` feature does nothing (there are no occurrences of
`#[feature = "gpu-allocator"]`) so it has no reason to exist.
* `
2025-10-15 19:34:40 -04:00
Andy Leiserson cb13fbe4a7 [cts_runner] Print uncaptured errors to stderr (#8263)
This is useful when running test snippets. Update READMEs including to
mention how to do that.
2025-10-15 16:13:04 -04:00
renovate[bot] f935660d54 chore(deps): update cargo.lock (#8340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 13:08:27 -04:00
renovate[bot] 555162ba13 chore(deps): update crate-ci/typos action to v1.38.1 (#8338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 13:06:54 -04:00
Erich Gubler 54ded60d8e fix(dx12): align tex. <-> buf. copies via intermediate buffer if !UnrestrictedBufferTextureCopyPitchSupported 2025-10-14 09:39:56 -04:00
Erich Gubler 53f3da3f1b test(cts): add …,image_copy:undefined_params:* with current failures 2025-10-14 09:39:56 -04:00
Erich Gubler ce69059fdf refactor(dx12): extract copy_aligned in copy_texture_to_buffer 2025-10-14 09:39:56 -04:00