Commit Graph
10267 Commits
Author SHA1 Message Date
Connor Fitzgerald 04746e747e Implement 3 part MSRV policy (#8999) 2026-02-08 17:04:36 -05:00
Tom Schuster 30c90b3c48 WebGPU: Implement GPUDebugCommands (#9017) 2026-02-08 08:55:57 -05:00
Tom Schuster 34f4cda959 WebGPU: Skip copy in Queue::write_buffer (#9018) 2026-02-08 08:55:08 -05:00
Tom Schuster 84af1a4beb WebGPU: Use set_required_limits (#9015) 2026-02-06 19:11:13 -05:00
Tom Schuster 7e7f1ce942 WebGPU: Implement Adapter.get_info (#9016) 2026-02-06 19:10:19 -05:00
Andy Leiserson 6be68cbc65 fix(deno): Remove early validation of depthClearValue (#9000) 2026-02-04 19:03:51 -07:00
Andy LeisersonandErich Gubler 26a4f6679d test(cts): Invoke cts_runner directly instead of via a cargo build (#8960)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-02-04 11:41:39 -07:00
Andy Leiserson 3b55cf9b8c fix(metal): Don't panic on OOM in create_buffer (#8994) 2026-02-03 19:42:31 -07:00
Andy Leiserson 835560396f test(cts): Enable some external texture tests (#8901) 2026-02-03 15:58:21 -08:00
Andy Leiserson 96e3af8c4d chore(deps): Update bytes (#8989)
Resolves a `cargo-deny` security advisory warning.

`bytes` is used only as a transitive dependency of deno, so the advisory
does not apply to wgpu.
2026-02-03 15:39:57 -05:00
Luo Zhihao da5a61be7b Fix typo in doc of VertexFormat::Sint16 (#8988) 2026-02-03 11:39:34 -08:00
Andy Leiserson 6e16e04a44 fix(naga): Detect overflowing const shift amounts at compile time 2026-02-03 12:59:48 +01:00
Andy Leiserson afbb31eb1a fix(naga): Disallow const shifts of scalar by vector or vice-versa 2026-02-03 12:59:48 +01:00
Andy Leiserson dbab82fe42 chore(naga): Downgrade some log messages to debug 2026-02-03 12:59:48 +01:00
Andy Leiserson 28bc72f5bc fix(naga): Validate swizzles in lowering (#8949) 2026-02-03 01:38:28 +00:00
Mads Marquart a5116520b0 metal: Move API availability checks out of PrivateCapabilities
We always want to call newer methods if available, so there is no need
to store this in a variable if we can use the `available!` macro
directly at the usage site.
2026-02-02 17:08:14 -08:00
Mads Marquart 13a1da5df1 metal: Use objc2::available! macro
This is clearer than the check against `NSOperatingSystemVersion`, and
the `available!` allows being compiled away if the deployment target is
specified to be high enough.

The `available!` macro also allows checking against patch versions.
2026-02-02 17:08:14 -08:00
renovate[bot]andAndy Leiserson ad925cafed chore(deps): update crate-ci/typos action to v1.43.0 (#8978)
* chore(deps): update crate-ci/typos action to v1.43.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andy Leiserson <aleiserson@mozilla.com>
2026-02-02 11:55:24 -08:00
renovate[bot] b5c53856b7 chore(deps): update cargo.lock (#8979)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-02 10:38:53 -08:00
renovate[bot] 33e8e50fd9 chore(deps): update cts digest to 0ae1164 (#8977)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-02 09:54:48 -08:00
Erich GublerandAndy Leiserson 1d6036f95a test(cts): move from --quiet and --verbose to --print-output-when (#8936)
Co-authored-by: Andy Leiserson <aleiserson@mozilla.com>
2026-02-02 16:28:06 +00:00
Teodor Tanasoaia a54dec07eb [wgsl-in] Avoid looking up newly introduced parameter names while parsing function parameters and its return type. (#8980) 2026-02-02 06:15:05 -07:00
Luo Zhihao c0f04c801c Validate strip_index_format equals index buffer format for indexed drawing with strip topology 2026-02-01 23:14:52 -08:00
Mads Marquart b9c09622ce fix(naga): Fix macOS 10.12 nested initializers
The Metal 2.0 compiler (shipped with macOS 10.13 and Xcode 9.0) has
allowed flattening aggregate initializers, but when running on macOS
10.12, we still use the old compiler, so to support that, we need to use
nested initializer lists.
2026-02-01 22:37:52 -08:00
Erich Gubler a586d96be9 refactor(vulkan): use array iterator + all for tex. fmt. support queries (#8964) 2026-02-01 00:02:00 -05:00
Andy Leiserson 35916162fd test(cts): Update lists with triage results (#8967)
* test(cts): Update lists with triage results

* more test list updates

* Even more test list updates
2026-01-31 23:15:28 -05:00
Andy Leiserson 2c9e77a19d clippy: Adjust large-error-threshold and remove waivers (#8974) 2026-01-30 22:37:24 -05:00
Inner Daemons fab57513ec Add metallib passthrough (#8886) 2026-01-30 13:52:05 -05:00
Andy Leiserson 1af73121f4 fix(core): Read-write bindings are compatible with write-only shaders (#8951)
Fixes #8905
2026-01-30 09:44:22 -08:00
Andy Leiserson 735e8d2a40 Fix validation related to depth bias and frag_depth
* Depth bias is only supported with triangle topologies (fixes #6071)
* If the shader outputs `frag_depth`, the pipeline must have a depth
  attachment
2026-01-30 09:36:29 -08:00
Andy Leiserson b316204dff Allow shaders w/ dual-source blend I/O in non-DSB pipelines
Fixes #8592
2026-01-30 09:36:29 -08:00
Andy Leiserson 3bacd7bee5 refactor(core): Tweak dual-source blending validation 2026-01-30 09:36:29 -08:00
Andy Leiserson 6b108091cc test(naga): Change test span generator to a struct (#8968) 2026-01-30 10:11:07 -05:00
Andy Leiserson c6bf076d78 fix(naga): Reject unsupported enable extensions (#8913)
Previously we required that the enable extension be declared and that
the capability be present if the functionality was used, but allowed the
extension to be declared if the functionality was not used.
2026-01-30 10:08:04 -05:00
Andy Leiserson a24965f8b7 fix(naga): Coerce matrix initializers to concrete floats (#8817) 2026-01-29 18:00:26 -08:00
Andy LeisersonandJim Blandy 70a7f83ea8 naga: Enforce @must_use for built-in functions (#8713)
---------

Co-authored-by: Jim Blandy <jimb@red-bean.com>
2026-01-29 15:03:29 -08:00
Sam f7ce2a0052 wgpu: Relese map_context lock before map_async closure call (#8966) 2026-01-29 14:49:51 -05:00
Vecvec 8a37e0f56a [wgsl in and IR] naga ray tracing pipelines (#8570) 2026-01-29 14:18:56 -05:00
Erich Gubler c0c7aafe1b docs(CHANGELOG): nest unreleased Changes > General section properly (#8965) 2026-01-29 18:14:08 +00:00
Kevin Reid b0a5da442e Make internal-use hidden macros crate-private instead. (#8961) 2026-01-29 12:38:54 -05:00
Timo KöstersandErich Gubler b93bab52bc feat: support blendable f32 textures on vulkan (#8963)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-01-29 17:07:22 +00:00
Inner Daemons c82e37b683 Validate pipelines with passthrough shaders but no explicit layout passed (#8881) 2026-01-28 20:14:33 -05:00
Timo Kösters db8270e3bc docs: clarify bytes_per_row requirement (#8959) 2026-01-28 23:03:33 +00:00
Andy Leiserson b512f7e36f test(naga): Tests for mesh shader extension validation (#8871) 2026-01-28 16:36:30 -05:00
renovate[bot] 7717c87f28 chore(deps): update rust crate glam to 0.31.0 (#8928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-28 16:34:10 -05:00
Vecvec f3b5243db7 Refactor build_acceleration_structures to require fewer passes (#8904) 2026-01-28 16:14:28 -05:00
Sam 2d2b109111 wgpu: Require Drop on *PassInterface and remove end from it (#8851) 2026-01-28 15:55:59 -05:00
Erich Gubler e816bd7ed4 build: add cargo component to rust-toolchain.toml
I noticed that when I force-updated the toolchain being used for wgpu,
I got an error about the `cargo` binary not being available after
redirecting a naive `cargo` invocation to the set of binaries for the
1.93 toolchain. This fixes that issue.
2026-01-28 15:42:38 -05:00
Erich Gubler 487afd21e4 chore: update REPO_MSRV 1.92 → 1.93 2026-01-28 15:42:38 -05:00
Erich Gubler 59c351be6a refactor: satisfy clippy::unnecessary_unwrap
New in Rust 1.93! Reference:
[`clippy::unnecessary_unwrap`](https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#unnecessary_unwrap)
2026-01-28 15:42:38 -05:00