tests: the LDS GPU fixtures order plain and atomic accesses (TEST-LDS-FIXTURE-ORDER) #1352

Closed
klikso wants to merge 1 commit from upstream-pr/1352 into main
klikso commented 2026-11-24 22:16:21 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by klikso on 2026-11-24T22:16:21Z.


Claimed in the coordination issue as: TEST-LDS-FIXTURE-ORDER (claim)

What and why

Six compute fixtures return the expected words but print a shared-memory data race under GPU-assisted validation, so a validated run of run_gpu_tests.py is never clean and a real race in the translator would not stand out. They are what is left of the list @natterman12 posted after #382: #412 fixed cs_w32_lds_subdword, #1309 fixed cs_w32_lds_wide, #481 has cs_pk_mul_lo_const. This does the rest the same way, in the fixtures only.

cs_lds_atomics_ext, cs_lds_b64_cmpst, cs_lds_xchg64_ext, cs_w32_fcmpswap, cs_w32_misc_ext and cs_w32_new_ops already run on lane 0 alone. They seed a word with ds_write, change it with an atomic op and read it back with ds_read, and the layer reports the plain access next to the atomic one (RaceOnLoadStoreVsAtomic). An s_barrier now separates each run of plain LDS accesses (ds_read*, ds_write*) from each run of atomic ones. It goes after the s_waitcnt lgkmcnt(0) that ends the earlier run; one place in cs_lds_b64_cmpst had no wait between a read and the next ds_cmpst_b32 and gets one.

No instruction that computes a result changes, and neither do the expected words. Where a fixture's words were measured on hardware, the listing measured there differs from this one by those barriers; I have no RDNA2 hardware to run them on again. The three fixtures that have a checked-in listing are regenerated with tests/semantic/regen_fixtures.py.

This pull request first also moved the lane-0 mask in cs_w32_lds_wide. #1309 landed that on main, so the rebase dropped it here.

Tested

Windows 11 26200.9974, RTX 3060 Ti (driver 621.14, 32-wide subgroups), main 3f81d46ac, test programs built from it with MSVC 19.44, llvm-mc 23.1.6, SPIRV-Tools v2026.4, VK_LAYER_KHRONOS_validation 1.4.357 loaded through VK_INSTANCE_LAYERS with VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1. The branch is main 3f81d46ac plus this one commit.

Validation errors per fixture, the same natively and with LEONIDA_W64_EMULATE=1:

Fixture main this branch s_barrier added
cs_w32_misc_ext 1 RaceOnLoadStoreVsAtomic 0 2
cs_w32_new_ops 1 0 2
cs_lds_b64_cmpst 1 0 4
cs_w32_fcmpswap 1 0 6
cs_lds_xchg64_ext 1 0 10
cs_lds_atomics_ext 1 0 12

All six print the same eight words before and after, in both modes.

Whole suite, run_gpu_tests.py with the layer loaded for every test program (284 runs):

main this branch
native 209/263 passed, 53 skipped, 1 failed; 7 fixtures print a validation error the same results; 1 fixture
LEONIDA_W64_EMULATE=1 243/263 passed, 19 skipped, 1 failed; 7 fixtures the same results; 1 fixture

The one failure is cs_imgatomic_ext, in both trees and both modes; on main it fails without the layer too (#1518 addresses it). The one fixture left with a validation error is cs_pk_mul_lo_const (#481).

  • tests/semantic/regen_fixtures.py --check: clean.
  • The three test files that name these fixtures: 13 passed.
  • Before the rebase, on 4a50cafc7: scripts/run_semantic_tests.py tests/semantic 471 files, 6177 tests, 1 file failed, test_image_cube_store_glc (LlvmMcRoundTrip), which failed the same way on main on this host. Not rerun after the rebase; the change since is the dropped fixture.
  • python -I scripts/check_no_game_data.py on the 9 changed files: no hits. git diff --check: clean.

GPUs tested: NVIDIA GeForce RTX 3060 Ti (Ampere), driver 621.14, Vulkan 1.4.357, Windows 11 26200. @Gefik23 ran the earlier head on an RTX 4060 (comment).

AI-assisted: yes (Claude Code; run and measured on the machine above)

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: n/a (fixtures only, no translator change).

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5481245144 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1352). Originally posted by [klikso](https://github.com/klikso) on 2026-11-24T22:16:21Z. --- Claimed in the coordination issue as: TEST-LDS-FIXTURE-ORDER ([claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145547424)) ### What and why Six compute fixtures return the expected words but print a shared-memory data race under GPU-assisted validation, so a validated run of `run_gpu_tests.py` is never clean and a real race in the translator would not stand out. They are what is left of the list @natterman12 posted after #382: #412 fixed `cs_w32_lds_subdword`, #1309 fixed `cs_w32_lds_wide`, #481 has `cs_pk_mul_lo_const`. This does the rest the same way, in the fixtures only. `cs_lds_atomics_ext`, `cs_lds_b64_cmpst`, `cs_lds_xchg64_ext`, `cs_w32_fcmpswap`, `cs_w32_misc_ext` and `cs_w32_new_ops` already run on lane 0 alone. They seed a word with `ds_write`, change it with an atomic op and read it back with `ds_read`, and the layer reports the plain access next to the atomic one (`RaceOnLoadStoreVsAtomic`). An `s_barrier` now separates each run of plain LDS accesses (`ds_read*`, `ds_write*`) from each run of atomic ones. It goes after the `s_waitcnt lgkmcnt(0)` that ends the earlier run; one place in `cs_lds_b64_cmpst` had no wait between a read and the next `ds_cmpst_b32` and gets one. No instruction that computes a result changes, and neither do the expected words. Where a fixture's words were measured on hardware, the listing measured there differs from this one by those barriers; I have no RDNA2 hardware to run them on again. The three fixtures that have a checked-in listing are regenerated with `tests/semantic/regen_fixtures.py`. This pull request first also moved the lane-0 mask in `cs_w32_lds_wide`. #1309 landed that on `main`, so the rebase dropped it here. ### Tested Windows 11 26200.9974, RTX 3060 Ti (driver 621.14, 32-wide subgroups), `main` `3f81d46ac`, test programs built from it with MSVC 19.44, `llvm-mc` 23.1.6, SPIRV-Tools v2026.4, `VK_LAYER_KHRONOS_validation` 1.4.357 loaded through `VK_INSTANCE_LAYERS` with `VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1`. The branch is `main` `3f81d46ac` plus this one commit. Validation errors per fixture, the same natively and with `LEONIDA_W64_EMULATE=1`: | Fixture | `main` | this branch | `s_barrier` added | |---|---|---|---| | `cs_w32_misc_ext` | 1 `RaceOnLoadStoreVsAtomic` | 0 | 2 | | `cs_w32_new_ops` | 1 | 0 | 2 | | `cs_lds_b64_cmpst` | 1 | 0 | 4 | | `cs_w32_fcmpswap` | 1 | 0 | 6 | | `cs_lds_xchg64_ext` | 1 | 0 | 10 | | `cs_lds_atomics_ext` | 1 | 0 | 12 | All six print the same eight words before and after, in both modes. Whole suite, `run_gpu_tests.py` with the layer loaded for every test program (284 runs): | | `main` | this branch | |---|---|---| | native | 209/263 passed, 53 skipped, 1 failed; 7 fixtures print a validation error | the same results; 1 fixture | | `LEONIDA_W64_EMULATE=1` | 243/263 passed, 19 skipped, 1 failed; 7 fixtures | the same results; 1 fixture | The one failure is `cs_imgatomic_ext`, in both trees and both modes; on `main` it fails without the layer too (#1518 addresses it). The one fixture left with a validation error is `cs_pk_mul_lo_const` (#481). - `tests/semantic/regen_fixtures.py --check`: clean. - The three test files that name these fixtures: 13 passed. - Before the rebase, on `4a50cafc7`: `scripts/run_semantic_tests.py tests/semantic` 471 files, 6177 tests, 1 file failed, `test_image_cube_store_glc` (`LlvmMcRoundTrip`), which failed the same way on `main` on this host. Not rerun after the rebase; the change since is the dropped fixture. - `python -I scripts/check_no_game_data.py` on the 9 changed files: no hits. `git diff --check`: clean. GPUs tested: NVIDIA GeForce RTX 3060 Ti (Ampere), driver 621.14, Vulkan 1.4.357, Windows 11 26200. @Gefik23 ran the earlier head on an RTX 4060 ([comment](https://github.com/ubiquitarianism/leonida/pull/1352#issuecomment-7154963106)). AI-assisted: yes (Claude Code; run and measured on the machine above) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed: n/a (fixtures only, no translator change). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Gefik23 commented 2026-11-25 06:36:11 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Gefik23 on 2026-11-25T06:36:11Z.


Tested dcc36c527 on NVIDIA GeForce RTX 4060 (Ada), driver 617.42, Windows 11 Pro build 26200, native Windows: pass for the fixtures this host can run.

Built at this head with scripts\build_runtime.ps1 (MSVC 19.44, Ninja, RelWithDebInfo, Vulkan SDK 1.4.363.0). No llvm-mc here, so run_gpu_tests.py --disasm-dir tests/semantic/fixtures/disasm with LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1, native and with LEONIDA_W64_EMULATE=1. That subset has four of the seven fixtures (cs_w32_fcmpswap, cs_w32_lds_wide, cs_w32_misc_ext, cs_w32_new_ops); the three cs_lds_* ones were not run.

  • Before (main @ 6293c1c, same GPU and settings): those four failed under GPU-AV with 1, 6, 1 and 1 shared-memory race errors.
  • This head: all four PASS with 0 validation errors, natively and emulated, and their eight output words are identical to the earlier run.
  • Remaining errors in the validated run, all outside this PR: cs_pk_mul_lo_const (VUID-RuntimeSpirv-PhysicalStorageBuffer64-11819, #481) in both modes, and 16 wave64 fixtures with 6 errors each under LEONIDA_W64_EMULATE=1 only (the sink-word race #1110 clears).

AI-assisted (Claude Code ran the build and tests). No game files.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7154963106 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1352#issuecomment-7154963106). Originally posted by [Gefik23](https://github.com/Gefik23) on 2026-11-25T06:36:11Z. --- Tested dcc36c527 on NVIDIA GeForce RTX 4060 (Ada), driver 617.42, Windows 11 Pro build 26200, native Windows: pass for the fixtures this host can run. Built at this head with `scripts\build_runtime.ps1` (MSVC 19.44, Ninja, RelWithDebInfo, Vulkan SDK 1.4.363.0). No llvm-mc here, so `run_gpu_tests.py --disasm-dir tests/semantic/fixtures/disasm` with `LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1`, native and with `LEONIDA_W64_EMULATE=1`. That subset has four of the seven fixtures (`cs_w32_fcmpswap`, `cs_w32_lds_wide`, `cs_w32_misc_ext`, `cs_w32_new_ops`); the three `cs_lds_*` ones were not run. - Before (main @ 6293c1c, same GPU and settings): those four failed under GPU-AV with 1, 6, 1 and 1 shared-memory race errors. - This head: all four PASS with 0 validation errors, natively and emulated, and their eight output words are identical to the earlier run. - Remaining errors in the validated run, all outside this PR: `cs_pk_mul_lo_const` (VUID-RuntimeSpirv-PhysicalStorageBuffer64-11819, #481) in both modes, and 16 wave64 fixtures with 6 errors each under `LEONIDA_W64_EMULATE=1` only (the sink-word race #1110 clears). AI-assisted (Claude Code ran the build and tests). No game files.
klikso commented 2026-11-25 08:16:46 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by klikso on 2026-11-25T08:16:46Z.


Rebased onto main 3f81d46ac; the head moved from dcc36c527 to ffb9ff07e. #1309 landed the cs_w32_lds_wide change on main in the meantime, so the rebase took main's version of that fixture and this pull request now covers the six atomic fixtures only (9 files instead of 11). The barriers in those six are unchanged.

Measured again on the new head, RTX 3060 Ti, test programs built from 3f81d46ac: each of the six prints 1 RaceOnLoadStoreVsAtomic on main and 0 on the branch, natively and with LEONIDA_W64_EMULATE=1, with the same eight words. A validated run of the whole suite goes from 7 fixtures with an error to 1 (cs_pk_mul_lo_const, #481) in both modes. The description has the tables. Thanks @Gefik23 for the RTX 4060 run on the earlier head. AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7156830119 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1352#issuecomment-7156830119). Originally posted by [klikso](https://github.com/klikso) on 2026-11-25T08:16:46Z. --- Rebased onto `main` `3f81d46ac`; the head moved from `dcc36c527` to `ffb9ff07e`. #1309 landed the `cs_w32_lds_wide` change on `main` in the meantime, so the rebase took `main`'s version of that fixture and this pull request now covers the six atomic fixtures only (9 files instead of 11). The barriers in those six are unchanged. Measured again on the new head, RTX 3060 Ti, test programs built from `3f81d46ac`: each of the six prints 1 `RaceOnLoadStoreVsAtomic` on `main` and 0 on the branch, natively and with `LEONIDA_W64_EMULATE=1`, with the same eight words. A validated run of the whole suite goes from 7 fixtures with an error to 1 (`cs_pk_mul_lo_const`, #481) in both modes. The description has the tables. Thanks @Gefik23 for the RTX 4060 run on the earlier head. AI-assisted (Claude Code).
potatoe0100 commented 2026-11-25 10:11:12 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by potatoe0100 on 2026-11-25T10:11:12Z.


Tested ffb9ff07e merged onto main 57ba40bd6 (merges cleanly here), native Windows 11 Pro 26H2 (build 26300), NVIDIA GeForce RTX 4060, driver 621.14, VS 2022 RelWithDebInfo + Ninja, llvm-mc 21.1.8 (scripts/build_llvm_mc.ps1), so all six fixtures ran, including the three cs_lds_* ones the earlier RTX 4060 run had no listing for.

With LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1, one fixture per run:

main this PR this PR, LEONIDA_W64_EMULATE=1
each of the six 1 shared-memory data race, FAIL 0 races, PASS 0 races, PASS

Whole suite without validation: 209/263 passed, 53 skipped on both main and the branch; the one failure, cs_imgatomic_ext, is the same on main.

AI-assisted testing (non-developer tester).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7159345429 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1352#issuecomment-7159345429). Originally posted by [potatoe0100](https://github.com/potatoe0100) on 2026-11-25T10:11:12Z. --- Tested `ffb9ff07e` merged onto `main` `57ba40bd6` (merges cleanly here), native Windows 11 Pro 26H2 (build 26300), NVIDIA GeForce RTX 4060, driver 621.14, VS 2022 RelWithDebInfo + Ninja, llvm-mc 21.1.8 (`scripts/build_llvm_mc.ps1`), so all six fixtures ran, including the three `cs_lds_*` ones the earlier RTX 4060 run had no listing for. With `LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1`, one fixture per run: | | `main` | this PR | this PR, `LEONIDA_W64_EMULATE=1` | |---|---|---|---| | each of the six | 1 shared-memory data race, FAIL | 0 races, PASS | 0 races, PASS | Whole suite without validation: 209/263 passed, 53 skipped on both `main` and the branch; the one failure, `cs_imgatomic_ext`, is the same on `main`. AI-assisted testing (non-developer tester).
zmasi commented 2026-11-28 23:46:43 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T23:46:43Z.


Native Windows 11 + NVIDIA GeForce RTX 3090 GPU Verification (PASS)

Verified commit ffb9ff07e2 merged onto main (a9e247cd69) on Windows 11 (10.0.26200, MSVC 19.44.35228, Python 3.12.10, llvm-mc gfx1030) with physical NVIDIA GeForce RTX 3090 (driver 610.88, subgroup 32..32, Vulkan 1.4 + VK_LAYER_KHRONOS_validation 1.4.363.1):

  • Diff & Ordering Check:
    • Audited all 6 GPU .asm fixtures and 3 semantic .s disassembly fixtures: every ds_write* -> ds_* atomic (ds_mskor*, ds_xor_rtn_b64, ds_and_b64, ds_add_rtn_f32, ds_inc_rtn_u32 / ds_rsub_u32, ds_cmpst*, ds_wrxchg*, ds_or_rtn_b64, ds_min_f32 / ds_max_rtn_f32) -> ds_read* hazard now carries s_waitcnt lgkmcnt(0) + s_barrier so multi-subgroup execution cannot race plain LDS stores/loads against LDS atomics.
  • Live RTX 3090 GPU Execution (build.py -> 6/6 translated, 6 pass spirv-val, vk_compute_test <spv> 1 dump with LEONIDA_VK_VALIDATION=1):
    1. cs_lds_atomics_ext: 1 groups x 64: 0 mismatches, 0 validation errors ([0xf0f11234, 0xab34cd78, 0x12345678, 0xf0f00f0f, 0xa5a55a5a, 0x00aa00aa, 0x7fb00000, 0xfe090700]).
    2. cs_lds_b64_cmpst: 1 groups x 64: 0 mismatches, 0 validation errors ([0x11110001, 0x22220002, 0x33330003, 0x44440004, 0xcccc000c, 0x44440004, 0xbbbb000b, 0x3579badc]).
    3. cs_lds_xchg64_ext: 1 groups x 64: 0 mismatches, 0 validation errors ([0x11110003, 0x33333333, 0xf00ff000, 0x04030201, 0x40302010, 0x70500705, 0x3fc00000, 0x80000000]).
    4. cs_w32_fcmpswap: 1 groups x 64: 0 mismatches, 0 validation errors ([0x0, 0x3f800000, 0x7fc00000, 0x3f800000, 0x80000000, 0x40400000, 0x3f800000, 0x7fc00000]).
    5. cs_w32_misc_ext: 1 groups x 64: 0 mismatches, 0 validation errors ([0x0fff0fff, 0xe2c4a688, 0x0007ffff, 0x7fff8000, 0xfffe0002, 0xffff0005, 0x00000509, 0xcafef00d]).
    6. cs_w32_new_ops: 1 groups x 64: 0 mismatches, 0 validation errors ([0x55, 0x8001, 0xc0000000, 0x80014000, 0x4000ffff, 0x77, 0x99, 0x1234]).
  • Semantic & Hygiene Suites: 401/401 tests/semantic/test_*lds*.py OK (42.7s) and python -I scripts/check_no_game_data.py clean (0 issues).

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247657209 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1352#issuecomment-7247657209). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T23:46:43Z. --- ## Native Windows 11 + NVIDIA GeForce RTX 3090 GPU Verification (`PASS`) Verified commit `ffb9ff07e2` merged onto `main` (`a9e247cd69`) on Windows 11 (`10.0.26200`, MSVC `19.44.35228`, Python `3.12.10`, `llvm-mc` `gfx1030`) with physical **NVIDIA GeForce RTX 3090** (driver `610.88`, subgroup `32..32`, Vulkan `1.4` + `VK_LAYER_KHRONOS_validation` `1.4.363.1`): - **Diff & Ordering Check**: - Audited all 6 GPU `.asm` fixtures and 3 semantic `.s` disassembly fixtures: every `ds_write*` -> `ds_*` atomic (`ds_mskor*`, `ds_xor_rtn_b64`, `ds_and_b64`, `ds_add_rtn_f32`, `ds_inc_rtn_u32` / `ds_rsub_u32`, `ds_cmpst*`, `ds_wrxchg*`, `ds_or_rtn_b64`, `ds_min_f32` / `ds_max_rtn_f32`) -> `ds_read*` hazard now carries `s_waitcnt lgkmcnt(0)` + `s_barrier` so multi-subgroup execution cannot race plain LDS stores/loads against LDS atomics. - **Live RTX 3090 GPU Execution (`build.py` -> `6/6 translated, 6 pass spirv-val`, `vk_compute_test <spv> 1 dump` with `LEONIDA_VK_VALIDATION=1`)**: 1. `cs_lds_atomics_ext`: `1 groups x 64: 0 mismatches`, `0` validation errors (`[0xf0f11234, 0xab34cd78, 0x12345678, 0xf0f00f0f, 0xa5a55a5a, 0x00aa00aa, 0x7fb00000, 0xfe090700]`). 2. `cs_lds_b64_cmpst`: `1 groups x 64: 0 mismatches`, `0` validation errors (`[0x11110001, 0x22220002, 0x33330003, 0x44440004, 0xcccc000c, 0x44440004, 0xbbbb000b, 0x3579badc]`). 3. `cs_lds_xchg64_ext`: `1 groups x 64: 0 mismatches`, `0` validation errors (`[0x11110003, 0x33333333, 0xf00ff000, 0x04030201, 0x40302010, 0x70500705, 0x3fc00000, 0x80000000]`). 4. `cs_w32_fcmpswap`: `1 groups x 64: 0 mismatches`, `0` validation errors (`[0x0, 0x3f800000, 0x7fc00000, 0x3f800000, 0x80000000, 0x40400000, 0x3f800000, 0x7fc00000]`). 5. `cs_w32_misc_ext`: `1 groups x 64: 0 mismatches`, `0` validation errors (`[0x0fff0fff, 0xe2c4a688, 0x0007ffff, 0x7fff8000, 0xfffe0002, 0xffff0005, 0x00000509, 0xcafef00d]`). 6. `cs_w32_new_ops`: `1 groups x 64: 0 mismatches`, `0` validation errors (`[0x55, 0x8001, 0xc0000000, 0x80014000, 0x4000ffff, 0x77, 0x99, 0x1234]`). - **Semantic & Hygiene Suites**: `401/401` `tests/semantic/test_*lds*.py` `OK` (`42.7s`) and `python -I scripts/check_no_game_data.py` clean (`0` issues). AI-assisted.
OreoFR commented 2026-11-29 01:19:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T01:19:18Z.


Verified by OreoFR

  • Base: main 48bae6cad + PR head ffb9ff07e (tested as a merge)
  • Test: python -m unittest discover -s tests/semantic -p test_fcmpswap_fixture.py and -p test_misc_ext_fixture.py; runtime build
  • Red on main: 5 + 4 OK (main's fixtures)
  • Green with the PR: 5 + 4 OK. The reordered LDS fixtures are GPU tests (scripts/run_gpu_tests.py), not run here: the GPU was busy with another job
  • gta6rt link: OK (gta6rt.exe builds and links; dumpbin /dependents shows the same DLLs as main, no network DLL)
  • Verdict: NO RED (test-only PR; the GPU tests it changes were not run; the PR also merges without conflict on the newer main 5825b02ff)
  • Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248706092 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1352#issuecomment-7248706092). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-29T01:19:18Z. --- **Verified by OreoFR** - Base: main `48bae6cad` + PR head `ffb9ff07e` (tested as a merge) - Test: `python -m unittest discover -s tests/semantic -p test_fcmpswap_fixture.py` and `-p test_misc_ext_fixture.py`; runtime build - Red on main: 5 + 4 OK (main's fixtures) - Green with the PR: 5 + 4 OK. The reordered LDS fixtures are GPU tests (`scripts/run_gpu_tests.py`), not run here: the GPU was busy with another job - gta6rt link: OK (`gta6rt.exe` builds and links; `dumpbin /dependents` shows the same DLLs as main, no network DLL) - Verdict: NO RED (test-only PR; the GPU tests it changes were not run; the PR also merges without conflict on the newer main `5825b02ff`) - Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11 AI-assisted (Claude Code, Claude Opus 5.5).
aslan2142 commented 2026-12-01 11:41:52 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T11:41:52Z.

Review: APPROVED


LGTM. Adding s_barrier between plain LDS writes/reads and LDS atomics across the six LDS fixtures (and matching semantic disasms) cleanly fixes the synchronization ordering without regressions. Clean-room verified, MERGEABLE, and independently verified on NVIDIA hardware and semantic tests. Holding merge until a fresh green CI pass completes on current main.

(AI-assisted review.)

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6130519911 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1352#pullrequestreview-6130519911). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T11:41:52Z. **Review:** APPROVED --- LGTM. Adding `s_barrier` between plain LDS writes/reads and LDS atomics across the six LDS fixtures (and matching semantic disasms) cleanly fixes the synchronization ordering without regressions. Clean-room verified, `MERGEABLE`, and independently verified on NVIDIA hardware and semantic tests. Holding merge until a fresh green CI pass completes on current `main`. *(AI-assisted review.)*
aslan2142 commented 2026-12-01 16:35:02 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T16:35:02Z.


Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7317846628 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1352#issuecomment-7317846628). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T16:35:02Z. --- Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!1352
No description provided.