rdna2spirv: scalar pair moved into VCC gives lane-dependent 64-bit population counts #2598

Closed
opened 2026-11-29 00:35:04 +00:00 by ecox982745 · 4 comments
ecox982745 commented 2026-11-29 00:35:04 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by ecox982745 on 2026-11-29T00:35:04Z.


On main 48bae6cade49aea69f63eb8871572dcd6931cd4b, moving a scalar register pair into VCC with s_mov_b64 changes the result of the following 64-bit population count. For input (1, 0), every lane should report one set bit. On the RTX 4090 one lane reported 64 and the other 63 reported zero. Two separate 32-bit moves into VCC give the expected result, as does counting the source register pair directly.

The affected path is in Gen.mov64. In this shader it converts the source to a per-lane mask and stores the same value in both VCC words. This matters on main with the bit-count reader from #1973. A related producer problem was previously observed with a different consumer on #1990.

Reproduce on CPU

Save the following as a Python file and run it with python -I from the repository root. It uses the existing semantic-test interpreter and writes one output word per logical lane.

import sys
from collections import Counter
from pathlib import Path

sys.path.insert(0, str(Path.cwd() / "tests" / "semantic"))
from test_b64_bitops_vcc_data import _run_cs, _translate_cs

shader = [
    "s_mov_b64 exec, -1", "s_mov_b64 vcc, s[4:5]", "s_bcnt1_i32_b64 s6, vcc",
    "v_mov_b32_e32 v1, s6", "v_lshlrev_b32_e32 v2, 2, v0",
    "buffer_store_dword v1, v2, s[0:3], 0 offen", "s_endpgm",
]
for emulate in (False, True):
    module = _translate_cs("cs_pair_count", shader, emulate=emulate)
    words = _run_cs(module, 1, 0, emulate=emulate, n_words=64)
    print(emulate, Counter(words))

Both interpreter modes returned {64: 1, 0: 63}. Expected {1: 64}. Replacing the pair move with s_mov_b32 vcc_lo, s4 and s_mov_b32 vcc_hi, s5 returned {1: 64}.

GPU readback

Windows 11 build 26300, Ryzen 7 7800X3D, RTX 4090 driver 616.64, Python 3.13.18, SPIRV-Tools 2026.4. I built the translator fixtures and the CMake vk_compute_test harness at the revision above. The physical GPU ran one 64-lane workgroup per input with LEONIDA_W64_EMULATE=1, subgroup size 32 and Khronos validation enabled.

Input to the bit count Inputs with all 64 lanes correct Correct output words
Single 64-bit move into VCC 2/8 128/512
Two 32-bit moves into VCC 8/8 512/512
Count the original SGPR pair directly 8/8 512/512

Only the all-zero and all-one inputs passed in the first row. All three modules passed spirv-val --target-env vulkan1.2. All 24 dispatches preserved the 16 guard words and produced zero Vulkan validation errors. The inputs and shaders were synthetic.

Coordination claim. AI-assisted with OpenAI Codex (GPT-6).

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6672998364 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2598). Originally posted by [ecox982745](https://github.com/ecox982745) on 2026-11-29T00:35:04Z. --- On main `48bae6cade49aea69f63eb8871572dcd6931cd4b`, moving a scalar register pair into VCC with `s_mov_b64` changes the result of the following 64-bit population count. For input `(1, 0)`, every lane should report one set bit. On the RTX 4090 one lane reported 64 and the other 63 reported zero. Two separate 32-bit moves into VCC give the expected result, as does counting the source register pair directly. The affected path is in [Gen.mov64](https://github.com/ProjectLeonida/mandy/blob/48bae6cade49aea69f63eb8871572dcd6931cd4b/tools/rdna2spirv.py#L2086-L2097). In this shader it converts the source to a per-lane mask and stores the same value in both VCC words. This matters on main with the bit-count reader from [#1973](https://github.com/ProjectLeonida/mandy/pull/1973). A related producer problem was previously observed with a different consumer on [#1990](https://github.com/ProjectLeonida/mandy/pull/1990#issuecomment-7239838431). ### Reproduce on CPU Save the following as a Python file and run it with `python -I` from the repository root. It uses the existing semantic-test interpreter and writes one output word per logical lane. ```python import sys from collections import Counter from pathlib import Path sys.path.insert(0, str(Path.cwd() / "tests" / "semantic")) from test_b64_bitops_vcc_data import _run_cs, _translate_cs shader = [ "s_mov_b64 exec, -1", "s_mov_b64 vcc, s[4:5]", "s_bcnt1_i32_b64 s6, vcc", "v_mov_b32_e32 v1, s6", "v_lshlrev_b32_e32 v2, 2, v0", "buffer_store_dword v1, v2, s[0:3], 0 offen", "s_endpgm", ] for emulate in (False, True): module = _translate_cs("cs_pair_count", shader, emulate=emulate) words = _run_cs(module, 1, 0, emulate=emulate, n_words=64) print(emulate, Counter(words)) ``` Both interpreter modes returned `{64: 1, 0: 63}`. Expected `{1: 64}`. Replacing the pair move with `s_mov_b32 vcc_lo, s4` and `s_mov_b32 vcc_hi, s5` returned `{1: 64}`. ### GPU readback Windows 11 build 26300, Ryzen 7 7800X3D, RTX 4090 driver 616.64, Python 3.13.18, SPIRV-Tools 2026.4. I built the translator fixtures and the CMake `vk_compute_test` harness at the revision above. The physical GPU ran one 64-lane workgroup per input with `LEONIDA_W64_EMULATE=1`, subgroup size 32 and Khronos validation enabled. | Input to the bit count | Inputs with all 64 lanes correct | Correct output words | | --- | ---: | ---: | | Single 64-bit move into VCC | 2/8 | 128/512 | | Two 32-bit moves into VCC | 8/8 | 512/512 | | Count the original SGPR pair directly | 8/8 | 512/512 | Only the all-zero and all-one inputs passed in the first row. All three modules passed `spirv-val --target-env vulkan1.2`. All 24 dispatches preserved the 16 guard words and produced zero Vulkan validation errors. The inputs and shaders were synthetic. [Coordination claim](https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7248178012). AI-assisted with OpenAI Codex (GPT-6).
ecox982745 commented 2026-11-29 01:07:16 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by ecox982745 on 2026-11-29T01:07:16Z.


The attached four-file patch fixes the reported pair move on aa52446f7db3c68756133792d33c0cff95c7e46c. It keeps both scalar words in VCC when neither source register has held a lane mask. That treatment was previously limited to shaders that also used VCC as a load address. A genuine saved compare mask still takes the mask path.

RTX 4090, Windows 11, NVIDIA 616.64. I built vk_compute_test at the stated revision and ran the synthetic shaders with wave64 emulation and Vulkan validation enabled.

Population-count readback Main With patch
One 64-bit move into VCC 2/8 inputs correct 8/8
Two half writes into VCC 8/8 8/8
Direct scalar-pair input 8/8 8/8

The regression fixture also stores a conditional selection for each lane. Those eight dispatches matched all 1,024 output words. A separate fixture wrote a vector comparison into an SGPR pair and moved that genuine mask into VCC. All 896 output words matched across seven cases, including thresholds on either side of lane 32. All 39 patched dispatches preserved their guard words and completed with zero Vulkan validation errors.

CPU. The new test failed all six input/mode combinations before the change and passed all six after it. The semantic suite ran 6,507 tests across 526 files. The only failing module was test_valu_cvt_f16_int16_mods, with the same two failures on the untouched base. The separate docs-link check also reproduced the same missing README anchors on the base. The changed-file game-data check and git diff --check passed.

The patch is ready for review. I verified that applying it to the base reproduces the tested Git tree 48770468f3837041d155df956924021d0886c62f. Coordination claim. AI-assisted with OpenAI Codex (GPT-6).

Patch for git am

Copy the following block to vcc-pair.patch and run git am vcc-pair.patch.

From a78dcb693c8caad0ac8ed1673cc436627cc12185 Mon Sep 17 00:00:00 2001
From: OpenAI Codex <[email protected]>
Date: Sun, 29 Nov 2026 11:04:12 +1000
Subject: [PATCH] rdna2spirv: preserve both scalar words on moves into VCC

A pair that never holds a lane mask can supply its original words to both scalar and predicate readers. Keeping the words in VCC also works when the shader never uses VCC as a load address. Cover the bit count and each lane selection from one synthetic shader.

Refs #2598. AI-assisted with OpenAI Codex (GPT-6).
---
 docs/design.md                                    |  1 +
 tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm | 13 +++++++++++++
 tests/semantic/test_b64_bitops_vcc_data.py        | 12 ++++++++++++
 tools/rdna2spirv.py                               |  8 +++-----
 4 files changed, 29 insertions(+), 5 deletions(-)
 create mode 100644 tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm

diff --git a/docs/design.md b/docs/design.md
index 3c3312c6e..8a9dc486f 100644
--- a/docs/design.md
+++ b/docs/design.md
@@ -495,6 +495,7 @@ How the generated SPIR-V expects the runtime to work:
 | `v_bfi_b32` | `(S0 & S1) \| (~S0 & S2)` (RDNA2 ISA, VOP3 opcode 330). A literal or known same-block SGPR mask of zero or all ones selects S2 or S1 directly. A contiguous mask uses `OpBitFieldInsert` with S1 shifted down by the field offset, since RDNA2 reads the bits in place. For sparse constant masks the translator precomputes the complement. Runtime masks use the full bitwise expression. Checked by the hand-written `bfi_known_mask.asm` and `tests/semantic/test_bfi_known_mask.py`. |
 | `v_bfm_b32` | The low five bits of S0 give the width and those of S1 give the offset. The result is the low 32 bits of `((1 << width) - 1) << offset` (RDNA2 ISA §12.12, VOP3 opcode 867). Literal and same-block SGPR constants are folded in the translator, including zero width and shifts that discard the high bits. Runtime operands keep their low-five-bit masks. Checked by `tests/semantic/test_bfm_known_operands.py` and `test_alu_int_misc.py`. |
 | `s_bfe_u32` / `s_bfe_i32` past bit 31 | offset = S1[4:0], width = S1[22:16] (7 bits; S1 bits 23 to 31 are ignored). When offset + width > 32 the field stops at bit 31: width = min(width, 32 - offset), and `s_bfe_i32` sign-extends from the top bit that exists. Example: `s_bfe_i32 s4, 0xd2f90159, 0x7f001c` gives `0xfffffffd` (4-bit field `0xd`), not `0xd`. SCC = D ≠ 0. Source: measured on gfx1150 (Radeon 880M) with `tools/salu_diff.py --oracle hw`, 4000 random control words, all bit-exact, on gfx1201 (Radeon RX 9070, RDNA4) with 10,000 `salu_diff --oracle hw` programs, 0 mismatches (seed 500 with `--bfe-any`), and **on RDNA2** (AMD Radeon 680M, `gfx1035`: `tools/salu_diff.py --oracle hw,translator --bfe-any --programs 500 --seed 1`, 500/500 match, plus `tools/int_hw_probe.py --oracle both` wave32 and wave64, SHADER-137; and RDNA2 `gfx1036`, Windows 11, driver 26.10.1, `tools/hw_oracle` HIP launcher: `tools/salu_diff.py --oracle translator,hw --bfe-any --ops s_bfe_u32,s_bfe_i32 --programs 2000` with seeds 1, 2 and 3, 6,000 of 6,000 programs pass on both sides, plus seed 4 over every opcode with `--bfe-any`, 2,000 of 2,000, and `int_hw_probe.py`'s `salu_bfe_past31` cases in wave32 and wave64); the translator (`bfe_width`) already did this. `tools/salu_diff.py --oracle hw,translator --bfe-any --programs 500 --seed 1`, 500/500 match, plus `tools/int_hw_probe.py --oracle both` wave32 and wave64, SHADER-137); the translator (`bfe_width`) already did this. Source: measured on gfx1150 (Radeon 880M) with `tools/salu_diff.py --oracle hw`, 4000 random control words, all bit-exact, and on gfx1201 (Radeon RX 9070, RDNA4) with 10,000 `salu_diff --oracle hw` programs, 0 mismatches (seed 500 with `--bfe-any`); the translator (`bfe_width`) already did this. LLVM's v_bfe fold (`constantFoldBFE`) is analogous but has a 5-bit width. **RDNA2 is not measured**; the ISA pseudocode does not say. |
+| `s_mov_b64 vcc, s[A:A+1]` from scalar data | When neither source register holds a lane mask anywhere in the shader, the move preserves both 32-bit words in VCC. A scalar population count reads all 64 bits and a vector conditional select reads its own lane bit. The synthetic `tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm` checks both results per lane in the CPU interpreter and on an RTX 4090 with wave64 emulation. |
 | 64-bit scalar data ops (`s_brev_b64`, `s_bfe_u64`/`s_bfe_i64`, `s_bitset0_b64`/`s_bitset1_b64`, `s_flbit_i32_b64`/`s_flbit_i32_i64`) | The SGPR pair normally carries 64-bit data. In wave64, `s_flbit_i32_b64` can also gather both halves of a lane mask or EXEC before scanning it. The other operations require scalar data. `test_library_compute_forms.py` checks an empty mask and set bits in either half on native and emulated waves; `tests/semantic/test_lane_mask_bitreplicate_flbit.py` runs EXEC and VCC masks on every lane of a wave64 (the 1.0.2.1 pipeline library reads EXEC this way). `s_brev_b64`: D.lo = reverse(S0.hi), D.hi = reverse(S0.lo). `s_bfe_*64`: offset = S1[5:0], width = S1[22:16]; width 0 gives 0; a field past bit 63 stops there (the 64-bit form of the `s_bfe_u32` rule, LLVM `constantFoldBFE`); SCC = D ≠ 0. `s_bitset*_b64`: bit S0 & 63 of the pair cleared / set. `s_flbit_i32_b64`: zeros above the top 1 from bit 63, −1 for 0; `s_flbit_i32_i64`: the same of ~S0 when S0 < 0, −1 for 0 and −1. None but `s_bfe` writes SCC. Source: RDNA2 ISA SOP1/SOP2. CPU-checked by `tests/semantic/test_salu_brev_b64.py`, `test_salu_bfe_64.py`, `test_salu_bitset_b64.py`, `test_salu_flbit_64.py` (#723, #726, #729, #733). **Hardware-verified** on an AMD Radeon RX 7900 XTX (gfx1100, Windows 11, driver 26.10.1), one raw wave32 kernel per op through `tools/hw_oracle`: `s_brev_b64` of 0x12345678_0000000F has low word 0x1E6A2C48, `s_bfe_u64(0x00000123_45678000, w16 o28)` = 0x1234, `s_bfe_i64(0x00000001_80000000, w2 o31)` has 0xFFFFFFFF in both words, `s_bitset1_b64(0, 40)` has high word 0x100, `s_flbit_i32_b64(0x00010000)` = 47 and `s_flbit_i32_i64(0xFFFFFFFF_FFFF0000)` = 48. These are the words `runtime/test/shaders/cs_w32_salu64.asm` expects. Also **hardware-verified on RDNA2** (`gfx1035`, wave32 and wave64 via `tools/int_hw_probe.py --oracle both`, SHADER-137). |
 | `v_bfe_u32` / `v_bfe_i32` past bit 31 | offset = S1[4:0] and width = S2[4:0]: the bits above are ignored, so an offset of 36 reads as 4 and a width of 32 as 0 (a width of 0 gives 0). When offset + width > 32 the field stops at bit 31, as for `s_bfe`: width = min(width, 32 - offset), and `v_bfe_i32` sign-extends from bit 31. Example: `v_bfe_i32` of `0xd2f90159` with offset 28 and width 16 gives `0xfffffffd` (4-bit field `0xd`), not `0xd`, and `0x80000000` with offset 31 and width 4 gives `0xffffffff`. The translator (`bfe_width` for VGPR or SGPR offset and width, the same cut folded at translation time for constants) already did this. Source: **measured on RDNA2**, AMD Radeon 610M (`gfx1036`, Windows 11, AMD driver 32.0.11016.14003), wave32 and wave64 identical, 16 words over VGPR, inline-constant and literal operands: `tools/int_hw_probe.py --oracle both --group valu_bfe_past31`, 4/4 cases match the translator. The words are pinned on the CPU by `tests/test_int_hw_probe.py` (`ValuBfeMeasuredOnRdna2`). |
 | `s_quadmask_b32`/`_b64`, `s_bitreplicate_b64_b32` | On scalar data (RDNA2 ISA SOP1): `s_quadmask_b32` sets D[i] to the OR of S0[4i+3:4i] for the 8 quads, `s_quadmask_b64` does the same for the 16 quads of the 64-bit S0 (D[63:16] = 0), and both set SCC = D != 0. `s_bitreplicate_b64_b32` copies each bit S0[i] to D[2i] and D[2i+1] and leaves SCC. Built from fixed shift/mask steps, with no loop. Bit replication can also write EXEC, or VCC in wave64 (in wave32 VCC's high word is data, so it stays `Unsupported`). Each lane takes source bit `lane // 2`. `test_library_compute_forms.py` checks both halves of VCC and SCC on native and emulated waves; `tests/semantic/test_lane_mask_bitreplicate_flbit.py` checks VCC, which the 1.0.2.1 pipeline library writes from a constant, on every lane of a wave64. A 32-bit lane-mask source (`exec_lo`/`exec_hi`, `vcc_lo`/`vcc_hi`) of `s_bitreplicate_b64_b32` into a scalar (non-EXEC/VCC) destination reads that half of the wave's mask as data (`Gen.wave_mask`, as `s_ff1_i32_b64` reads one) and replicates it as any scalar (#998, for 6 pipeline-library programs of 1.0.2.1). Confirmed only by the CPU interpreter on every lane of a wave64 (`test_lane_mask_bitreplicate_flbit.py`: EXEC halves and a compare's VCC halves, synthetic lines) and by the ISA pseudocode above; not measured on hardware. Any other lane-mask source (EXEC, VCC or an SGPR that `holds_lane_mask`), and a lane-mask source with an EXEC/VCC destination, raises `Unsupported`: each invocation holds only its own lane's bit, and these ops read the other lanes of a quad or move bits between lanes. Until 2026-11-22 all three were rejected. CPU-checked by `tests/semantic/test_salu_quadmask_bitreplicate.py` (fixed and seeded values, SCC written or kept, immediates, aliasing, lane masks rejected). **Hardware-verified** on an AMD Radeon RX 7900 XTX (gfx1100, Windows 11, driver 26.10.1) through `tools/hw_oracle`, one raw wave32 kernel per op: `s_quadmask_b32(0xF)` = 1 with SCC 1, `(0xF0000000)` = 0x80, `(0x0F0F0F0F)` = 0x55 (the set quads are 0, 2, 4 and 6), `(0)` = 0 with SCC 0; `s_quadmask_b64` of 0xF = 1 and of 0xF0000000_00000000 (quad 15, bits 60..63) = 0x8000 in the low word with D[63:16] = 0; `s_bitreplicate_b64_b32` of 5 = 0x33 and of 0x80000000 = 0xC0000000_00000000, with SCC left as it was. **GPU-checked** by `runtime/test/shaders/cs_w32_new_ops.asm` (`s_quadmask_b32(0x01020408)` = 0x55, `s_quadmask_b64(0x80000000_00000001)` low word 0x8001, `s_bitreplicate_b64_b32(0x80000001)` high word 0xC0000000, with the expected words from the ISA pseudocode), exact on the Radeon iGPU of a Ryzen 9 9950X3D (RDNA2, `gfx1036`, driver 26.10.1) and an RTX 5080 (driver 616.92). **Not GPU-verified.** |
diff --git a/tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm b/tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm
new file mode 100644
index 000000000..494af58a8
--- /dev/null
+++ b/tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm
@@ -0,0 +1,13 @@
+; group: 64,1,1
+; mattr: +wavefrontsize64,-wavefrontsize32
+; rsrc2: 0x8090
+; One word per lane in each output plane: the scalar count, then this lane's VCC bit.
+s_mov_b64 vcc, s[4:5]
+s_bcnt1_i32_b64 s6, vcc
+v_mov_b32_e32 v1, s6
+v_mov_b32_e32 v3, 1
+v_cndmask_b32_e32 v3, 0, v3, vcc
+v_lshlrev_b32_e32 v2, 2, v0
+buffer_store_dword v1, v2, s[0:3], 0 offen
+buffer_store_dword v3, v2, s[0:3], 0 offen offset:256
+s_endpgm
diff --git a/tests/semantic/test_b64_bitops_vcc_data.py b/tests/semantic/test_b64_bitops_vcc_data.py
index b20096f2b..2d48e3e48 100644
--- a/tests/semantic/test_b64_bitops_vcc_data.py
+++ b/tests/semantic/test_b64_bitops_vcc_data.py
@@ -134,6 +134,18 @@ class B64BitopsVccDataTests(unittest.TestCase):
             with self.subTest(lo=hex(lo), hi=hex(hi)):
                 self.assertEqual(_run_cs(spv, lo, hi, wave32=False), _ref_b64_ops(lo, hi))
 
+    def test_scalar_pair_moved_to_vcc_serves_both_bit_count_and_lane_selection(self):
+        fixture = os.path.join(HERE, "fixtures", "cs_scalar_pair_to_vcc.asm")
+        with open(fixture, encoding="utf-8") as f:
+            lines = [line.strip() for line in f if line.strip() and not line.startswith(";")]
+        for emulate in (False, True):
+            spv = _translate_cs("cs_pair_to_vcc", lines, emulate=emulate)
+            for lo, hi in ((1, 0), (0, 0x80000000), (3, 15)):
+                with self.subTest(emulate=emulate, lo=lo, hi=hi):
+                    bits = hi << 32 | lo
+                    expected = [bits.bit_count()] * 64 + [(bits >> lane) & 1 for lane in range(64)]
+                    self.assertEqual(_run_cs(spv, lo, hi, emulate=emulate, n_words=128), expected)
+
     def test_bcnt_and_ff_plain_vcc_data_reads_high_word(self):
         # Isolates s_bcnt[01]_i32_b64 and s_ff[01]_i32_b64 (without s_flbit) so a missing %vcc_hi load
         # fails with wrong numeric outputs rather than an earlier translation error.
diff --git a/tools/rdna2spirv.py b/tools/rdna2spirv.py
index beb89b60d..9463b279b 100644
--- a/tools/rdna2spirv.py
+++ b/tools/rdna2spirv.py
@@ -504,7 +504,6 @@ class Gen:
         self.lane_masks = {}           # id(instruction) -> registers holding a lane mask there (lane_masks.py)
         self.ever_mask = set()         # SGPRs that held a lane mask anywhere in the shader (conservative)
         self.cur_masks = {}
-        self.vcc_scalar_pointer = False
         self.cur_ins = None
         self.wave32_vcc_pointer = False
         self.mask_writes = set()       # id(instruction) of the ones that write a lane mask to a VGPR
@@ -2083,9 +2082,10 @@ class Gen:
         if d["k"] == "special" and d["t"] == "exec":
             self.set_exec(self.mask_src(s))
             return
-        if (self.vcc_scalar_pointer and d["k"] == "special" and d["t"] == "vcc" and
+        # Scalar readers need both words. Predicate readers extract the current lane's bit in mask_src.
+        if (d["k"] == "special" and d["t"] == "vcc" and
                 s["k"] == "sgpr" and s.get("n") == 2 and not self.holds_lane_mask(s) and
-                all(s["r"] + word not in self.ever_mask for word in range(2))):
+                not self.any_ever_mask_word(s)):
             self.emit(f"OpStore %vcc {self.load_reg('sgpr', s['r'])}")
             self.emit(f"OpStore %vcc_hi {self.load_reg('sgpr', s['r'] + 1)}")
             return
@@ -19012,8 +19012,6 @@ def _translate(path):
         check_printed_encodings(path, info)
     insns = lower_final_halts(insns)
     g = Gen(stage, hoist_reg_ptrs=True, cache_active=True)
-    g.vcc_scalar_pointer = any(i["op"].startswith("s_load_dword") and len(i["args"]) >= 2 and
-                               i["args"][1].get("t") == "vcc" for i in insns)
     g.exec_static_true = not any(writes_exec(i) for i in insns)
     g.atomic_volume_tsharps = {g.tsharp_regs(i["args"][2]) for i in insns
                               if base_op(i["op"]) in (*Gen.IMG_ATOMICS, *Gen.IMG_ATOMICS_EXTRA,
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248572945 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2598#issuecomment-7248572945). Originally posted by [ecox982745](https://github.com/ecox982745) on 2026-11-29T01:07:16Z. --- The attached four-file patch fixes the reported pair move on `aa52446f7db3c68756133792d33c0cff95c7e46c`. It keeps both scalar words in VCC when neither source register has held a lane mask. That treatment was previously limited to shaders that also used VCC as a load address. A genuine saved compare mask still takes the mask path. **RTX 4090, Windows 11, NVIDIA 616.64.** I built `vk_compute_test` at the stated revision and ran the synthetic shaders with wave64 emulation and Vulkan validation enabled. | Population-count readback | Main | With patch | | --- | ---: | ---: | | One 64-bit move into VCC | 2/8 inputs correct | 8/8 | | Two half writes into VCC | 8/8 | 8/8 | | Direct scalar-pair input | 8/8 | 8/8 | The regression fixture also stores a conditional selection for each lane. Those eight dispatches matched all 1,024 output words. A separate fixture wrote a vector comparison into an SGPR pair and moved that genuine mask into VCC. All 896 output words matched across seven cases, including thresholds on either side of lane 32. All 39 patched dispatches preserved their guard words and completed with zero Vulkan validation errors. **CPU.** The new test failed all six input/mode combinations before the change and passed all six after it. The semantic suite ran 6,507 tests across 526 files. The only failing module was `test_valu_cvt_f16_int16_mods`, with the same two failures on the untouched base. The separate docs-link check also reproduced the same missing README anchors on the base. The changed-file game-data check and `git diff --check` passed. The patch is ready for review. I verified that applying it to the base reproduces the tested Git tree `48770468f3837041d155df956924021d0886c62f`. [Coordination claim](https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7248489821). AI-assisted with OpenAI Codex (GPT-6). <details> <summary>Patch for git am</summary> Copy the following block to `vcc-pair.patch` and run `git am vcc-pair.patch`. ~~~~patch From a78dcb693c8caad0ac8ed1673cc436627cc12185 Mon Sep 17 00:00:00 2001 From: OpenAI Codex <[email protected]> Date: Sun, 29 Nov 2026 11:04:12 +1000 Subject: [PATCH] rdna2spirv: preserve both scalar words on moves into VCC A pair that never holds a lane mask can supply its original words to both scalar and predicate readers. Keeping the words in VCC also works when the shader never uses VCC as a load address. Cover the bit count and each lane selection from one synthetic shader. Refs #2598. AI-assisted with OpenAI Codex (GPT-6). --- docs/design.md | 1 + tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm | 13 +++++++++++++ tests/semantic/test_b64_bitops_vcc_data.py | 12 ++++++++++++ tools/rdna2spirv.py | 8 +++----- 4 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm diff --git a/docs/design.md b/docs/design.md index 3c3312c6e..8a9dc486f 100644 --- a/docs/design.md +++ b/docs/design.md @@ -495,6 +495,7 @@ How the generated SPIR-V expects the runtime to work: | `v_bfi_b32` | `(S0 & S1) \| (~S0 & S2)` (RDNA2 ISA, VOP3 opcode 330). A literal or known same-block SGPR mask of zero or all ones selects S2 or S1 directly. A contiguous mask uses `OpBitFieldInsert` with S1 shifted down by the field offset, since RDNA2 reads the bits in place. For sparse constant masks the translator precomputes the complement. Runtime masks use the full bitwise expression. Checked by the hand-written `bfi_known_mask.asm` and `tests/semantic/test_bfi_known_mask.py`. | | `v_bfm_b32` | The low five bits of S0 give the width and those of S1 give the offset. The result is the low 32 bits of `((1 << width) - 1) << offset` (RDNA2 ISA §12.12, VOP3 opcode 867). Literal and same-block SGPR constants are folded in the translator, including zero width and shifts that discard the high bits. Runtime operands keep their low-five-bit masks. Checked by `tests/semantic/test_bfm_known_operands.py` and `test_alu_int_misc.py`. | | `s_bfe_u32` / `s_bfe_i32` past bit 31 | offset = S1[4:0], width = S1[22:16] (7 bits; S1 bits 23 to 31 are ignored). When offset + width > 32 the field stops at bit 31: width = min(width, 32 - offset), and `s_bfe_i32` sign-extends from the top bit that exists. Example: `s_bfe_i32 s4, 0xd2f90159, 0x7f001c` gives `0xfffffffd` (4-bit field `0xd`), not `0xd`. SCC = D ≠ 0. Source: measured on gfx1150 (Radeon 880M) with `tools/salu_diff.py --oracle hw`, 4000 random control words, all bit-exact, on gfx1201 (Radeon RX 9070, RDNA4) with 10,000 `salu_diff --oracle hw` programs, 0 mismatches (seed 500 with `--bfe-any`), and **on RDNA2** (AMD Radeon 680M, `gfx1035`: `tools/salu_diff.py --oracle hw,translator --bfe-any --programs 500 --seed 1`, 500/500 match, plus `tools/int_hw_probe.py --oracle both` wave32 and wave64, SHADER-137; and RDNA2 `gfx1036`, Windows 11, driver 26.10.1, `tools/hw_oracle` HIP launcher: `tools/salu_diff.py --oracle translator,hw --bfe-any --ops s_bfe_u32,s_bfe_i32 --programs 2000` with seeds 1, 2 and 3, 6,000 of 6,000 programs pass on both sides, plus seed 4 over every opcode with `--bfe-any`, 2,000 of 2,000, and `int_hw_probe.py`'s `salu_bfe_past31` cases in wave32 and wave64); the translator (`bfe_width`) already did this. `tools/salu_diff.py --oracle hw,translator --bfe-any --programs 500 --seed 1`, 500/500 match, plus `tools/int_hw_probe.py --oracle both` wave32 and wave64, SHADER-137); the translator (`bfe_width`) already did this. Source: measured on gfx1150 (Radeon 880M) with `tools/salu_diff.py --oracle hw`, 4000 random control words, all bit-exact, and on gfx1201 (Radeon RX 9070, RDNA4) with 10,000 `salu_diff --oracle hw` programs, 0 mismatches (seed 500 with `--bfe-any`); the translator (`bfe_width`) already did this. LLVM's v_bfe fold (`constantFoldBFE`) is analogous but has a 5-bit width. **RDNA2 is not measured**; the ISA pseudocode does not say. | +| `s_mov_b64 vcc, s[A:A+1]` from scalar data | When neither source register holds a lane mask anywhere in the shader, the move preserves both 32-bit words in VCC. A scalar population count reads all 64 bits and a vector conditional select reads its own lane bit. The synthetic `tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm` checks both results per lane in the CPU interpreter and on an RTX 4090 with wave64 emulation. | | 64-bit scalar data ops (`s_brev_b64`, `s_bfe_u64`/`s_bfe_i64`, `s_bitset0_b64`/`s_bitset1_b64`, `s_flbit_i32_b64`/`s_flbit_i32_i64`) | The SGPR pair normally carries 64-bit data. In wave64, `s_flbit_i32_b64` can also gather both halves of a lane mask or EXEC before scanning it. The other operations require scalar data. `test_library_compute_forms.py` checks an empty mask and set bits in either half on native and emulated waves; `tests/semantic/test_lane_mask_bitreplicate_flbit.py` runs EXEC and VCC masks on every lane of a wave64 (the 1.0.2.1 pipeline library reads EXEC this way). `s_brev_b64`: D.lo = reverse(S0.hi), D.hi = reverse(S0.lo). `s_bfe_*64`: offset = S1[5:0], width = S1[22:16]; width 0 gives 0; a field past bit 63 stops there (the 64-bit form of the `s_bfe_u32` rule, LLVM `constantFoldBFE`); SCC = D ≠ 0. `s_bitset*_b64`: bit S0 & 63 of the pair cleared / set. `s_flbit_i32_b64`: zeros above the top 1 from bit 63, −1 for 0; `s_flbit_i32_i64`: the same of ~S0 when S0 < 0, −1 for 0 and −1. None but `s_bfe` writes SCC. Source: RDNA2 ISA SOP1/SOP2. CPU-checked by `tests/semantic/test_salu_brev_b64.py`, `test_salu_bfe_64.py`, `test_salu_bitset_b64.py`, `test_salu_flbit_64.py` (#723, #726, #729, #733). **Hardware-verified** on an AMD Radeon RX 7900 XTX (gfx1100, Windows 11, driver 26.10.1), one raw wave32 kernel per op through `tools/hw_oracle`: `s_brev_b64` of 0x12345678_0000000F has low word 0x1E6A2C48, `s_bfe_u64(0x00000123_45678000, w16 o28)` = 0x1234, `s_bfe_i64(0x00000001_80000000, w2 o31)` has 0xFFFFFFFF in both words, `s_bitset1_b64(0, 40)` has high word 0x100, `s_flbit_i32_b64(0x00010000)` = 47 and `s_flbit_i32_i64(0xFFFFFFFF_FFFF0000)` = 48. These are the words `runtime/test/shaders/cs_w32_salu64.asm` expects. Also **hardware-verified on RDNA2** (`gfx1035`, wave32 and wave64 via `tools/int_hw_probe.py --oracle both`, SHADER-137). | | `v_bfe_u32` / `v_bfe_i32` past bit 31 | offset = S1[4:0] and width = S2[4:0]: the bits above are ignored, so an offset of 36 reads as 4 and a width of 32 as 0 (a width of 0 gives 0). When offset + width > 32 the field stops at bit 31, as for `s_bfe`: width = min(width, 32 - offset), and `v_bfe_i32` sign-extends from bit 31. Example: `v_bfe_i32` of `0xd2f90159` with offset 28 and width 16 gives `0xfffffffd` (4-bit field `0xd`), not `0xd`, and `0x80000000` with offset 31 and width 4 gives `0xffffffff`. The translator (`bfe_width` for VGPR or SGPR offset and width, the same cut folded at translation time for constants) already did this. Source: **measured on RDNA2**, AMD Radeon 610M (`gfx1036`, Windows 11, AMD driver 32.0.11016.14003), wave32 and wave64 identical, 16 words over VGPR, inline-constant and literal operands: `tools/int_hw_probe.py --oracle both --group valu_bfe_past31`, 4/4 cases match the translator. The words are pinned on the CPU by `tests/test_int_hw_probe.py` (`ValuBfeMeasuredOnRdna2`). | | `s_quadmask_b32`/`_b64`, `s_bitreplicate_b64_b32` | On scalar data (RDNA2 ISA SOP1): `s_quadmask_b32` sets D[i] to the OR of S0[4i+3:4i] for the 8 quads, `s_quadmask_b64` does the same for the 16 quads of the 64-bit S0 (D[63:16] = 0), and both set SCC = D != 0. `s_bitreplicate_b64_b32` copies each bit S0[i] to D[2i] and D[2i+1] and leaves SCC. Built from fixed shift/mask steps, with no loop. Bit replication can also write EXEC, or VCC in wave64 (in wave32 VCC's high word is data, so it stays `Unsupported`). Each lane takes source bit `lane // 2`. `test_library_compute_forms.py` checks both halves of VCC and SCC on native and emulated waves; `tests/semantic/test_lane_mask_bitreplicate_flbit.py` checks VCC, which the 1.0.2.1 pipeline library writes from a constant, on every lane of a wave64. A 32-bit lane-mask source (`exec_lo`/`exec_hi`, `vcc_lo`/`vcc_hi`) of `s_bitreplicate_b64_b32` into a scalar (non-EXEC/VCC) destination reads that half of the wave's mask as data (`Gen.wave_mask`, as `s_ff1_i32_b64` reads one) and replicates it as any scalar (#998, for 6 pipeline-library programs of 1.0.2.1). Confirmed only by the CPU interpreter on every lane of a wave64 (`test_lane_mask_bitreplicate_flbit.py`: EXEC halves and a compare's VCC halves, synthetic lines) and by the ISA pseudocode above; not measured on hardware. Any other lane-mask source (EXEC, VCC or an SGPR that `holds_lane_mask`), and a lane-mask source with an EXEC/VCC destination, raises `Unsupported`: each invocation holds only its own lane's bit, and these ops read the other lanes of a quad or move bits between lanes. Until 2026-11-22 all three were rejected. CPU-checked by `tests/semantic/test_salu_quadmask_bitreplicate.py` (fixed and seeded values, SCC written or kept, immediates, aliasing, lane masks rejected). **Hardware-verified** on an AMD Radeon RX 7900 XTX (gfx1100, Windows 11, driver 26.10.1) through `tools/hw_oracle`, one raw wave32 kernel per op: `s_quadmask_b32(0xF)` = 1 with SCC 1, `(0xF0000000)` = 0x80, `(0x0F0F0F0F)` = 0x55 (the set quads are 0, 2, 4 and 6), `(0)` = 0 with SCC 0; `s_quadmask_b64` of 0xF = 1 and of 0xF0000000_00000000 (quad 15, bits 60..63) = 0x8000 in the low word with D[63:16] = 0; `s_bitreplicate_b64_b32` of 5 = 0x33 and of 0x80000000 = 0xC0000000_00000000, with SCC left as it was. **GPU-checked** by `runtime/test/shaders/cs_w32_new_ops.asm` (`s_quadmask_b32(0x01020408)` = 0x55, `s_quadmask_b64(0x80000000_00000001)` low word 0x8001, `s_bitreplicate_b64_b32(0x80000001)` high word 0xC0000000, with the expected words from the ISA pseudocode), exact on the Radeon iGPU of a Ryzen 9 9950X3D (RDNA2, `gfx1036`, driver 26.10.1) and an RTX 5080 (driver 616.92). **Not GPU-verified.** | diff --git a/tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm b/tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm new file mode 100644 index 000000000..494af58a8 --- /dev/null +++ b/tests/semantic/fixtures/cs_scalar_pair_to_vcc.asm @@ -0,0 +1,13 @@ +; group: 64,1,1 +; mattr: +wavefrontsize64,-wavefrontsize32 +; rsrc2: 0x8090 +; One word per lane in each output plane: the scalar count, then this lane's VCC bit. +s_mov_b64 vcc, s[4:5] +s_bcnt1_i32_b64 s6, vcc +v_mov_b32_e32 v1, s6 +v_mov_b32_e32 v3, 1 +v_cndmask_b32_e32 v3, 0, v3, vcc +v_lshlrev_b32_e32 v2, 2, v0 +buffer_store_dword v1, v2, s[0:3], 0 offen +buffer_store_dword v3, v2, s[0:3], 0 offen offset:256 +s_endpgm diff --git a/tests/semantic/test_b64_bitops_vcc_data.py b/tests/semantic/test_b64_bitops_vcc_data.py index b20096f2b..2d48e3e48 100644 --- a/tests/semantic/test_b64_bitops_vcc_data.py +++ b/tests/semantic/test_b64_bitops_vcc_data.py @@ -134,6 +134,18 @@ class B64BitopsVccDataTests(unittest.TestCase): with self.subTest(lo=hex(lo), hi=hex(hi)): self.assertEqual(_run_cs(spv, lo, hi, wave32=False), _ref_b64_ops(lo, hi)) + def test_scalar_pair_moved_to_vcc_serves_both_bit_count_and_lane_selection(self): + fixture = os.path.join(HERE, "fixtures", "cs_scalar_pair_to_vcc.asm") + with open(fixture, encoding="utf-8") as f: + lines = [line.strip() for line in f if line.strip() and not line.startswith(";")] + for emulate in (False, True): + spv = _translate_cs("cs_pair_to_vcc", lines, emulate=emulate) + for lo, hi in ((1, 0), (0, 0x80000000), (3, 15)): + with self.subTest(emulate=emulate, lo=lo, hi=hi): + bits = hi << 32 | lo + expected = [bits.bit_count()] * 64 + [(bits >> lane) & 1 for lane in range(64)] + self.assertEqual(_run_cs(spv, lo, hi, emulate=emulate, n_words=128), expected) + def test_bcnt_and_ff_plain_vcc_data_reads_high_word(self): # Isolates s_bcnt[01]_i32_b64 and s_ff[01]_i32_b64 (without s_flbit) so a missing %vcc_hi load # fails with wrong numeric outputs rather than an earlier translation error. diff --git a/tools/rdna2spirv.py b/tools/rdna2spirv.py index beb89b60d..9463b279b 100644 --- a/tools/rdna2spirv.py +++ b/tools/rdna2spirv.py @@ -504,7 +504,6 @@ class Gen: self.lane_masks = {} # id(instruction) -> registers holding a lane mask there (lane_masks.py) self.ever_mask = set() # SGPRs that held a lane mask anywhere in the shader (conservative) self.cur_masks = {} - self.vcc_scalar_pointer = False self.cur_ins = None self.wave32_vcc_pointer = False self.mask_writes = set() # id(instruction) of the ones that write a lane mask to a VGPR @@ -2083,9 +2082,10 @@ class Gen: if d["k"] == "special" and d["t"] == "exec": self.set_exec(self.mask_src(s)) return - if (self.vcc_scalar_pointer and d["k"] == "special" and d["t"] == "vcc" and + # Scalar readers need both words. Predicate readers extract the current lane's bit in mask_src. + if (d["k"] == "special" and d["t"] == "vcc" and s["k"] == "sgpr" and s.get("n") == 2 and not self.holds_lane_mask(s) and - all(s["r"] + word not in self.ever_mask for word in range(2))): + not self.any_ever_mask_word(s)): self.emit(f"OpStore %vcc {self.load_reg('sgpr', s['r'])}") self.emit(f"OpStore %vcc_hi {self.load_reg('sgpr', s['r'] + 1)}") return @@ -19012,8 +19012,6 @@ def _translate(path): check_printed_encodings(path, info) insns = lower_final_halts(insns) g = Gen(stage, hoist_reg_ptrs=True, cache_active=True) - g.vcc_scalar_pointer = any(i["op"].startswith("s_load_dword") and len(i["args"]) >= 2 and - i["args"][1].get("t") == "vcc" for i in insns) g.exec_static_true = not any(writes_exec(i) for i in insns) g.atomic_volume_tsharps = {g.tsharp_regs(i["args"][2]) for i in insns if base_op(i["op"]) in (*Gen.IMG_ATOMICS, *Gen.IMG_ATOMICS_EXTRA, ~~~~ </details>
kirigayakazima commented 2026-11-29 03:18:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by kirigayakazima on 2026-11-29T03:18:52Z.


Independent Windows CPU verification on c8bf0e7b6. With only the proposed test and fixture applied, test_b64_bitops_vcc_data.py reported six failing subcases. With the translator patch applied, the same eight tests passed. This checks the synthetic interpreter paths; no Vulkan dispatch or retail run was performed here. AI-assisted with OpenAI Codex (GPT-6).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7249972310 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2598#issuecomment-7249972310). Originally posted by [kirigayakazima](https://github.com/kirigayakazima) on 2026-11-29T03:18:52Z. --- Independent Windows CPU verification on c8bf0e7b6. With only the proposed test and fixture applied, test_b64_bitops_vcc_data.py reported six failing subcases. With the translator patch applied, the same eight tests passed. This checks the synthetic interpreter paths; no Vulkan dispatch or retail run was performed here. AI-assisted with OpenAI Codex (GPT-6).
merzleckeier commented 2026-11-29 15:57:47 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T15:57:47Z.


Independent Linux GPU check of the posted four-file patch, applied unchanged to current main 1d3da5ebc. Both arms used the same vk_compute_test build and synthetic inputs.

Device and wave mode Single s_mov_b64 into VCC on main With patch
AMD Raphael, RADV Mesa 26.3.1, native 64-lane subgroup 2/12 12/12
AMD Raphael, RADV Mesa 26.3.1, emulated wave64 on 32-lane subgroups 2/12 12/12
RTX 4070 SUPER, NVIDIA 620.73.04, emulated wave64 on 32-lane subgroups 2/12 12/12

In every configuration, the scalar count improved from 128/768 to 768/768 words. The lane selection matched all 768 words before and after. Two separate 32-bit writes (12/12) and genuine vector comparison masks moved through an SGPR pair (8/8, including thresholds 31–33) passed on both trees. Those two control modules were byte-identical between trees in both modes.

All 192 offline dispatches preserved their 16 guard words and reported zero Vulkan validation errors. All 12 SPIR-V modules passed spirv-val --target-env vulkan1.2. The Linux semantic run with LEONIDA_REQUIRE_SPIRV_TOOLS=1 ran 6,527 tests in 529 files on each tree, with the new fixture enabled in both. Its six VCC subcases failed on main and passed with the patch. The same two existing test_interp_computed_ij_fallback failures remained on both. Synthetic inputs only. AI-assisted with OpenAI Codex (GPT-6).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7258506026 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2598#issuecomment-7258506026). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-11-29T15:57:47Z. --- Independent Linux GPU check of the posted four-file patch, applied unchanged to current main `1d3da5ebc`. Both arms used the same `vk_compute_test` build and synthetic inputs. | Device and wave mode | Single `s_mov_b64` into VCC on main | With patch | | --- | ---: | ---: | | AMD Raphael, RADV Mesa 26.3.1, native 64-lane subgroup | 2/12 | 12/12 | | AMD Raphael, RADV Mesa 26.3.1, emulated wave64 on 32-lane subgroups | 2/12 | 12/12 | | RTX 4070 SUPER, NVIDIA 620.73.04, emulated wave64 on 32-lane subgroups | 2/12 | 12/12 | In every configuration, the scalar count improved from 128/768 to 768/768 words. The lane selection matched all 768 words before and after. Two separate 32-bit writes (12/12) and genuine vector comparison masks moved through an SGPR pair (8/8, including thresholds 31–33) passed on both trees. Those two control modules were byte-identical between trees in both modes. All 192 offline dispatches preserved their 16 guard words and reported zero Vulkan validation errors. All 12 SPIR-V modules passed `spirv-val --target-env vulkan1.2`. The Linux semantic run with `LEONIDA_REQUIRE_SPIRV_TOOLS=1` ran 6,527 tests in 529 files on each tree, with the new fixture enabled in both. Its six VCC subcases failed on main and passed with the patch. The same two existing `test_interp_computed_ij_fallback` failures remained on both. Synthetic inputs only. AI-assisted with OpenAI Codex (GPT-6).
aslan2142 commented 2026-12-01 17:06:42 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T17:06:42Z.


Closing this issue 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 report/contribution! If you believe this issue 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:7318770768 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2598#issuecomment-7318770768). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T17:06:42Z. --- Closing this issue 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 report/contribution! If you believe this issue was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.
Sign in to join this conversation.
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#2598
No description provided.