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
renovate[bot]
bf075e7694
chore(deps): update crate-ci/typos action to v1.41.0 ( #8811 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-07 11:35:58 -05:00
Andy Leiserson
376a36a9d2
fix(core): Validate storage texture formats when creating BGLs ( #8735 )
...
This moves existing validation from binding creation to BGL
creation. Binding creation already had a check that returns
`CreateBindGroupError::InvalidStorageTextureFormat` if the format
does not match the layout, so it is not necessary to revalidate
the format support at that point.
2026-01-07 17:00:57 +01:00
Moritz Zielke
6e55831aec
fix(naga): don't crash on zero value of dynamically-sized array ( #8741 )
2026-01-07 01:48:34 +00:00
renovate[bot]
cab1c37706
chore(deps): update cargo.lock ( #8775 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-06 20:00:46 +00:00
Erich Gubler
37dd63d56a
test(cts): add currently passing tests for workgroupUniformLoad ( #8813 )
2026-01-06 11:10:11 -08:00
Jamie Nicol
1f4ae6733c
[naga test] Run hlsl_mat_cxN.wgsl snapshot tests on SPIR-V too
...
Additionally rename the tests to remove the "hlsl_" prefix.
2026-01-06 11:28:24 +00:00
Jamie Nicol
3597514381
[naga spv-out] Handle 2-row matrices in uniform buffers
...
Two-row matrices in uniform buffers in Vulkan/SPIR-V's default
"extended" (std140) layout do not adhere to WGSL/Naga IR's layout
rules - each column is aligned to a minimum of 16 bytes rather than
just the vector size.
To work around this, we emit additional std140 compatible type
declarations for each type used in a uniform buffer that requires
one. Any two-row matrix struct member is decomposed into the
containing struct as separate vectors for each column. Two-row
matrices used directly as uniform buffers are wrapped in a struct with
a vector member for each column, and arrays (of arrays, etc) of
two-row matrices are declared as arrays (of arrays) of structs
containing a vector member for each column.
When loading such a value from a uniform buffer, we convert from the
std140 compatible type to the regular type immediately after loading.
Accesses of a uniform two-row matrix's columns using constant indices
are rewritten to access the containing struct's vector members
directly. Accesses using dynamic indices are implemented by loading
and converting the matrix, extracting each column then `switch`ing on
the index to select the correct column.
We can now remove the expected failure annotation for the Vulkan
backend on the uniform_input struct_layout test, as it now passes.
2026-01-06 11:28:24 +00:00
Jamie Nicol
c1802e5bc1
[test] Add additional matrix struct_layout tests
...
Extend existing tests to use dynamic indexing of matrices' columns as
well static indexing. Add new tests for arrays of matrices.
2026-01-06 11:28:24 +00:00
Erich Gubler
611dacac50
test(cts): add passing subset of webgpu:api,validation,render_pipeline,inter_stage:max_variables_count,input:*
2026-01-05 14:59:38 -08:00
Erich Gubler
605b8a2dba
docs(CHANGELOG): add #8792 to entry for maxInterStageShaderVariable migration
2026-01-05 14:59:38 -08:00
Erich Gubler
727cbc3d13
refactor(core): debug_assert that we wrote at least one deduction for maxInterStageShaderVariables errors
2026-01-05 14:59:38 -08:00
Erich Gubler
6bf665ab26
fix(core): do not deduct Position built-in from maxInterStageShaderVariables
2026-01-05 14:59:38 -08:00
Erich Gubler
cd271a6be7
fix(core): compare fragment input indices against maxInterStageShaderVariables directly, not max_fragment_input_variables
2026-01-05 14:59:38 -08:00
Connor Fitzgerald
3ce7366a2e
Fix lazy jobs ( #8804 )
...
* Always run lazy jobs
* Fix lazy spirv job
* Fix publishing build
2026-01-05 15:29:20 -07:00
renovate[bot]
3fc330fd54
chore(deps): update cts digest to c7cc4cc ( #8810 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-05 09:11:00 -08:00
Ivor Wanders
aba9161b72
Ensure symlinked target directory is ignored. ( #8796 )
2025-12-30 14:46:32 -05:00
Jan Hohenheim
fe3c9a581a
Fix weird comma ( #8797 )
2025-12-30 14:45:41 -05:00
Luo Zhihao
4b3bf0740a
Fix Android crash by setting waitAll to true in vkWaitForFences ( #8769 )
2025-12-29 00:29:21 -05:00
Erich Gubler
81542eadc3
fix(cts): render full err. msg. in Device::create_*_pipeline_async ( #8788 )
2025-12-27 14:47:35 -07:00