Commit Graph
2661 Commits
Author SHA1 Message Date
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
Sam f945c78e13 [core] Do not overflow on user input in TextureView::Invalid (#9841)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-10 09:45:03 -04:00
Andy Leiserson bcc59481c9 Eagerly initialize buffer tails (#9791) 2026-07-08 17:22:05 -04:00
csmoe 25b4cda524 Add angle as gl backend on Windows (#9422) 2026-07-08 13:56:53 -04:00
Luo ZhihaoandJim Blandy 7fe459a58b Lower clippy large-error-threshold (#9612)
Co-authored-by: Jim Blandy <jimb@red-bean.com>
2026-07-07 13:42:21 -04:00
Sam 9e7ae880cd [core] Implement poll_all_devices on Instance (#9829)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 19:25:01 +02:00
Sam f16cf047f9 [core] Make Global methods thin in instance (#9827)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 16:52:17 +02:00
Sam 4e9fd048d3 [core] Make some Global methods thin in device (#9826)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 15:08:49 +02:00
Sam f87b0dd1db [core] Make Global methods thin in present (#9825)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 11:48:39 +02:00
sagudev 4b272a6539 [core] Make Global methods thin in transition_resources
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 10:55:25 +02:00
sagudev c5b16e1843 [core] Make Global methods thin in transfer
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 10:55:25 +02:00
sagudev 6b410aa5c3 [core] Make Global methods thin in query
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 10:55:25 +02:00
sagudev 3c22ad5da3 [core] Make Global methods thin on command/mod
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 10:55:25 +02:00
sagudev 49e9f14fd0 thin Global in RenderPass
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 10:38:22 +02:00
sagudev 594f7e302c thin Global in ComputePass
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 10:38:22 +02:00