Commit Graph
416 Commits
Author SHA1 Message Date
Sam 78fa6152cc Revert part of #10115 by removing result from create_render_bundle_encoder and reimpl content validation in deno (#10179) 2026-08-31 10:21:22 +02:00
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
Connor Fitzgerald fae070bf21 Convert wiki and api-specs into documentation modules (#9779) 2026-08-29 18:59:58 -04: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
Sam 6710991814 Implement spec compilant erroring of create_render_bundle_encoder (#10115) 2026-08-25 17:58:57 +02:00
Connor Fitzgerald d4359d7494 Use edition 2024 in standalone examples (#10139) 2026-08-22 03:38:36 +00: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
Erich Gubler 5a3b2230ae style: reformat hello_workgroups' README with prettier (#10071) 2026-08-17 15:17:03 -07:00
Luo ZhihaoandErich Gubler 7a83bc7650 Re-vendor WebGPU bindings (#10034)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-08-17 11:34:53 +00:00
Luo ZhihaoandErich Gubler c38ef53fbe webgpu: treat null from popErrorScope() as no error (#10039)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-08-14 07:44:59 -04: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
sagudev 0a926cf134 write_staging_buffer should consume DispatchQueueWriteBuffer
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-08-12 14:59:54 +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
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 d0ecda96cd Replace wgpu-macros package with use of macro_rules_attribute. (#9963) 2026-07-30 06:16:43 -04:00
Jim Blandy 4fc17708e6 Fix cooperative matrix tests on RADV and llvmpipe. (#9892) 2026-07-20 08:33:03 -04:00
Kevin Reid 888e749799 Rename TextureFormat::is_srgb() to has_srgb_suffix(). (#9758) 2026-07-16 20:29:00 +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
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
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
Andy Leiserson 10749ae7c1 chore(deps): Update some git dependencies to released versions (#9816) 2026-07-06 23:47:41 -04:00
Connor Fitzgerald 8bf3e5ff4a Update to v30 (#9790) 2026-07-01 17:07:34 -04:00
Stuart Parmenter cf2dbfd40f Add display HDR query (Surface::display_hdr_info): DX12, Vulkan, Metal, Web (#9739) 2026-06-29 18:13:31 -04:00
k9 35743f2848 Playwright wasm tests (#9114) 2026-06-29 14:31:39 -04:00
Stuart Parmenter 3fb225a9c6 Add surface color-space selection (HDR output): Vulkan, DX12, Metal, WebGPU (#9658) 2026-06-26 03:52:05 +00:00
d21c0d08ef Migrate from taplo to tombi for TOML CI (#9694)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
Co-authored-by: Kevin Reid <kpreid@switchb.org>
2026-06-19 13:53:49 +00:00
Luo Zhihao c841633bb3 Bring transient attachment in line with webgpu spec (#9568) 2026-06-18 18:28:52 -07:00
teoxoy 59a252f247 [tests] mark timestamps_passes as flaky on GL llvmpipe 2026-06-18 10:03:38 -07:00
teoxoy cb278900ea [tests] print timestamps in tests 2026-06-18 10:03:38 -07:00
Teoxoy a19993e27d Revert "mark timestamp query inside encoders/passes tests as flaky (#5838)"
This reverts commit 1904822084.
2026-06-17 11:53:01 -07:00
Teoxoy 1f923a0ed4 Revert "Adjust timeout for timestamp_queries test (#8487)"
This reverts commit 0a3818a4d1.
2026-06-17 11:53:01 -07:00
Teoxoy ab33a724dc [wgpu-core] add query set initialization tracking
Vulkan, D3D12 and Metal require slots of query sets to
have been written prior to resolving them into a buffer.
2026-06-17 11:53:01 -07:00
273dcf882e Add comments to framework.rs explaining animation loop and VSync (#9635)
Co-authored-by: theoxfaber <shankmukhkiransagar@gmail.com>
Co-authored-by: Shanmukh kiran Sagar <shanmukhkiransagar@Shanmukhs-MacBook-Air.local>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-15 17:40:32 +00:00
k9 16aec0b09a Trigger a surface resize to deal with window resize race condition (#9525) 2026-05-14 18:24:25 -07:00
Dzmitry Malyshau 1781d73b40 msl: fix cooperative matrix loading semantics (#9451) 2026-05-12 14:20:06 -07:00
k9 265a7f9e0b Fix for render_with_compute in browsers (#9529) 2026-05-12 14:14:27 -07:00
Andy Leiserson 253477b9ec test: Enable ray_aabb_compute test on metal (#9441) 2026-04-23 09:48:28 +12:00
Andy Leiserson b051a87e3e fix(naga): Require explicit flat interpolation for integer shader I/O 2026-04-17 11:50:51 -07:00
teoxoy 67b4f3c7e5 [wgpu] make vertex buffer slots optional 2026-04-14 17:20:15 -07:00
atlas 9ee8282147 test: Add bug repro for presenting unrendered surface texture (#6748) 2026-04-14 10:51:03 +02:00
atlas 2e1cc4b1a6 feat: Move present from SurfaceTexture to Queue in public API 2026-04-14 10:51:03 +02:00
AliandErich Gubler 51faa6fd87 Implements #8875: Using binding_array should require an enable extension (#9298)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-04-11 04:52:44 +00:00
atlv 05a11f4cc8 Use path dep in bug repro (#9413) 2026-04-10 22:17:00 -06:00
atlv e6e5f5288c Bring immediate in line with webgpu spec (#9280) 2026-04-09 22:36:02 +00:00
Inner DaemonsandConnor Fitzgerald 8bc9fc1795 Add GLSL passthrough (#9064)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-04-08 22:03:34 -04:00
atlv ed4a28aef0 Make get_mapped_range return a Result rather than panicking (#9281) 2026-04-08 21:22:00 -04:00
Vecvec daced7acb9 Enable ray tracing example tests on metal (#9324) 2026-04-08 20:43:57 -04:00
TornaxO7andAndreas Reich 9557c6e371 fix(02_hello_window): drop texture if surface texture is suboptimal (#9384)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-04-08 17:27:38 +02:00
countgitmickandcountgitmick 5d03e09b54 fix(examples): use pod_collect_to_vec for mapped buffer reads (#9378)
Co-authored-by: countgitmick <countgitmick@users.noreply.github.com>
2026-04-08 11:26:44 -04:00