Falk Woldmann Lu
cbf9ec087e
Add missing crate link
2026-01-26 13:21:46 -05:00
Falk Woldmann Lu
171617d00a
Use LazyLock for std environments and OnceBox for no_std
2026-01-26 13:21:46 -05:00
Inner Daemons and Erich Gubler
4d11f5f8de
Made traces use .metal extension instead of .msl ( #8880 )
...
* Changed msl snapshots to use .metal extension
* Made traces use `.metal` extension instead of `.msl`
* Added changelog entry
---------
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-01-26 17:25:43 +00:00
pin and Erich Gubler
8ad8a820c6
Add basic NetBSD support ( #8695 )
...
* Add basic NetBSD support
- closes https://github.com/gfx-rs/wgpu/issues/8541
- replaces https://github.com/gfx-rs/wgpu/pull/8679
```
Tests:
Summary [ 149.522s] 469 tests run: 463 passed, 6 failed, 0 skipped
FAIL [ 0.095s] naga::naga snapshots::convert_snapshots_spv
FAIL [ 0.387s] wgpu-benchmark::bench/wgpu-benchmark Computepass Encoding
FAIL [ 0.386s] wgpu-benchmark::bench/wgpu-benchmark Device::create_bind_group
FAIL [ 0.378s] wgpu-benchmark::bench/wgpu-benchmark Device::create_buffer
FAIL [ 0.389s] wgpu-benchmark::bench/wgpu-benchmark Renderpass Encoding
FAIL [ 0.075s] wgpu-test::wgpu-validation api::instance::multi_instance::multi_instance
```
* Exclude Vulkan and DRM surface paths on NetBSD
Match platform support and avoiding cfg mismatches between wgpu and wgpu-core.
(with help from LLM)
---------
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-01-26 16:27:57 +00:00
Andy Leiserson
6495ef3f9d
fix(naga): Calculate 1D distance using abs ( #8903 )
2026-01-26 13:32:45 +01:00
Teodor Tanasoaia
723cb5db0c
[d3d12] fix possible crash on GPUs that only support SM5.1 ( #8918 )
2026-01-26 10:50:03 +01:00
Noah
d0c9044e42
Limits doc: fix typo ( #8914 )
2026-01-22 21:52:59 -05:00
Andy Leiserson
6b5a416865
fix(naga): Use wrapping arithmetic for u32 const eval ( #8912 )
...
Fixes one part of #8900
2026-01-22 14:50:37 -08:00
Andy Leiserson
046a1b4ce5
feat(deno): implement WGSLLanguageFeatures ( #8884 )
2026-01-22 10:42:01 -08:00
renovate[bot]
53468815b1
chore(deps): update cts digest to e98e602 ( #8890 )
2026-01-22 09:57:28 -08:00
renovate[bot]
6472994ef6
chore(deps): update cargo.lock ( #8891 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-21 11:28:32 -05:00
Andy Leiserson
5c100aea5a
chore(deno): Export GPUPipelineError ( #8885 )
2026-01-21 17:27:19 +01:00
Jan
eaffaf2024
[glsl-in] fix missing side effects from sequence expressions ( #8787 )
2026-01-20 13:07:46 +01:00
Andy Leiserson
8636195cb7
Implement tracing for derived BGLs ( #8855 )
2026-01-19 10:41:22 +01:00
Andy Leiserson
2d56ec6cdc
fix(naga wgsl-out): Emit wgpu_cooperative_matrix extension when needed
2026-01-19 10:38:47 +01:00
Andy Leiserson
b40c01a018
fix(naga wgsl-in): Add checks for wgpu_cooperative_matrix extension
2026-01-19 10:38:47 +01:00
Andy Leiserson
b1bdabda53
refactor(naga wgsl-in): Use a helper to check enable extensions
2026-01-19 10:38:47 +01:00
Andy Leiserson
eb158a4a54
Alphabetize test.lst; add fail.lst and skip.lst ( #8778 )
2026-01-16 20:30:26 -07:00
Andy Leiserson
75312ee46f
chore(docs): Update pull request template ( #8874 )
2026-01-16 12:07:15 -05:00
Inner Daemons
48ba9812c2
Add support for SPV_KHR_non_semantic_info ( #8827 )
...
* Upload
* Added changelog entry
* More comments
* Updated changelog to reflect SUPPORTED_EXT_SETS being removed
2026-01-16 03:06:32 +00:00
Vecvec
c97fe3e7c4
[HLSL] Make ray queries safer. ( #8763 )
2026-01-15 21:35:18 -05:00
switch
b0a043a7a0
staging belt: allow creation with custom buffer usages ( #8580 )
2026-01-15 20:23:02 -05:00
atlv and Connor Fitzgerald
4a3526a745
Add per-vertex attribute support to vulkan, spir-v and wgsl. ( #8821 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-01-16 01:04:06 +00:00
atlv
fc9060f510
BarycentricNoPerspective ( #8852 )
2026-01-15 19:42:44 -05:00
Vecvec
bdc8f618c1
Use invalidate not flush when reading back from device. ( #8838 )
2026-01-15 15:25:46 -05:00
Ivor Wanders
1a47bf8b82
Improve documentation for validation of the counts field in BindGroupLayoutEntry. ( #8795 )
2026-01-15 14:50:38 -05:00
Andy Leiserson
90197afd54
Round max_vertex_buffer_array_stride down to a multiple of 4 ( #8847 )
...
Fixes #8846
Note that the CTS test in the issue is already enabled
(`webgpu:api,operation,vertex_state,correctness:non_zero_array_stride_and_attribute_offset:*`).
It seems the failure only appears on specific hardware/drivers.
2026-01-15 11:28:18 -08:00
atlv
993448ab2c
Add Limits::or_worse_values_from ( #8870 )
2026-01-14 11:28:50 -08:00
Luo Zhihao
2b8b5f7cdc
Fix typo in docs regarding memory init tracker ( #8858 )
2026-01-12 09:26:03 -05:00
renovate[bot]
87a3fda0d1
chore(deps): update crate-ci/typos action to v1.42.0 ( #8861 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-12 09:11:42 -05:00
renovate[bot]
b7ccd3323e
chore(deps): update cts digest to 4637ae6 ( #8860 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-12 09:11:27 -05:00
renovate[bot]
5da230ad7f
chore(deps): update jamesives/github-pages-deploy-action action to v4.8.0 ( #8862 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-12 09:11:04 -05:00
renovate[bot]
7f20fcf6a1
chore(deps): update cargo.lock ( #8863 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-12 09:10:47 -05:00
cryvosh
1d520a098d
Fix workgroupUniformLoad returning atomic types ( #8791 )
2026-01-10 12:21:48 -08:00
Andy Leiserson
bed71efe59
Add AGENTS.md and skills ( #8839 )
2026-01-09 22:49:10 -05:00
Sam
11666170b4
expose adapter info on device ( #8807 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-01-09 13:50:49 -07:00
Andy Leiserson
0a007b3117
chore(build): Waive unmaintained advisory for bincode ( #8835 )
2026-01-09 13:38:25 -07:00
Andy Leiserson
1481b23e55
Clean up imports/exports in wgpu_core::command ( #8836 )
2026-01-09 12:23:34 -08:00
Andy Leiserson
cd7958561a
Restore tracing support in wgpu
...
The loop/break changes in `play.rs` are reverting changes made in #4202 .
Fixes #5974
2026-01-09 15:55:33 +01:00
Andy Leiserson
d6b788829e
docs(core): Update ID-related doc comments
2026-01-09 15:55:33 +01:00
Andy Leiserson
3bd29ef6eb
Tracing tests
2026-01-09 15:55:33 +01:00
Andy Leiserson
985da29bcf
Add in-memory tracing and inline data in traces
2026-01-09 15:55:33 +01:00
Andy Leiserson
e412592b23
Store failed commands in traces
2026-01-09 15:55:33 +01:00
Moritz Zielke
cb02f74aa4
fix(naga): avoid vector splat construction from invalid scalar type ( #8829 )
2026-01-08 15:06:14 -08:00
Teodor Tanasoaia
0cd51d20f3
[d3d12] fix panics in adapter creation ( #8845 )
2026-01-08 16:50:02 -05:00
Andy Leiserson
a6d3f4f819
fix(naga): Validate sizes of override-sized arrays ( #8822 )
...
When validating in overrides-resolved mode, check that override-sized
arrays have a positive size.
Fixes #7806
2026-01-08 16:52:06 +00:00
Andy Leiserson
e76c9e2fdb
fix(naga): some cases of f16 construction from constants ( #8816 )
2026-01-08 17:21:34 +01:00
Andy Leiserson
7a6fe1c563
fix(naga): Fix constant evaluation of indexing by an i32 override
2026-01-08 17:19:37 +01:00
Andy Leiserson
2a895ea0fb
refactor(naga): Consolidate some redundant constant "evaluation" helpers
...
* Eliminates code duplication between the `u32` and `bool` versions.
* Rename to `get_const_val` since these aren't really evaluating anything.
2026-01-08 17:19:37 +01:00
Andy Leiserson
c4df1af1fd
refactor(naga): Rename U32EvalError to ConstValueError
2026-01-08 17:19:37 +01:00