Commit Graph
2675 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
Jim Blandy 7c65afc049 [core] Document validation::Interface and associated internals. (#9984) 2026-08-06 17:20:20 +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
Andy Leiserson d5d8ed84c8 feat(core): Expose descriptor validation separately from create_texture (#9979) 2026-08-03 12:05:31 -07: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
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 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
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
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
Erich Gubler cb8932a994 refactor(core): qualify features_to_naga_capabilities 2026-07-25 07:48:35 -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
sagudev 3c51fc05b5 remove stale profiling scopes
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-20 17:36:36 -07:00
Sam 43b7ff9220 [core] Move Device::configure_surface to Surface::configure (#9898)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-20 17:31:53 -07:00
Luo Zhihao 0ae95c7365 Fix flush_immediates out of range (#9906) 2026-07-20 19:38:08 +00:00
Luo Zhihao 77c17d24b0 Fix required immediate slots calculation and panics when slots overflow (#9725) 2026-07-20 12:06:14 -07:00
Anton Wagner 59209f2761 Deduplicate TLAS build dependencies by unique BLAS (#9835) 2026-07-17 19:29:35 +12:00
Inner Daemons a9beb0dc1f fix(core): Disallow view with TextureAspect::All on multi-planar textures (#9703) 2026-07-16 13:39:32 -07:00
Kevin Reid 888e749799 Rename TextureFormat::is_srgb() to has_srgb_suffix(). (#9758) 2026-07-16 20:29:00 +00:00
Erich Gubler d73f0e5315 build: consume cfg_aliases 0.2.2 (#9885) 2026-07-16 15:39:48 -04:00
sagudev f680a2c242 [core] Make Global methods of RenderBundleEncoder thin
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
sagudev 06d50f9fc5 Arced resources in RenderBundleEncoder
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
sagudev 0e330246cd check device validity at creation
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
sagudev 09e21cfa7b pass arced device to RenderBundleEncoder
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
sagudev 0eb09514a4 [core] Remove bundle_ffi
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-16 12:10:18 -07:00
Erich Gubler 15d817e404 Suppress semicolon_in_expressions_from_macros lint in build scripts (#9884) 2026-07-16 15:43:51 +00:00
Nick Babcock 4e58833072 Add wasm64 backend support for the web
This commit:

- Bumps glow to 0.18 which gains support for wasm64
- Updates cfg gates from `target_arch = "wasm32"` to `target_family =
"wasm"`

This commit, unfortunately, does not touch upon example code as that
brings in getrandom 0.3 (0.4 supports wasm64) through flume and
futures-lite
2026-07-15 09:15:33 -07:00
Andy Leiserson bfdd45b6b8 fix(core): Add missing indirect draw validation for render bundles (#9871) 2026-07-15 08:55:22 -07:00
Erich Gubler ee9f40c316 chore: remove package.authors in Cargo.toml (#9862) 2026-07-15 11:41:12 -04:00
Luo Zhihao d056b0e025 Validate pipeline layout immediate_size and fix its calculation when there are multiple immediate variables (#9711) 2026-07-14 09:47:17 -07:00
Inner Daemons a87213e582 Fix #9690: Atomic storage texture BGL requires TEXTURE_ATOMIC but error indicates TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES (#9699) 2026-07-10 20:30:25 -04:00
Luo Zhihao 2b92ae160d Defer set_immediates to draw/dispatch call time (#9597) 2026-07-10 15:52:20 -07:00