Skip to content

shaders: coalesce and inline wave64 x_round exchanges (SHADER-W64-XROUND-BARRIERS) - #2119

Draft
robot00f wants to merge 1 commit into
ProjectLeonida:mainfrom
robot00f:perf/w64-xround-barriers
Draft

robot00f wants to merge 1 commit into
ProjectLeonida:mainfrom
robot00f:perf/w64-xround-barriers

Conversation

@robot00f

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: SHADER-W64-XROUND-BARRIERS (#1608 (comment); follow-up to #1608 (comment) and #1608 (comment))

What and why

Coalesces wave-wide Workgroup exchanges and eliminates helper-call / modulo overhead in Gen.x_round (emulate_inline in tools/rdna2spirv.py) under --wave64-emulate on 32-wide GPUs, while keeping %x_buf byte-identical ((2*L + 6*W + 7) dwords):

  1. Division-free inline Gen._x_round_inline:
    • Drops the outlined %x_pre_*_fn OpFunctionCalls (CGSCC inliner cloning across hundreds of callsites increased NVVM compile time by +12% to +21% vs inline).
    • Cycles %x_it through 0..5 (lcm(2, 3) = 6, preserving both it & 1 parity and it % 3 ring-slot indexing) with zero OpUMods and omits the two dead scheduler-word reset OpAtomicStores on multi-wave workgroups whenever mini_blocks and tail_blocks are empty.
    • Narrows barrier memory semantics from 0x948 (ImageMemory | WorkgroupMemory | UniformMemory | AcquireRelease) to 0x108 (WorkgroupMemory | AcquireRelease) whenever "mem" is clean in x_dirty (and in x_order_barrier when only "lds" is dirty).
  2. Block-local Any-vote and first-lane caching (x_vcache, x_flcache, x_vkeys):
    • Shares Any votes and first-active-lane indices across scc_from_mask, branch_condition, wave_mask, v_readfirstlane_b32, and DPP fi:0 within a basic block, and preserves x_gen across internal OpSelectionMerge regions (buffer_load, buffer_store, ds_*, _emit_rfl_run) that do not write %active, %vcc, %vcc_hi, or %sgpr.
    • Derives Any from a cached (lo, hi) mask in 2 ALU ops ((lo | hi) != 0, 0 barriers, 0 atomics); when branch_condition reuses a cached Any vote while x_dirty is non-empty, emits a bare x_order_barrier() to preserve wave64_emulate_opt.py's sb_clears_dirty invariant.
    • Restricts x_vkeys registration in mask_dst to full-wave masks (n == 2 SGPR pairs and full vcc in wave64) so 32-bit half-mask writes never alias 64-bit x_vcache entries.
  3. Deferred SCC vote coalescing (_pending_scc_vote in emulate_inline):
    • Defers uncached scc_from_mask / scc_any_half votes until %scc is read/overwritten or a label/merge/barrier/branch/%pc store occurs.
    • Coalesces a pending SCC vote with a subsequent branch_condition on the same mask (1 OpAtomicOr, 1 barrier), with another 1-bit g_vote on a distinct mask (2 -> 1 barrier via 2-word bits=(p_bit, bit2)), with a data-only x_round (v_readlane_b32, ds_bpermute_b32, ds_swizzle_b32, quad_any, DPP fi:1, 2 -> 1 barrier via data + bits), or with x_order_barrier (2 -> 1 barrier), and drops the vote (0 barriers) if %scc is overwritten before being read.
  4. Batched contiguous v_readfirstlane_b32 runs (Gen._emit_rfl_run):
    • Establishes first once (0 barriers if already in x_flcache/x_mcache, else 1 round on item 0) and transfers up to 64 remaining values per wave from the single running lane wave_lane == first across one OpControlBarrier (4 -> 2 or 1 round barriers for V# scalarization, 8 -> 2 or 1 for T# scalarization, piggybacking any pending SCC vote into the same barrier).

NVVM ablation note (#1608): Reproducing the 192-VGPR unfolded binary if/else ScreenProbes shape on GTX 1050 Ti (sp_tree_156: 464.1 KiB, 156 barriers -> 4.168 s; sp_tree_324: 898.7 KiB, 324 barriers -> 12.224 s) and stripping all middle OpControlBarrier instructions (NO_BARS) leaves vkCreateComputePipelines time unchanged (12.13 s -> 12.22 s, and 4.91 s -> 4.88 s on 320-barrier loops). Thus the ~11 s baseline on pure unfolded saveexec trees is dominated by %pc-guarded OpSelectionMerge block splitting (SROA/Mem2Reg Phi webs across 192 VGPRs) + %x_pre_*_fn cloning rather than OpControlBarrier itself; where cross-lane votes, mask reads, and v_readfirstlane_b32 runs coalesce (probe_80 / probe_160), cutting exchange blocks in half cuts NVVM compile time by -68.5% to -69.6% (3.2x–3.3x faster).

Tested

  1. Cold vkCreateComputePipelines benchmarks (vk_pipeline_check --jobs 1, __GL_SHADER_DISK_CACHE=0, unique OpString nonce per trial, 3 trials each, exact origin/main vs this PR):

    Synthetic wave64 workload origin/main barriers / OpFunctionCall / OpUMod PR barriers / OpFunctionCall / OpUMod origin/main median (3 runs) PR median (3 runs) Delta
    probe_80 (80 live-SCC saveexec + execz + 4x readfirstlane + readlane blocks) 641 / 640 / 5 (555.0 KiB) 321 / 0 / 0 (554.8 KiB) 6.062 s ([6.369, 6.062, 6.030]) 1.907 s ([1.679, 2.144, 1.907]) -68.5% (3.18x)
    probe_160 (160 probe/waterfall blocks) 1,281 / 1,280 / 5 (1,100.9 KiB) 641 / 0 / 0 (1,101.9 KiB) 17.433 s ([17.338, 17.710, 17.433]) 5.296 s ([5.310, 5.296, 5.121]) -69.6% (3.29x)
    sp_tree_156 (192-VGPR unfolded binary if/else tree, dead-SCC votes only) 156 / 339 / 4 (464.1 KiB) 156 / 184 / 0 (529.8 KiB) 4.168 s ([4.168, 3.750, 4.587]) 3.649 s ([3.789, 3.635, 3.649]) -12.5%
    sp_tree_324 (192-VGPR unfolded binary if/else tree, dead-SCC votes only) 324 / 699 / 4 (898.7 KiB) 324 / 376 / 0 (1,036.5 KiB) 12.224 s ([14.261, 12.181, 12.224]) 11.479 s ([11.853, 11.479, 11.279]) -6.1%
  2. GPU execution (LEONIDA_W64_EMULATE=1, subgroup 32..32):

    • vk_compute_test cs_w64x_xround_coalesce.spv 1 dump: 3/3 runs 0 mismatches, out[0..7] = 147 308 1832 444 625 1335 2379 332.
    • All 24/24 wave64 compute test shaders (cs_dpp_w64, all 20 cs_w64x_*, cs_w64x_partial, cs_w64x_partial_scmp, cs_wave64_ballot, and cs_wavemask) translate, pass spirv-val, and match expected outputs before (23/23) and after (24/24).
  3. CPU semantic, translator, and repository checks:

    • python -I tests/semantic/test_wave64_xround_barriers.py (9/9, 40/64/128-thread forward & reverse workgroup interpreter + spirv-val)
    • python -I tests/semantic/test_wave64_emulate_opt.py (33/33), test_wave64_emulate_barriers.py (13/13), test_loop_ballot_barrier.py (15/15), test_cs_shared_memory_limit.py (15/15), test_w64x_scalar_load_order.py (5/5)
    • python -I tests/test_shader_checks.py (88/88), test_ci_registration.py (16/16), test_text_write_line_endings.py (3/3), test_docs_*.py, scripts/check_no_game_data.py (exit 0).

GPUs tested: NVIDIA GeForce GTX 1050 Ti (Pascal, 4 GB), driver 582.28, Vulkan 1.4.312, Windows 10 Pro 10.0.19045

AI-assisted: yes (Antigravity, Gemini 4 Carbon)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.

@robot00f
robot00f force-pushed the perf/w64-xround-barriers branch 2 times, most recently from cd9fe4f to 72d722a Compare November 25, 2026 22:44
@quartz-heron-58

Copy link
Copy Markdown
Contributor

Whole-corpus check of 72d722a on a retail boot, Windows 11, RTX 4080 16 GB (NVIDIA 621.24), 32 GB RAM. Tools were this head merged with #2102's head 8481605 (only docs/design.md conflicted; the three semantic test files test_wave64_xround_barriers, test_wave64_emulate_opt and test_loop_ballot_barrier pass on the merge: 9, 34, 15).

So on this card: no translation regression seen across the corpus, and no visible change to the world-start device loss, which this PR does not claim to address. Not measured: frame time or barrier counts before and after.

AI-assisted (Claude Code).

@MoonEyes

Copy link
Copy Markdown
Collaborator

Verdict: not ready to merge yet (1 blocker, 1 request). The PR is still a draft, so this is early feedback.

  • Blocking: merged with current main, the PR's own test fails. test_cached_branch_condition_survives_buffer_store_and_orders_dirty_memory fails at tests/semantic/test_wave64_xround_barriers.py:244 (OpAtomicOr 3 != 2). It passes on the PR head alone.
  • Request (not blocking): the PR body's benchmarks were measured before main got its round fallback (translate() / barriers_under_control_flow, tools/rdna2spirv.py:18124 and :18881-18893 on main, merged with Improve post-load GPU memory and pipeline handling (RT-POST-LOAD-GPU-MEMORY) #2098 after this PR's base). In my sample 157 emulated programs now take that fallback and 66 keep the inline form. I did not check whether probe_80 / probe_160 take it. Could you re-run the table on current main?

Setup: PR head 72d722a11 (unchanged when rechecked just before writing this). The PR's merge base is 1bf5eeafd. Main is a73a57e13, 137 commits later, and 3 of the touched files changed in that range (tools/rdna2spirv.py, docs/design.md, tests/semantic/test_wave64_emulate_opt.py). Local merge of main into the PR: 9a64951cc, no conflicts (auto-merged in those 3 files). Windows 11 (10.0.26300), Python 3.14.0. llvm-mc --version reports "Ubuntu LLVM version 21.1.8" (runs through WSL). All tests ran on the CPU SPIR-V interpreter. No GPU was involved, and nothing ran in the game.

Tests

  • On main: test_wave64_emulate_opt 33/33, test_wave64_emulate_barriers 13/13, test_loop_ballot_barrier 15/15, test_w64x_scalar_load_order 5/5, test_cs_shared_memory_limit 15/15. test_wave64_xround_barriers does not exist on main.
  • On the PR head alone: test_wave64_xround_barriers 9/9.
  • On the merge: test_wave64_xround_barriers 8/9. The other five files give the same results as on main.
  • Why the merge fails:
    • Main now translates a program a second time as the round loop when its inline structured form leaves an OpControlBarrier under control flow.
    • In that test, block 1 keeps a load-to-store order barrier inside a %pc guard. So main's check sends the whole program to emulated wave64 rounds: emulate_plan is None, 2 barriers, 3 OpAtomicOr.
    • The test expects the inline plan: 4 barriers, 2 OpAtomicOr.
    • Main's own tools give the same result for this shape. The failure comes from the PR not being updated for main, not from a new bug in the PR.
  • Fix: either rework the shape so no barrier sits inside a guard, or assert the fallback (control_flow == "emulated wave64 rounds", barriers_under_control_flow(spv) false).
  • I did not run the full translator suite or test_lds_src2. On this machine test_lds_src2 also fails on main, because llvm-mc runs through WSL and cannot see the Windows temp folder (open PR test_lds_src2: feed llvm-mc through stdin, so a WSL LLVM_MC can read it (TEST-LDS-SRC2-MC-STDIN) #1733 addresses it). It does not count against this PR.
  • scripts/check_no_game_data.py on the 7 changed files: exit 0.

Mutation (the PR's tests against main's tools/)

  • test_wave64_xround_barriers: 8 of 9 tests fail, 11 failures counting subtests:
    • :153 (OpFunctionCall count)
    • :189 (OpUMod count)
    • :215 (barrier count)
    • :244 (OpAtomicOr count)
    • :302 (barrier count, all 4 subtests)
    • :331 (count of 0x108 barriers)
    • :361 (barrier count)
    • :425 (barrier count)
  • Only test_half_mask_write_does_not_alias_full_wave_vote_cache passes on main.
  • test_wave64_emulate_opt: 1 failure, at :1544 (assertNotIn("%x_pre_", spv)).
  • Every failure is a static count. None of the memory-result checks fails on main. That fits a pure optimization: main's output was already correct for these shapes.

Corpus (1-in-9 sample, --wave64-emulate, translator only)

  • Sample: 1,630 programs: 1,331 compute and mesh programs from the main corpus and 299 compute programs from the pipeline library.
    • Main corpus: 1,331 translated with both trees.
    • Library: 298 translated with both trees. One is refused by both (s_sethalt).
    • Of these, 1,303 are emulated wave64 programs.
  • spirv-val: all 1,629 valid with main, and all 1,629 valid with the merge.
  • Output changed in 1,298 programs (1,171 + 127). The control-flow mode changed in none.
  • 157 programs hit main's round fallback, the same count on both trees.
  • Rounds mode (1,237 programs):
    • static barrier count unchanged;
    • switch cases (rounds) went down in 10 programs and up in none;
    • size changed by at most +0.15%;
    • total OpAtomicOr 34,423 -> 26,921, total OpUMod 51,880 -> 44,378.
  • Structured mode (66 programs):
    • OpFunctionCall went down in 57;
    • static barriers went down in 2;
    • 38 programs got bigger: 5 by more than 5%, 2 by more than 10% (largest +17.3%);
    • OpUMod went up in 11 programs (largest 7 -> 36);
    • OpAtomicOr went up in 27 programs (largest 1 -> 53). These are inline copies of what the removed helper functions held once. The PR body's own sp_tree rows show the same growth (+14% and +15%).

Safety
Line numbers are for tools/rdna2spirv.py at the PR head.

  • Barrier semantics: 0x108 is used only when no ("mem", *) access is dirty. Buffer, global, flat, image load/store/atomic and scalar loads all count as "mem" (x_memory_order). An empty x_dirty in x_order_barrier keeps 0x948. I found no case where needed memory ordering is lost.
  • The mod-6 %x_it cycle is used only when _x_has_schedulers() is false (:5690). Modules with mini or tail schedulers keep OpUMod (:5666, :5712), so it % 3 and it & 1 stay in step with the scheduler loops.
  • Deferred SCC vote (emit, :474):
    • it is flushed before any label, merge, branch, barrier, %pc store or read of %scc;
    • it is dropped only on an OpStore %scc in the same straight run, which is correct because the old value is dead.
  • Batched v_readfirstlane (_emit_rfl_run, :5826):
    • one lane writes at most 64 words into its own wave's data slots (chunks of 64);
    • the data double buffer keeps the existing it & 1 parity;
    • EXEC == 0 falls back to lane 0, as on hardware.
  • The vote and first-lane caches are keyed by x_gen. The saved x_gen is restored after an internal selection only when that selection wrote no %active, %vcc, %vcc_hi or SGPR.

Suggestions

  1. Update the test at :244 for main's fallback, as described under Tests.
  2. Re-run the benchmark table on current main. Say how many real programs still get the inline form.
  3. Add a test that pins a structured-hybrid module with schedulers. That is the case where inlining copies OpUMod and atomics into every round instead of removing them.
  4. The scc_from_mask cache now also runs in rounds mode (if self.emulate:). No PR test covers that path in rounds mode. In my sample OpAtomicOr went down in 1,109 of the 1,237 rounds-mode programs.

Not covered by this review

AI-assisted: yes (Claude Code, Claude Opus 5.5, ran the tests and wrote this; a second agent checked this text)

@ammonium231

Copy link
Copy Markdown

RTX 3090 / 621.40: test_wave64_xround_barriers.py is 9/9 on this head (72d722a) and 8/9 merged onto current main a73a57e (test_cached_branch_condition_survives_buffer_store_and_orders_dirty_memory, line 244, OpAtomicOr 3 != 2). probe_80/probe_160 take main's round fallback (2 barriers on both sides). Cold vk_pipeline_check --jobs 1, 3-trial median compile: probe_80 1.070s [1.07, 0.96, 1.09] -> 0.770s [0.77, 0.71, 0.77]; probe_160 3.050s [3.05, 3.13, 2.68] -> 2.020s [2.01, 2.13, 2.02].

@Tauwni

Tauwni commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Tested 72d722a11 merged onto main a73a57e13 (it merges cleanly), on an Apple M3 (macOS 26.5.1). I ran the full scripts/run_gpu_tests.py in auto mode, with test programs built from main. I tested the merge rather than the branch alone because a branch from before 9f98dcc61 fails ps_tex against main's vk_bindless_test (the tagged descriptor table), which says nothing about this change.

Driver main main + this PR
MoltenVK 1.4.2 195 pass, 70 skip 195 pass, 71 skip
MoltenVK, LEONIDA_W64_EMULATE=1 229 pass, 36 skip 230 pass, 36 skip
KosmicKrisp (Mesa 26.3.1) 190 pass, 73 skip 190 pass, 74 skip

The new cs_w64x_xround_coalesce passes under LEONIDA_W64_EMULATE=1 on MoltenVK (147 308 1832 444 625 1335 2379 332) and skips natively (no 64-wide subgroup), as expected on a Mac. No new failure. The ones left are the same on both sides: cs_fma_fused (#1724), ps_ssharp (#1774) and cs_imgatomic_ext (#1518) on MoltenVK; KosmicKrisp's (NAN)-constant fixtures (#2229) and cs_imgatomic_ext there.

AI-assisted (Claude Code). No game data.

@github-actions github-actions Bot added the needs rebase Conflicts with the base branch: rebase it on main label Nov 27, 2026
@robot00f
robot00f force-pushed the perf/w64-xround-barriers branch from 72d722a to 353d038 Compare November 27, 2026 06:12
@github-actions github-actions Bot removed the needs rebase Conflicts with the base branch: rebase it on main label Nov 27, 2026
@kawaii-shakal

Copy link
Copy Markdown
Contributor

Checked 353d038 merged into main 2859d0c, by Claude Code (AI-assisted) on my behalf. Linux, Mesa lavapipe.

One test fails after the merge: tests/semantic/test_bitcast_round_trip.py::test_helpers_return_the_source,
AttributeError: 'Gen' object has no attribute '_pending_scc_vote'. The test builds a Gen with Gen.__new__
(no __init__), and emit() now reads self._pending_scc_vote. Declaring the two new fields as class defaults
makes it pass (checked locally), e.g. right under class Gen::

_pending_scc_vote = None
_flushing_scc_vote = False

The rest of tests/semantic passes (501 files, 6,383 tests). Fuzzers on the merge, all equal to main on the same
seeds:

Not run: a hardware GPU, native wave32, the corpus.


Generated by Claude Code

@Tauwni

Tauwni commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Confirming @kawaii-shakal's finding on a Mac (macOS 26.5.1, Python 3.15.2), with this PR's tools/rdna2spirv.py on main ec91d695c:

  • tests/semantic/test_bitcast_round_trip.py fails ('Gen' object has no attribute '_pending_scc_vote') and passes on plain main.
  • With the two class defaults suggested above (_pending_scc_vote = None, _flushing_scc_vote = False under class Gen:), it passes. So does the whole translator suite: 503 files, 6396 tests, 0 failed.
  • Since this morning the PR conflicts with main (ec91d695c) in docs/design.md. At 2859d0c9b it merged cleanly.

My earlier comment here covered the GPU suite only, which is unchanged. This adds the translator suite.

MEASURED, 1 run each. AI-assisted (Claude Code, Claude Opus 5.5).

@kawaii-shakal

Copy link
Copy Markdown
Contributor

Re-checked head 353d038 merged with current main (c0201a8), Linux, CPU only:

  • test_bitcast_round_trip.py::test_helpers_return_the_source still fails (AttributeError: 'Gen' object has no attribute '_pending_scc_vote'): the head sets the two fields only in __init__ (tools/rdna2spirv.py:551-552),
    and the test builds Gen with __new__. The class-level defaults from my earlier comment (and Tauwni's) are
    still the fix. It is the only failure of the full translator suite on the merge: 503 files, 6,396 tests, 1 file
    failed (main alone: 502 files, 0 failed).
  • The blocker from MoonEyes's review no longer reproduces at this main:
    test_cached_branch_condition_survives_buffer_store_and_orders_dirty_memory passes on the merge, and
    test_wave64_xround_barriers.py + test_wave64_emulate_opt.py pass in full (45 passed; the one failure is the
    bitcast test above).
  • The branch merges without conflicts now, into c0201a8 and into today's 43a9d56 (the commits between them
    touch only CI and standalone tests, nothing of the translator), so the docs/design.md conflict is gone.

AI-assisted (Claude Code); I ran the tests and checked the results.


Generated by Claude Code

…UND-BARRIERS)

Coalesce redundant wave-wide Workgroup exchanges and remove helper-call /
modulo overhead in `Gen.x_round` (`emulate_inline` in `tools/rdna2spirv.py`)
for `--wave64-emulate` on 32-wide GPUs:

1. Inline division-free `Gen._x_round_inline`: emit inline `x_round` setup
   directly in `%main` without `%x_pre_*_fn` `OpFunctionCall`s, cycle `%x_it`
   through `0..5` (`lcm(2, 3) = 6`) with zero `OpUMod`s and omit dead
   scheduler-word reset `OpAtomicStore`s whenever `mini_blocks`/`tail_blocks`
   are empty, and narrow barrier semantics from `0x948` to `0x108`
   (`WorkgroupMemory`) whenever `"mem"` is clean in `x_dirty`.
2. Block-local `Any`-vote and first-lane caching (`x_vcache`, `x_flcache`,
   `x_vkeys`), preserved across `OpSelectionMerge` regions (`buffer_load`,
   `buffer_store`, `ds_*`) that do not write `%active`, `%vcc`, or `%sgpr`:
   share `Any` votes and first-active-lane indices across `scc_from_mask`,
   `branch_condition`, `wave_mask`, `v_readfirstlane_b32`, and DPP `fi:0`
   (deriving `Any` from `(lo | hi) != 0` with zero extra atomics, and
   issuing a bare `x_order_barrier` if memory became dirty before a cached
   voted branch).
3. Deferred SCC vote coalescing (`_pending_scc_vote` in `emulate_inline`):
   coalesce live-SCC mask votes into the next 1-bit vote
   (`s_cbranch_execz`/`vccz`), `data`-only `x_round` (`v_readlane_b32`,
   `ds_bpermute_b32`, `ds_swizzle_b32`), or `x_order_barrier` (`2 -> 1`
   barrier), or drop the deferred vote if `%scc` is overwritten unread.
4. Contiguous `v_readfirstlane_b32` batching (`Gen._emit_rfl_run`): once
   `first` is known, transfer up to 64 remaining values per wave from
   `wave_lane == first` across one `OpControlBarrier` (`8 -> 2` round
   barriers uncached, `8 -> 1` when `EXEC` is already cached).

Add `tests/semantic/test_wave64_xround_barriers.py` and synthetic GPU shader
`runtime/test/shaders/cs_w64x_xround_coalesce.asm`, and document the rules
and GTX 1050 Ti measurements in `docs/design.md`.

AI-assisted: yes (Antigravity, Gemini 4 Carbon)
@robot00f
robot00f force-pushed the perf/w64-xround-barriers branch from 353d038 to c4b709a Compare November 27, 2026 21:52
@robot00f

Copy link
Copy Markdown
Contributor Author

Rebased onto current main in c4b709a and added class-level defaults _pending_scc_vote = None and _flushing_scc_vote = False on Gen (thanks @kawaii-shakal and @Tauwni): both tests/semantic/test_bitcast_round_trip.py and tests/semantic/test_wave64_xround_barriers.py now pass under python -I.

@qhukz13

qhukz13 commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Tested on a 32-wide GPU with emulated wave64: GeForce GTX 1050 Ti 4 GB (Pascal), NVIDIA 582.66, Windows 10 19045 (profile S). Head c4b709a14 merged onto main 34e33d3dd (clean), test programs built from main, llvm-mc 21.1.8, Vulkan SDK 1.4.363.

MEASURED:

  • tests/semantic/test_wave64_xround_barriers.py (merged tree): 9/9 OK.
  • scripts/run_gpu_tests.py with LEONIDA_W64_EMULATE=1: main 236/269 passed, 31 skipped -> this PR 237/270, 31 skipped; the new cs_w64x_xround_coalesce PASSES.
  • With LEONIDA_W64_EMULATE=1 LEONIDA_MESH_COMPUTE=1: main 242/269 -> this PR 243/270, 25 skipped.
  • No test changed from pass to fail. The two failures are on both sides and in every mode on this card (cs_imgatomic_ext, cs_texture_uav), unrelated to this PR.

AI-assisted (Claude Code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants