Commit Graph
10793 Commits
Author SHA1 Message Date
Sam ed57d2e82a [core] Use label field of TextureDescriptor (#9714)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-23 09:18:24 -04:00
Andy Leiserson 47cce259cb Improvements to the lock analyzer
* Groups the graph nodes by non-leaf, connected leaf, and disconnected
  leaf, instead of only by leaf and non-leaf.
* List followers in the same order as the ranks themselves.
* Don't print the acquisition locations by default. This makes the
  output closer to what appears in `rank.rs`.
2026-06-22 13:58:59 -07:00
Andy Leiserson a4d29e47c1 Release COMMAND_BUFFER_DATA before encoding commands 2026-06-22 13:58:59 -07:00
Andy Leiserson f82196a0f5 Print more detail for lock release order violations 2026-06-22 13:58:59 -07:00
Andy Leiserson d1630d8493 Use unique lock ranks for concurrently-accessed registries 2026-06-22 13:58:59 -07: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
Luo Zhihao 49102603b5 Add immediates to deno_webgpu (#9569) 2026-06-18 14:50:14 -07:00
Sam c29a05d6dd fix(core): Deferred query set destruction (#9704)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-18 14:39:08 -07:00
Andy Leiserson 6ec7813e91 test(cts): Improve diagnostics (#9695) 2026-06-18 13:32:43 -07:00
renovate[bot] 43981de526 Update Cargo.lock (#9618) 2026-06-18 17:37:10 +00: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
Andy Leiserson e55f061770 fix(core): Align limit when clamping at u32 for indirect validation (#9698) 2026-06-18 15:24:47 +02: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
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 fff80cd7a3 [metal] fix end_query, the offset must match the slot 2026-06-17 11:53:01 -07:00
Teoxoy 79dc7b355e [metal] remove impl of reset_queries
Setting the slots to 0 for occlusion query sets is not necessary since
wgpu-core keeps track of slot initialization state.
2026-06-17 11:53:01 -07:00
Teoxoy ef9974f9c4 [metal] don't advertise TIMESTAMP_QUERY_INSIDE_ENCODERS on Apple GPUs
From my testing the workaround on Apple GPUs is now always writing 0.
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
teoxoy d830aab910 add close_and_insert_at to InnerCommandEncoder 2026-06-17 11:53:01 -07:00
renovate[bot] 456a9ddac5 Update Rust crate hashbrown to 0.17 (#9583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-17 16:17:05 +00:00
Sam f9b4657c9f [tracing] Rename Destroy* -> Drop* and Free* -> Destroy* to match wgc and spec (#9691)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-06-17 15:24:22 +00:00
Andy Leiserson cdb08a7728 chore(naga): Enable large_stack_frames lint 2026-06-17 07:59:12 -07:00
Andy Leiserson d1ef7134a1 refactor(naga): Sort clippy waivers 2026-06-17 07:59:12 -07:00
Andy Leiserson 813f5e5243 chore(naga msl-out): Remove dead code left over from stack size test 2026-06-17 07:59:12 -07:00
Andy Leiserson 493bfe30fe fix(naga hlsl-out): Reduce stack usage (#9648) 2026-06-17 07:24:55 -07:00
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