Commit Graph
469 Commits
Author SHA1 Message Date
07132f4440 Implement texture-component-swizzle (#9553)
Co-authored-by: Inner Daemons <85136135+inner-daemons@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-08-30 03:49:16 -04:00
AdrianEddy a148f96e20 feat(webgl): Add ability to interop with external textures (#9834) 2026-08-28 21:18:35 +00:00
Luo ZhihaoandConnor Fitzgerald 4d749308e6 Fix separate depth stencil read-only state (#9763)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-08-28 15:31:26 +00:00
Zachary Harrold 6f2feed984 meta: disable default features for wgpu-core and wgpu-hal (#10097)
Fixes warning caused by `wgpu-core-remote`
2026-08-27 11:04:51 +00:00
Andy Leiserson f0704423c9 fix(core): Init tracking for pass with multiple depth slice attachments 2026-08-25 12:51:23 -07:00
Andy Leiserson 7b2b0822cf test: Tests for render attachment initialization tracking 2026-08-25 12:51:23 -07:00
Andy Leiserson 088f101d30 test: Extend ReadbackBuffers to mips, depth slices, and arrays 2026-08-25 12:51:23 -07:00
Sam 6710991814 Implement spec compilant erroring of create_render_bundle_encoder (#10115) 2026-08-25 17:58:57 +02:00
Marc Stampfli 6d1bb1959b Give a clear error when dxc is missing in the passthrough tests (#10119) 2026-08-20 11:28:24 -07:00
sagudev 98aa89efa5 Move Queue::submit erroring into core
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-20 12:45:49 +02:00
sagudev b024802f8c Handle CommandEncoder errors inside wgpu-core
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-19 15:23:27 +02:00
Sam feab2f79ef Add DeviceDescriptor::default_queue: QueueDescriptor to support setting label to queue (#10109)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-19 10:06:10 +00:00
Andy LeisersonandErich Gubler a20d5d4c9b fix(core): Fix validation of shader I/O numeric types (#9999)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-08-14 18:54:34 -07:00
Zac Harrold 3c4a1a2f0c [wgpu-test]: Switch to wgpu-sync for locking primitives 2026-08-14 20:47:05 -04:00
Sam cba3ec23bc Replace usage of global with instance and resource methods in tests (#10050) 2026-08-12 15:18:39 +00:00
Teodor Tanasoaia 80c257b497 [metal] fix bindgroup resources being bound incorrectly (#10043) 2026-08-12 15:05:57 +00:00
sagudev 94b3c5ea3c remove generate_report and all tests that uses them
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-12 14:59:54 +02:00
Andy Leiserson 55e499ff57 fixup! Bug link for subgroup_operations failure 2026-08-12 11:54:08 +02:00
Andy Leiserson ce231ae79c fixup! Tidy FailureCase helpers 2026-08-12 11:54:08 +02:00
Andy Leiserson 20e56a987d test: Adjust some KosmicKrisp expectations
Tested with Vulkan SDK 1.4.350.0
2026-08-12 11:54:08 +02:00
Teodor Tanasoaia 422b1c3a2c [wgpu-core] validate BGL entry visibility for non-core features (#10042) 2026-08-11 18:32:32 +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
Kevin Reid d0ecda96cd Replace wgpu-macros package with use of macro_rules_attribute. (#9963) 2026-07-30 06:16:43 -04: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
Andy Leiserson c97d22fff4 fix(core): Add some missing validity checks (#9913) 2026-07-21 07:36:40 -04:00
Erich Gubler ee9f40c316 chore: remove package.authors in Cargo.toml (#9862) 2026-07-15 11:41:12 -04:00
Andy Leiserson 372f23df12 test: Annotate expected failures on Metal and MoltenVK (#9850) 2026-07-15 07:19:44 -07:00
Andy Leiserson c098b029a2 test: Dynamic offset storage binding test for #9865 (#9866) 2026-07-15 03:27:01 -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
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
Andy Leiserson 1798a02d3d test: Flush init actions before creating bind groups (#9814) 2026-07-06 23:50:25 -04:00
teoxoy aa2b7907c0 [core] filter native-only features and limits if
`STRICT_WEBGPU_COMPLIANCE` is set
2026-07-01 14:43:44 -04:00
teoxoy 995ee7b3f1 add Limits::max_buffers_and_acceleration_structures_per_shader_stage 2026-07-01 14:43:44 -04:00
Andy Leiserson 0cc48c829e fix(core): Track initialization status of 3D textures (#9765) 2026-07-01 11:51:59 +02:00
Andy Leiserson 8b2bc49419 test: Run with LVP_POISON_MEMORY=true (#9753) 2026-06-29 20:55:50 -04:00
VecvecandConnor Fitzgerald a03be8d223 [msl] Make ray queries safer (#9442)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-29 22:27:03 +00:00
Holger Trahe 2374e16ab9 Fixed partially-bound texture and storage-texture binding arrays (PAR… (#9653) 2026-06-29 15:04:06 -04:00
k9 35743f2848 Playwright wasm tests (#9114) 2026-06-29 14:31:39 -04:00
Sam b76a432a27 [core] Move Fallible into Arc<Texture> (#9718)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-25 19:27:44 +02:00
Vecvec 55534165c1 [spv-out] Some small ray query fixes (#9731) 2026-06-24 20:32:54 -04:00
Emil ErnerfeldtandClaude Opus 4.8 977e85dca6 test: use non-square asymmetric textures in coordinate-sensitive tests (#9723)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 11:31:48 -04:00
Luo Zhihao c841633bb3 Bring transient attachment in line with webgpu spec (#9568) 2026-06-18 18:28:52 -07:00
Andy Leiserson 336cda7372 fix(core): Deferred query set destruction (#9697) 2026-06-18 14:31:16 +02:00
Teoxoy e56b20dd94 add tests for query set initialization tracking 2026-06-17 11:53:01 -07:00
Sam 019bce9139 Implement QuerySet::destroy (#9671)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-16 12:37:11 +02:00
Andy Leiserson 08b244df91 build: Exclude wgpu-core when building the WebGPU-backend samples (#9557) 2026-06-12 13:39:28 -04:00
39ali 6877690dbe fix(metal): Fix hang waiting for an errored command buffer
Fixes #9531
2026-06-04 17:11:59 -07:00
teoxoy e52af5cd8d add test to ensure returned adapters are WebGPU compliant if
`STRICT_WEBGPU_COMPLIANCE` is set
2026-06-03 23:36:32 +02:00
teoxoy 45f820a4ad disallow LoadOp::DontCare under STRICT_WEBGPU_COMPLIANCE 2026-06-03 23:36:32 +02:00