Teodor Tanasoaia
85d3266078
[wgpu-core] validate BGL entry visibility for non-core features ( #10042 )
...
(cherry picked from commit 422b1c3a2c )
2026-08-14 14:34:21 -07:00
Andy Leiserson
265becdf84
Revert "[metal] fix bindgroup resources being bound incorrectly ( #10043 )"
...
This reverts commit b26b8ddd36 .
2026-08-14 14:34:17 -07:00
Teodor Tanasoaia
b26b8ddd36
[metal] fix bindgroup resources being bound incorrectly ( #10043 )
...
(cherry picked from commit 80c257b497 )
2026-08-14 12:11:44 -07:00
Andy Leiserson
7f6c33594a
fix(core): Lose device on errors during critical part of submission
...
(cherry picked from commit 390f05b69a )
2026-08-14 12:10:19 -07:00
Andy Leiserson
ac2872b2b3
fix(core): Validate submitted command buffers in a separate pass
...
(cherry picked from commit 708276188b )
2026-08-14 12:10:12 -07:00
Teodor Tanasoaia
d3f1a8c4d0
[d3d12] initialize padding of intermediary buffers used for texture to buffer copies ( #10005 )
...
(cherry picked from commit 6aa5fe71f5 )
2026-08-14 12:09:59 -07:00
Sam and Erich Gubler
f7ebc07661
[core] Do not use IDs as default type in PipelineLayoutDescriptor ( #9985 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-08-05 13:41:30 +00:00
Andy Leiserson
667b53cbef
fix(core): Fix corner cases in initialized range tracking ( #10002 )
2026-08-05 08:14:28 -04:00
Erich Gubler
cdc9d0c4dd
fix(glsl-out): avoid accidental predecrement in atomicSub negation ( #9924 )
2026-08-04 09:41:42 +00:00
Andy Leiserson
d5d8ed84c8
feat(core): Expose descriptor validation separately from create_texture ( #9979 )
2026-08-03 12:05:31 -07:00
bolshoytoster
fa6d834891
Reduce bloat from wgsl::Error::as_parse_error ( #9944 )
2026-08-03 10:55:45 -07:00
Jim Blandy
c2d5fa49da
[naga] Test validation of function/entry point name collision.
...
Unlike WGSL, Naga IR permits functions to have conflicting names, and
entry points must only have distinct names if they are for the same
shader stage. Document and test this.
2026-08-03 08:22:34 -07:00
Jim Blandy
faac3bb16b
[naga] Document entry_point argument to process_overrides.
2026-08-03 07:40:24 -07:00
renovate[bot]
d45fdcd11a
Update Rust crate pollster to v1 ( #9996 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 11:08:39 +00:00
Kevin Reid
9f5c71ffb9
Make ForceShaderModelToken’s functions const.
2026-08-03 06:34:29 -04:00
Kevin Reid
c150de0ba7
Add inherent pub const fn default() to various types.
...
The default functions are generated using a `macro_rules_attribute`
emulated derive macro, just fancy enough to work. It does not support
structs with generics, so `*Descriptor`s are left alone for now.
When Rust const traits stabilize, we can replace this with real const
traits.
2026-08-03 06:34:29 -04:00
Andy Leiserson
9c05b85ce5
fix(hal/vulkan): Use queue family index modified by device open callback ( #9965 )
2026-08-03 06:19:50 -04:00
Jim Blandy
b991e6025d
[core] Use minimum_binding_size terminology in validation. ( #9988 )
2026-08-03 04:58:25 -04:00
Jim Blandy
de856fc605
[core] Rename Varying::Local to UserDefined. Doc fixes. ( #9987 )
2026-08-03 04:56:58 -04:00
Jim Blandy
6150c8239f
[core]: Delete unused field EntryPoint::spec_constants. ( #9983 )
2026-08-03 04:54:52 -04:00
Jim Blandy
a05a2b27d4
[core] Promote unexpected varying types to log::error. ( #9982 )
2026-08-03 04:53:22 -04:00
Andy Leiserson
7a655581ff
feat(core): Expose descriptor validation separately from request_device ( #9967 )
2026-07-30 18:18:49 +00:00
c079e55f53
fix: emit dimension-correct HLSL texture sample offsets ( #9951 )
...
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com >
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-07-30 12:58:50 +00:00
Jim Blandy
5205d3d1e5
[naga] Update Emit documentation. ( #9968 )
2026-07-30 06:33:39 -04:00
Kevin Reid
d0ecda96cd
Replace wgpu-macros package with use of macro_rules_attribute. ( #9963 )
2026-07-30 06:16:43 -04:00
AdrianEddy and Erich Gubler
f9f55b7d51
fix(core): drop PendingSubmission's guards in reverse acquisition order ( #9960 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-07-30 06:07:11 -04:00
sagudev
ecf8932500
[deno] Use Arced resources instead of Global (aka crate::Instance in deno)
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-30 04:54:40 -04:00
sagudev
bf063c0a4a
[core] Make more stuff public for #5121
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-30 04:54:40 -04:00
Nazar Mokrynskyi
fb1c777b2f
naga: fix panic parsing SPIR-V subgroup reduce/scan/ballot ops
2026-07-29 18:01:48 -07:00
Erich Gubler
2eddc8c7b2
test(cts): assume all maxInterStageShaderVariables tests pass ( #9943 )
2026-07-29 17:30:22 +02:00
Sam
b340ef11c6
Document why no Copy impl on wgt::Limits ( #9893 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-29 17:15:31 +02:00
Andy Leiserson
22c5a7020b
fix(core): Add missing shader output vs. color target validation ( #9939 )
2026-07-28 23:25:53 +00:00
Andy Leiserson
9fd1f02c2d
fix(core): Clean up resources when Device::new fails ( #9930 )
2026-07-28 15:56:34 -07:00
Marc Stampfli
4fe6176a65
Remove never-constructed CreateBlasError::InvalidAabbStride ( #9935 )
2026-07-28 05:36:13 -04:00
Andy Leiserson
1a3a4cc27d
chore(deps): Disable renovate minimumReleaseAge ( #9927 )
2026-07-27 07:43:02 -04:00
Tom Schuster
83b9fa1661
WebGPU: Handle GpuInternalError ( #9919 )
2026-07-25 19:14:50 +00:00
Sam
4e3117a2e5
[core] Always return surface wrapped in arc ( #9916 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-25 20:39:45 +02:00
Sam
27597cf960
[core] Inherit InstanceFlags in Device via Adapter ( #9915 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-25 20:34:55 +02:00
Sam
34755a7163
[core] device_create_texture_view -> Texture::create_view ( #9895 )
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-25 20:23:50 +02:00
Rui He
a37b252881
fix(vulkan): build pipeline barrier based on queue family properties ( #9594 )
2026-07-25 18:01:30 +00:00
Erich Gubler
cb8932a994
refactor(core): qualify features_to_naga_capabilities
2026-07-25 07:48:35 -07:00
Marc Stampfli
4d4c1e1888
docs: correct BlasAabbGeometry stride reference and document AABB layout ( #9934 )
2026-07-25 18:58:33 +12:00
ozongzi and Erich Gubler
8b419de090
hal/vulkan: add OpenHarmony surface support ( #9908 )
...
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2026-07-24 07:46:03 -04:00
Erich Gubler
bb8f23e343
ci: fix UX for prettier failures ( #9926 )
2026-07-23 11:01:25 -07:00
dependabot[bot]
d5977df452
Bump body-parser from 2.2.2 to 2.3.0 in /tests/wasm/runner ( #9920 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-22 18:13:35 -07:00
Jim Blandy
4b8e994585
Doc fixes for wgpu_types::Backend::Gl.
2026-07-22 13:23:47 -07:00
Erich Gubler
d9423aa657
refactor(hal): move raw-gles' glutin deps section ( #9925 )
2026-07-22 17:26:57 +02:00
Jim Blandy and Claude Sonnet 5
f892b2e235
spv-out: don't dynamically index PushConstant vectors with OpAccessChain
...
Per VUID-RuntimeSpirv-None-04745, all accesses into a PushConstant-storage-class
variable that are arrays must use dynamically uniform indices; this restriction
also applies to vectors. Naga was emitting `OpAccessChain` with per-invocation
(non-uniform) indices directly into push-constant vectors, which is undefined
behavior under that rule -- observed on RADV as every invocation silently
reading element 0 of the vector.
Add a special case to `write_checked_load`, alongside the existing matCx2
ones, that loads the whole vector and uses `OpVectorExtractDynamic` instead,
which isn't subject to the restriction.
Fixes gfx-rs/wgpu#8612 .
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-07-21 12:05:24 -07:00
Andy Leiserson
c97d22fff4
fix(core): Add some missing validity checks ( #9913 )
2026-07-21 07:36:40 -04:00
sagudev
0eb5b623df
Replace all occurrences of Global:: in rustdocs with methods on Resources
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2026-07-20 17:36:36 -07:00