Commit Graph
10764 Commits
Author SHA1 Message Date
Andy Leiserson 0892b3841a fix(naga msl-out): Fix identifier collision for multiple fragment returns (#9684) 2026-06-17 10:02:56 +02:00
Connor FitzgeraldandErich Gubler 4d3492cfcb Adjust cargo-deny to only check published crates (#9680)
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-06-16 17:27:17 +02:00
Jerzy Wilczek 792ec39c99 Add DropGuards to Metal Textures (#9634) 2026-06-16 09:20:27 -04: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
Connor Fitzgerald bb3ab6f796 Add GLSL output to naga snapshots (#9204) 2026-06-15 21:41:38 +00:00
Connor Fitzgerald 04791653ee Suppress renovate PRs until dependencies are of age (#9682) 2026-06-15 21:37:19 +00:00
5unekkuand5unekku 9ffe3c64f4 wgpu-core: use partition_point in triage_submissions (O(n) → O(log n)) (#9631)
Co-authored-by: 5unekku <@5unekku>
2026-06-15 16:11:24 -04:00
renovate[bot] 2086f62106 Update crate-ci/typos action to v1.47.2 (#9652) 2026-06-15 17:49:46 +00: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
renovate[bot] 16e4ce99ba Update cts digest to 3fdd323 (#9676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-15 09:16:37 -07:00
Rui He ac2c247c2a fix(naga): zero initialize loop-local var declarations in each iteration (#9592) 2026-06-15 14:42:48 +00:00
Inner Daemons 1c42a95e37 Add naga-types crate (#9434) 2026-06-15 16:11:06 +02:00
Sam f308f06443 [core] Make ComputePassDescriptor and RenderPassDescriptor ser/de (#9666)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-15 15:08:13 +02:00
Sam 208ce3b458 Add getters for type and count on QuerySet (#9672)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-15 15:03:32 +02:00
Trey 1c77f87b0f fix packSnorm2x16/packUnorm2x16 swap in naga GLSL frontend (#9675) 2026-06-15 15:01:41 +02:00
Inner Daemons 78b4dfd0cb Improve custom backend capabilities (#9605) 2026-06-12 17:09:42 -04:00
Nazar MokrynskyiandConnor Fitzgerald f82e9635e4 Increase recursion limits to please -Znext-solver (#9609)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-12 19:13:39 +00:00
cohaeandConnor Fitzgerald 25169c75e9 Vulkan: Don't wait for vkAcquireNextImage fence on non-Windows targets (#9486)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-12 18:46:59 +00:00
Dzmitry MalyshauandConnor Fitzgerald 10f97e5777 Add emit_int_div_checks option to skip integer division safety wrappers (#9443)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2026-06-12 18:31:24 +00:00
Andy Leiserson 08b244df91 build: Exclude wgpu-core when building the WebGPU-backend samples (#9557) 2026-06-12 13:39:28 -04:00
Brian Misiak 98a70621f2 metal: detect BC texture support on iOS (#9656) 2026-06-11 11:42:53 -07:00
Jonathan Schwender c402c1cae0 fix(vulkan): Fix libvulkan loading on ohos (#9649) 2026-06-10 11:34:11 -04:00
Andy Leiserson dd007da02d fix(vulkan): Make error_if_would_oom_on_resource_allocation more accurate (#9643) 2026-06-10 11:44:03 +02:00
saripalli shanmukha kiran sagar 6fbbb0fbb7 naga: add take() method to Arena and UniqueArena (#9611) 2026-06-08 15:02:23 -07:00
renovate[bot] 1392943116 Update cts digest to 3952725 (#9651)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-08 11:47:36 -07:00
AdrianEddyandAndreas Reich 26e2525f8d [Metal/hal] Add metal::Queue::add_wait_event / add_signal_event for synchronization with external APIs (#9483)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-06-07 09:55:58 +00:00
AdrianEddyandAndreas Reich c003fc45e2 feat(gles): add support for 16-bit normalized texture formats and color attachments (#9601)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
2026-06-07 09:02:33 +00:00
AdrianEddyandInner Daemons c3caf2feb4 [GLES/hal] Add gles::Device::buffer_from_raw for wrapping external buffers (#9550)
Co-authored-by: Inner Daemons <85136135+inner-daemons@users.noreply.github.com>
2026-06-07 10:20:47 +02:00
39ali 6877690dbe fix(metal): Fix hang waiting for an errored command buffer
Fixes #9531
2026-06-04 17:11:59 -07:00
39ali e0a6065c65 fix(metal): Wait using a condition variable instead of polling
Fixes #8119
2026-06-04 17:11:59 -07:00
teoxoy 6e8d0bd149 add tests for adapter_allowed 2026-06-03 23:36:32 +02:00
teoxoy 0ff42e7806 fix typo in comment 2026-06-03 23:36:32 +02: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 e9b9a82981 add downlevel flag for BC || (ETC2 && ASTC) 2026-06-03 23:36:32 +02:00
teoxoy 939776d5dc check that all limits are at least as high as default limits under
`STRICT_WEBGPU_COMPLIANCE`
2026-06-03 23:36:32 +02:00
teoxoy b61ddc1211 check alignment limits are powers of 2 2026-06-03 23:36:32 +02:00
teoxoy 6aa13649e4 filter out adapters with missing downlevel flags under
`STRICT_WEBGPU_COMPLIANCE`
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
teoxoy c0276d7140 add InstanceFlags::STRICT_WEBGPU_COMPLIANCE 2026-06-03 23:36:32 +02:00
Teoxoy bf1b57d47f [indirect-draw-validation] make sure we don't encounter u64 offsets in indirect draw validation 2026-06-03 22:43:37 +02:00
Teoxoy eddbd98028 [indirect-draw-validation] use a mask instead of bitshifts 2026-06-03 22:43:37 +02:00
Teoxoy d2a630771f [indirect-draw-validation] rename can_overflow to overflow_permitted 2026-06-03 22:43:37 +02:00
Teoxoy 35ba591a6c [indirect-draw-validation] add test for calculate_src_offsets 2026-06-03 22:43:37 +02:00
Teoxoy 82080096a0 [indirect-draw-validation] fix calculation of out_dynamic_offset
`max_dynamic_offset` should be used to clamp `out_dynamic_offset`
directly; aligning it to `dynamic_offset_stride` clamps
`out_dynamic_offset` to a lower value which then causes `out_offset` to
exceed the binding size.
2026-06-03 22:43:37 +02:00
Teoxoy 3ad17cbed6 [indirect-draw-validation] document output invariants of calculate_src_offsets 2026-06-03 22:43:37 +02:00
Teoxoy 8638b9e461 [indirect-draw-validation] simplify dynamic_offset_stride calculation 2026-06-03 22:43:37 +02:00
Teoxoy 31d22915be [indirect-draw-validation] don't attempt indirect draw validation for mesh shaders since it's not supported 2026-06-03 22:43:37 +02:00
Teodor Tanasoaia a513fa1d19 Revert "Expect failures on dx12 due to #9627" (#9638) 2026-06-03 13:38:33 -07:00
Andy Leiserson 0c78336958 Require full initialization of buffers used in dynamic offset bindings (#9628) 2026-06-03 18:26:31 +00:00
Dragoy 66d997113f naga: include OpAtomicCompareExchange result access in emitted range (#9621) 2026-06-03 20:03:55 +02:00