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 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
Opstic
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
Erich Gubler
4db543cf9b
refactor(hal): impl. From conversions b/w wgh::CopyExtent and wgt::Extent3d
2025-10-14 09:39:56 -04:00
Erich Gubler
fd7530a011
refactor(dx12): lower list extraction for copies between textures and buffers
2025-10-14 09:39:56 -04:00
Erich Gubler
517018e9ae
refactor(dx12): detect UnrestrictedBufferTextureCopyPitchSupported
2025-10-14 09:39:56 -04:00
Kanashimia
2ed308a76a
docs(types): swap Higher and Lower for *_subgroup_size ( #8344 )
2025-10-14 09:03:55 -04:00
Jim Blandy
3a78566105
[wgpu-hal] Fix mismatched_lifetime_syntaxes lint in gles. ( #8324 )
...
Add a placeholder lifetime to `AdapterContext::get_without_egl_lock`
to address Clippy's concerns about easy-to-misread function
signatures.
2025-10-13 13:21:54 -04:00
Andy Leiserson
3f7dae1a30
Additional api_logging for passes ( #8326 )
2025-10-13 13:19:29 -04:00
renovate[bot]
26b83e75ae
chore(deps): update rust crate ctor to 0.6 ( #8339 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-13 10:54:17 -04:00
renovate[bot]
d15e6e6f5f
chore(deps): update cts digest to dd4ecea ( #8337 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-13 07:18:57 -07:00
Jim Blandy
1cbebdcffe
[core] Don't skip binding index checks for derived layouts. ( #8325 )
...
When deriving a bind group layout for a pipeline, bother to enforce
`wgpu_types::Limits::max_bindings_per_bind_group`. Move the check:
- from `wgpu_core::device::bgl::EntryMap::from_entries`, which is only used
for explicit bind group creation
- into `wgpu_core::device::Device::create_bind_group_layout`, which is used
for all bind group layout creation.
2025-10-10 16:38:35 +00:00
Tom Schuster
2e48faf95d
Map more limits in WebGPU ( #8328 )
2025-10-10 12:11:16 -04:00
Robin Cramer
d0bb62a157
Added from_custom to texture ( #8315 )
2025-10-09 17:22:54 +02:00
Andy Leiserson
3958790a85
refactor: Split finish between Global and CommandEncoder ( #8288 )
2025-10-09 15:13:45 +02:00
Erich Gubler
adf4b2f2de
fix: reject fragment shader output locations > max_color_attachments limit
2025-10-08 16:34:43 -04:00
Erich Gubler
1f91bfe465
refactor: check_stage: convert if to match for I/O checks
2025-10-08 16:34:43 -04:00
Erich Gubler
93692470ab
refactor: Interface::check_stage: use concat!(…) for non-invariant @builtin(position) warning
2025-10-08 16:34:43 -04:00
Erich Gubler
bbedf6c226
docs(CHANGELOG): polish enumerate_adapters-is-async section ( #8318 )
...
* docs(CHANGELOG): polish `enumerate_adapters`-is-`async` section
* docs(CHANGELOG): indirectly acknowledge "yield" joke
2025-10-08 18:19:00 +00:00
Sam
a8f51f8fd1
Split MipmapFilterMode from FilterMode ( #8314 )
2025-10-08 18:06:33 +02:00
Erich Gubler
8ff1eb995d
typo(CHANGELOG): s/elimnating/eliminating ( #8317 )
2025-10-07 12:23:06 -07:00
renovate[bot]
854664a90d
chore(deps): update crate-ci/typos action to v1.37.3 ( #8306 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2025-10-06 19:32:39 +00:00
Robin Cramer
4652ea4189
Changed enumerate_adapters to be able to work with custom backends ( #8230 )
...
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2025-10-06 19:27:23 +00:00
Teodor Tanasoaia
1072b87894
Fix stray comma in function signatures in Metal ( #8311 )
...
Fixes a regression introduced by #8265 where we were mistakenly writing a comma before the first buffer argument (if no other arguments were printed before it).
2025-10-06 18:59:45 +00:00
Connor Fitzgerald
ad15442b89
Improve error message when image write without format used ( #8294 )
2025-10-06 19:25:25 +02:00
Connor Fitzgerald
e73d0558f0
Fix docs.rs build ( #8292 )
2025-10-06 13:11:48 -04:00
Connor Fitzgerald
d28fb4d776
Update changelog for release v27.0.2 ( #8293 )
2025-10-06 13:11:35 -04:00
renovate[bot]
abc2dfab52
chore(deps): update cts digest to 9fe13c9 ( #8305 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-06 09:00:33 -07:00
Clar Fon
790235717e
Make include_spirv actually work statically ( #8250 )
2025-10-04 09:50:52 +02:00
Andy Leiserson
334170b21e
Block creating mesh shader pipelines when the feature is not available ( #8298 )
2025-10-04 03:12:52 -04:00
David Stern
b3c6a0b5cc
Gate DX12 mesh shader command signature initialization on device support. ( #8297 )
2025-10-04 00:41:58 +00:00
Connor Fitzgerald
482a983e10
Release v27 ( #8287 )
naga-cli-v27.0.0
naga-v27.0.0
v27.0.0
wgpu-core-deps-apple-v27.0.0
wgpu-core-deps-emscripten-v27.0.0
wgpu-core-deps-wasm-v27.0.0
wgpu-core-deps-windows-linux-android-v27.0.0
wgpu-core-v27.0.0
wgpu-hal-v27.0.0
wgpu-info-v27.0.0
wgpu-types-v27.0.0
wgpu-v27.0.0
2025-10-01 19:36:18 -04:00
renovate[bot]
9380b87755
chore(deps): update cargo.lock ( #8229 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2025-10-01 22:42:49 +00:00
Andreas Reich
333f811e9c
Rework wgpu::PollType to only two enum variants ( #8285 )
2025-10-01 18:08:07 -04:00
Jim Blandy
43eccd28f8
[naga] Remove naga::path_like. Use String instead. ( #8284 )
...
Delete the `naga::path_like` module, and simply using `String` and
`str` instead.
Nothing in Naga uses `Path` or `PathBuf` methods; indeed, Naga only
converts these values back and forth from string-like types with
`to_string_lossy` and `into`, such that using string-like, rather than
path-like, types actually simplifies the code.
This also avoids dead code warnings starting in Rust 1.89 that would
otherwise require distracting `#[cfg_attr]` conditionals.
2025-10-01 18:08:18 +02:00
Andy Leiserson
5b194ec510
[deno] Remove kludge for type properties ( #8262 )
2025-10-01 11:23:46 -04:00