Commit Graph
11000 Commits
Author SHA1 Message Date
sagudev f24f333161 [core] Do not use IDs as default types in TaskState
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-11 14:04:27 +02:00
sagudev b20b39d31e [core] Do not use IDs as default types in FragmentState
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-11 14:04:27 +02:00
sagudev b61a4ca293 [core] Do not use IDs as default types in VertexState
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-11 14:04:27 +02:00
sagudev 2aafa6c32f [core] Do not use IDs as default types in ComputePipelineDescriptor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-11 14:04:27 +02:00
sagudev 9a67436a1c [core] Do not use IDs as default types in ProgrammableStageDescriptor
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-11 14:04:27 +02:00
sagudev 9bd70d113f [core] Do not use IDs as default types in BindingResource and BufferBinding
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-11 14:04:27 +02:00
sagudev 1d683f8b53 [core] Do not use IDs as default types in BindGroupDescriptor and BindGroupEntry
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-11 14:04:27 +02:00
Andy Leiserson 390f05b69a fix(core): Lose device on errors during critical part of submission 2026-08-07 17:07:48 -07:00
Andy Leiserson 708276188b fix(core): Validate submitted command buffers in a separate pass 2026-08-07 17:07:48 -07:00
AdrianEddy 385520f72f fix(core): re-read the fence before the queue-empty assert in Device::maintain (#9958) 2026-08-07 23:44:56 +00:00
Erich Gubler 41bac0dffb diag(naga): add missing end backtick to InvalidInterpolationForInteger msg. (#10023) 2026-08-07 09:39:21 -07:00
Jim Blandy 7c65afc049 [core] Document validation::Interface and associated internals. (#9984) 2026-08-06 17:20:20 +02:00
Teodor Tanasoaia 6aa5fe71f5 [d3d12] initialize padding of intermediary buffers used for texture to buffer copies (#10005) 2026-08-06 15:21:19 +02:00
SamandErich 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
AdrianEddyandErich 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
ozongziandErich 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