Commit Graph
10281 Commits
Author SHA1 Message Date
Tom Schuster c12ce038cd WebGPU: Skip copy in Queue::write_texture (#9038) 2026-02-11 22:01:34 -05:00
RobandConnor Fitzgerald 95392decd0 Add no_std support for the wgpu/web feature (#8981)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-02-11 23:39:34 +00:00
Tom Schuster c11bf18a5c WebGPU: Implement begin_occlusion_query and end_occlusion_query (#9039) 2026-02-11 23:19:42 +00:00
Inner Daemons 6503562948 Add a DX12 backend option to force a certain shader model (#8984) 2026-02-11 18:14:30 -05:00
Inner Daemons ed12b74168 Changed wgpu to default to static dxc when the feature is enabled (#8882) 2026-02-11 22:41:45 +00:00
Tom Schuster 20b746f0c0 WebGPU: Support TextureFormat::Rgb10a2Uint (#9037) 2026-02-11 16:16:28 -05:00
Inner Daemons 7609ed99e5 Add draw_id builtin (#8883) 2026-02-11 20:47:29 +00:00
Jim Blandy 7c74c1d606 [cts_runner] Fix link to instructions for running CTS tests. (#9033) 2026-02-11 11:29:26 -05:00
renovate[bot] 237fb4ad50 chore(deps): update crate-ci/typos action to v1.43.4 (#9026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 16:16:13 +00:00
Andrés Ortega ad93a2391a Fix typo in documentation comment (#9035) 2026-02-11 11:07:20 -05:00
09f49b6f97 feat(gles): Add GlDebugFns option to disable OpenGL debug functions (#8931)
Co-authored-by: mobile-pusher-bot[bot] <127349242+mobile-pusher-bot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-02-11 17:05:32 +01:00
David Lenaerts a7ed7f4f12 Cause shader recompilation when changing shader constants in GLES (#8291) 2026-02-11 07:47:11 +00:00
Inner Daemons 702c4ef4da [wgsl] gate primitive_index built-in behind its extension & [glsl-out] require extensions for gl_PrimitiveID if needed (#8879) 2026-02-10 12:40:41 +01:00
renovate[bot] 47ce3cbd24 chore(deps): update cts digest to 95fd0a5 (#9025) 2026-02-09 23:41:55 -08:00
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