rdna2spirv: route remaining 16-bit high-half readers through u16_half/i16_half (SHADER-HIGH-HALF-SHARED-READERS) #2366

Merged
leonida/mandy
ShotTechOp merged 1 commit from fix/high-half-shared-readers into main 2026-11-28 11:53:52 +00:00

Pull request successfully merged and closed

ShotTechOp commented 2026-11-26 15:46:00 +00:00

Item ID: SHADER-HIGH-HALF-SHARED-READERS

Summary

Routes all seven remaining 16-bit high-half readers in tools/rdna2spirv.py through the shared Gen.u16_half / Gen.i16_half helpers, eliminating every remaining OpBitField{S,U}Extract ... 16 16 across the translator (AMD Windows driver 25.10.36 on gfx1036 miscompiles offset-16 width-16 bitfield extracts by taking the offset mod 16 and reading the low half instead of the high half; see docs/design.md "16-bit high-half reads", #1506 / SHADER-777):

  1. Gen.compare (v_cmp(x)_*_{u16,i16} with op_sel high half)
  2. Gen.sdwa_src (src*_sel:WORD_1, both unsigned and sext())
  3. v_pk_{add,sub,mul_lo,mad,max,min}_{u16,i16}
  4. v_qsad_pk_u16_u8 / v_mqsad_pk_u16_u8
  5. v_sad_u16
  6. v_mad_u32_u16 / v_mad_i32_i16
  7. image_store with d16

Also adds Gen.as_uint() alongside Gen.as_int() for clean %int -> %uint bitcasts after i16_half(), updates the "16-bit high-half reads" contract row in docs/design.md, and adds tests/semantic/test_high_half_shared_readers.py. Does not touch v_pk_lshlrev/lshrrev/ashrrev_b16 (covered separately by #1111).

Verification

  • AI-assisted: yes
  • Environment: Windows 11, Python 3.12.10 (CPU semantic interpreter spirv_mini_interp; no local GPU/Vulkan/spirv-val installed)
  • GREEN checks:
    • python -I tests/semantic/test_high_half_shared_readers.py -v -> 6/6 OK (structural + bit-exact semantic parity across all 7 families)
    • Existing regression suites: test_image_cube_store_glc.py, test_image_store_d16.py, test_alu_mad_u16.py, test_alu_sad.py, test_alu_qsad.py, test_valu_int16.py, test_vcmp16_opsel.py, test_mutations.py, test_negative_controls.py -> all OK
    • python -I tests/test_text_write_line_endings.py -> 3/3 OK
    • python -m compileall -q tools/rdna2spirv.py tests/semantic/test_high_half_shared_readers.py -> exit 0
    • python -I scripts/check_no_game_data.py tools/rdna2spirv.py tests/semantic/test_high_half_shared_readers.py docs/design.md -> exit 0
    • git diff --check -> clean
  • RED control against origin/main (tools/ extracted from origin/main):
    • tests/semantic/test_high_half_shared_readers.py fails 6/6 tests (11 failures across every op family: OpBitField{U,S}Extract %uint ... %c10 %c10 emitted at all 7 sites).
Item ID: `SHADER-HIGH-HALF-SHARED-READERS` ## Summary Routes all seven remaining 16-bit high-half readers in `tools/rdna2spirv.py` through the shared `Gen.u16_half` / `Gen.i16_half` helpers, eliminating every remaining `OpBitField{S,U}Extract ... 16 16` across the translator (AMD Windows driver 25.10.36 on gfx1036 miscompiles offset-16 width-16 bitfield extracts by taking the offset mod 16 and reading the low half instead of the high half; see `docs/design.md` "16-bit high-half reads", #1506 / SHADER-777): 1. `Gen.compare` (`v_cmp(x)_*_{u16,i16}` with `op_sel` high half) 2. `Gen.sdwa_src` (`src*_sel:WORD_1`, both unsigned and `sext()`) 3. `v_pk_{add,sub,mul_lo,mad,max,min}_{u16,i16}` 4. `v_qsad_pk_u16_u8` / `v_mqsad_pk_u16_u8` 5. `v_sad_u16` 6. `v_mad_u32_u16` / `v_mad_i32_i16` 7. `image_store` with `d16` Also adds `Gen.as_uint()` alongside `Gen.as_int()` for clean `%int` -> `%uint` bitcasts after `i16_half()`, updates the "16-bit high-half reads" contract row in `docs/design.md`, and adds `tests/semantic/test_high_half_shared_readers.py`. Does not touch `v_pk_lshlrev/lshrrev/ashrrev_b16` (covered separately by #1111). ## Verification - **AI-assisted**: yes - **Environment**: Windows 11, Python 3.12.10 (CPU semantic interpreter `spirv_mini_interp`; no local GPU/Vulkan/`spirv-val` installed) - **GREEN checks**: - `python -I tests/semantic/test_high_half_shared_readers.py -v` -> 6/6 OK (structural + bit-exact semantic parity across all 7 families) - Existing regression suites: `test_image_cube_store_glc.py`, `test_image_store_d16.py`, `test_alu_mad_u16.py`, `test_alu_sad.py`, `test_alu_qsad.py`, `test_valu_int16.py`, `test_vcmp16_opsel.py`, `test_mutations.py`, `test_negative_controls.py` -> all OK - `python -I tests/test_text_write_line_endings.py` -> 3/3 OK - `python -m compileall -q tools/rdna2spirv.py tests/semantic/test_high_half_shared_readers.py` -> exit 0 - `python -I scripts/check_no_game_data.py tools/rdna2spirv.py tests/semantic/test_high_half_shared_readers.py docs/design.md` -> exit 0 - `git diff --check` -> clean - **RED control against `origin/main` (`tools/` extracted from `origin/main`)**: - `tests/semantic/test_high_half_shared_readers.py` fails 6/6 tests (11 failures across every op family: `OpBitField{U,S}Extract %uint ... %c10 %c10` emitted at all 7 sites).
KushGene commented 2026-11-26 16:19:42 +00:00

Independent verification on Linux (Python 3.15.2, CPU semantic interpreter, no game files), tested in a clean detached worktree at main 246791612 with PR #2366 head b176c9f5a:

  • Clean apply: git apply --check / git apply applied cleanly with zero conflicts.
  • Before fix (new test on unpatched main): python3 -I -m unittest discover -s tests/semantic -p test_high_half_shared_readers.py -v -> 6 tests run, 11 failures across all 7 op families (OpBitField{U,S}Extract %uint ... %c10 %c10 still emitted).
  • After fix:
    • python3 -I -m unittest discover -s tests/semantic -p test_high_half_shared_readers.py -v -> 6/6 passed (Ran 6 tests).
    • python3 -I scripts/run_semantic_tests.py tests/semantic -> 501 files, 6371 tests, 0 files failed in 99 s with 16 jobs.
    • python3 -I tests/test_docs_links.py -> 17/17 passed.
    • python3 -I tests/test_ci_registration.py -> 16/16 passed.
    • python3 -I tests/test_text_write_line_endings.py -> 3/3 passed.
    • python3 -m compileall -q make_game.py tools tests -> exit 0.
    • python3 -I scripts/check_no_game_data.py docs/design.md tests/semantic/test_high_half_shared_readers.py tools/rdna2spirv.py -> exit 0.
    • git diff --check -> clean.

Code review notes: all 7 remaining high-half extract sites in tools/rdna2spirv.py route cleanly through Gen.u16_half / Gen.i16_half (with Gen.as_uint() added for signed->uint bitcasts), and docs/design.md documents the contract update accurately as CPU-verified. No issues found.

AI-assisted: yes (Antigravity)

Independent verification on Linux (Python 3.15.2, CPU semantic interpreter, no game files), tested in a clean detached worktree at `main` `246791612` with PR #2366 head `b176c9f5a`: - **Clean apply:** `git apply --check` / `git apply` applied cleanly with zero conflicts. - **Before fix (new test on unpatched `main`):** `python3 -I -m unittest discover -s tests/semantic -p test_high_half_shared_readers.py -v` -> 6 tests run, **11 failures** across all 7 op families (`OpBitField{U,S}Extract %uint ... %c10 %c10` still emitted). - **After fix:** - `python3 -I -m unittest discover -s tests/semantic -p test_high_half_shared_readers.py -v` -> **6/6 passed** (`Ran 6 tests`). - `python3 -I scripts/run_semantic_tests.py tests/semantic` -> **501 files, 6371 tests, 0 files failed in 99 s with 16 jobs**. - `python3 -I tests/test_docs_links.py` -> **17/17 passed**. - `python3 -I tests/test_ci_registration.py` -> **16/16 passed**. - `python3 -I tests/test_text_write_line_endings.py` -> **3/3 passed**. - `python3 -m compileall -q make_game.py tools tests` -> exit 0. - `python3 -I scripts/check_no_game_data.py docs/design.md tests/semantic/test_high_half_shared_readers.py tools/rdna2spirv.py` -> exit 0. - `git diff --check` -> clean. Code review notes: all 7 remaining high-half extract sites in `tools/rdna2spirv.py` route cleanly through `Gen.u16_half` / `Gen.i16_half` (with `Gen.as_uint()` added for signed->uint bitcasts), and `docs/design.md` documents the contract update accurately as CPU-verified. No issues found. AI-assisted: yes (Antigravity)
ecox982745 commented 2026-11-26 16:23:10 +00:00

I ran synthetic shaders for all seven changed instruction families through Vulkan on a physical RTX 4090 (Windows 11, NVIDIA 616.64). Readbacks from b176c9f5aa and its parent 2467916120 were bit-identical, and both matched the expected values.

Per revision Wave32 Wave64 emulated on 32-lane subgroups
Integer compute dispatches matching the reference 24/24 24/24
D16 image-store readback words matching the reference 768/768 768/768

The compute cases exercised signed and unsigned high-half compares, SDWA WORD_1 with and without sign extension, packed arithmetic, multiply-add, SAD, and both masked and unmasked QSAD. The input high half varied by lane. All 8,064 output words per revision matched, including the signed multiply-add case where selecting the high half of the third operand zero-extends it.

For D16 stores I used the project's vk_store_test with a scratch readback writer. Each dispatch wrote distinct low and high halfwords to four-channel float, unsigned and signed images. The comparison covered all three 8×8 images, including the untouched rows in wave32. Both revisions preserved negative zero in the float image and correctly extended the high halfwords in the integer images.

All 10 generated modules per revision passed spirv-val --target-env vulkan1.2. Every parent module contained an offset-16, width-16 bitfield extract and none of the PR modules did. This provides NVIDIA regression coverage. Reproducing the original AMD driver behavior still requires a gfx1036 Vulkan run.

I ran synthetic shaders for all seven changed instruction families through Vulkan on a physical RTX 4090 (Windows 11, NVIDIA 616.64). Readbacks from `b176c9f5aa` and its parent `2467916120` were bit-identical, and both matched the expected values. | Per revision | Wave32 | Wave64 emulated on 32-lane subgroups | | --- | ---: | ---: | | Integer compute dispatches matching the reference | 24/24 | 24/24 | | D16 image-store readback words matching the reference | 768/768 | 768/768 | The compute cases exercised signed and unsigned high-half compares, SDWA `WORD_1` with and without sign extension, packed arithmetic, multiply-add, SAD, and both masked and unmasked QSAD. The input high half varied by lane. All 8,064 output words per revision matched, including the signed multiply-add case where selecting the high half of the third operand zero-extends it. For D16 stores I used the project's `vk_store_test` with a scratch readback writer. Each dispatch wrote distinct low and high halfwords to four-channel float, unsigned and signed images. The comparison covered all three 8×8 images, including the untouched rows in wave32. Both revisions preserved negative zero in the float image and correctly extended the high halfwords in the integer images. All 10 generated modules per revision passed `spirv-val --target-env vulkan1.2`. Every parent module contained an offset-16, width-16 bitfield extract and none of the PR modules did. This provides NVIDIA regression coverage. Reproducing the original AMD driver behavior still requires a gfx1036 Vulkan run.
lixonik reviewed 2026-11-26 18:02:08 +00:00
lixonik left a comment
No description provided.
Windows 11: all 6 targeted high-half semantic tests passed, including the new shared-reader coverage. No findings. AI-assisted.
wavehs reviewed 2026-11-26 18:13:54 +00:00
wavehs left a comment
No description provided.
**macOS arm64 check of #2366** (SHADER-HIGH-HALF-SHARED-READERS). The whole change is the translator plus one semantic test, so it runs fully here; the GPU part is MoltenVK/KosmicKrisp, not the gfx1036 the rule is about. Tested head `b176c9f5a` merged onto `main` `bdbc7e923` as merge `1f6268c23` (clean; `git merge-tree` clean too, the branch is 17 commits behind). Environment: Apple M3 Pro, arm64 (subgroups 4..32), macOS 27.2.1, CPython 3.15.2, SPIRV-Tools v2026.4, llvm-mc 23.1.5, MoltenVK 1.4.0; KosmicKrisp and lavapipe = Mesa 26.3.0. **The new test passes, and its control bites** - `python -I tests/semantic/test_high_half_shared_readers.py`: `Ran 6 tests ... OK` at the head and after merging onto `bdbc7e923`. - Negative control (test kept, `tools/rdna2spirv.py` put back to `main`'s): `FAILED (failures=11)` covering all six test methods. Every failure is the structural assert - `OpBitFieldUExtract %uint %t1 %c10 %c10` still emitted - and none is a value `assertEqual`, which is the useful part: on `spirv_mini_interp` the old and new modules evaluate to the same values, so this is a lowering change, as `docs/design.md` row `:532` says, not a value change. - The author's listed suites also pass here: `test_image_cube_store_glc.py` (OK, skipped=1), `test_image_store_d16.py`, `test_alu_mad_u16.py`, `test_alu_sad.py`, `test_alu_qsad.py`, `test_valu_int16.py`, `test_vcmp16_opsel.py`, `test_mutations.py`, `test_negative_controls.py`, plus `tests/test_pk16_diff.py`. `tests/test_u16_high_half.py` needs pytest, which the system interpreter here does not have; I did not set up the venv for it, so it is unrun. **No regressions** - Semantic suite: 500 files / 6,367 tests / 0 files failed at `main` `bdbc7e923`; 501 files / 6,373 tests / 0 files failed at the merge (+1 file, +6 tests = the new file). - GPU fixtures (268): MoltenVK 195 PASS / 3 FAIL / 70 SKIP, KosmicKrisp 190 / 5 / 73, at both `main` and the merge; the PASS/FAIL/SKIP lines are identical once the per-run temp directory is normalised. The 3/5 failures are the pre-existing `main` ones (`cs_fma_fused`, `cs_imgatomic_ext`, `ps_ssharp` on MV; `cs_bvh`, `cs_bvh32`, `cs_imgatomic_ext`, `ps_cndmask_sign_mods`, `ps_valu16_mad_sel` on KK). This is a driver check that the lowering keeps the values, not a check of the 25.10.36 gfx1036 miscompile. **Findings** 1. GPU coverage of the new rule is partial, and the doc row already says "not yet GPU-verified", which is accurate. Of the seven families, `runtime/test/shaders` exercises only `v_mad_u32_u16`/`v_mad_i32_i16` (`ps_valu16_mad.asm`, `ps_valu16_mad_sel.asm`, `cs_w32_misc_ext.asm`), SDWA `WORD_1` (`ps_sdwa_dword_hi.asm`), `v_pk_mul_lo_u16` with a constant (`cs_pk_mul_lo_const.asm`), and a buffer `d16` store (`cs_fmt_d16_xyz.asm`, not the `image_store ... d16` path). There is no fixture for `v_cmp(x)_*_{u16,i16}` with `op_sel`, `v_sad_u16`, `v_qsad_pk_u16_u8`/`v_mqsad_pk_u16_u8`, `v_pk_{add,sub,min,max,mad}_{u16,i16}`, or `image_store ... d16`. A small `ps_`/`cs_` fixture for sad+qsad and one value-checking `image_store d16` would make the rule measurable on any GPU, instead of only on the CPU interpreter. 2. The new test does not run `spirv-val`: `translate_ps`/`translate_cs` call `rdna2spirv.translate()` and inspect the text. The `image_store d16` case asserts only the absence of the extract and the two shift opcodes, with no value check (`test_image_store_d16_uses_shared_high_half_shifts`). A `%int`/`%uint` type slip in that store path would pass it. The existing `tests/semantic/test_image_store_d16.py` does validate and passes, so the path is covered today, but routing the new cases through a validating helper (or asserting the operand types) would make the new test self-contained. 3. Scope note, not a defect: field extracts at offset 16 with a width other than 16 remain, e.g. `tools/rdna2spirv.py:11573` (`%c10 %c7`, a wave control word) and `:4278` (`%c10 %c14`, a stride). The measured 25.10.36 report and this row are width-16 only, so that is consistent; if the driver's offset-mod-16 behaviour is not width-specific, the row should say so, because those sites are outside this rule. `python -I scripts/check_no_game_data.py` on the three changed files: clean. `git diff --check`: clean. No game files. AI-assisted.
tiguan26 approved these changes 2026-11-27 04:46:52 +00:00
tiguan26 left a comment

Approving b176c9f5a.

The remaining readers of a 16-bit high half (the SDWA and op_sel compares, the 16-bit field reads, the packed accumulator, the v_*_u16/i16 pair ops and the FSPX f16 reads) now go through u16_half/i16_half like the others, with one new as_uint bitcast where a signed half feeds a uint slot; there is one definition of each helper in the merged file, so nothing shadows another.

test_high_half_shared_readers.py 6 passed (6 subtests). Merged onto main d1dff7949 together with #2397, #2416 and the other three of this series below (no conflicts), on Linux with Python 3.13. The full translator suite (run_semantic_tests.py tests/semantic) on that tree has only the 8 failures main has here (7 in test_fspx_dot4_op_sel_disasm, test_int32_to_f64), and tests/test_translate.py only main's own ps_sdwa_f16_const.asm (an llvm-mc version difference in this environment). AI-assisted (Claude Code, Claude Opus 5.5).

Approving b176c9f5a. The remaining readers of a 16-bit high half (the SDWA and op_sel compares, the 16-bit field reads, the packed accumulator, the `v_*_u16`/`i16` pair ops and the FSPX f16 reads) now go through `u16_half`/`i16_half` like the others, with one new `as_uint` bitcast where a signed half feeds a uint slot; there is one definition of each helper in the merged file, so nothing shadows another. `test_high_half_shared_readers.py` 6 passed (6 subtests). Merged onto `main` `d1dff7949` together with #2397, #2416 and the other three of this series below (no conflicts), on Linux with Python 3.13. The full translator suite (`run_semantic_tests.py tests/semantic`) on that tree has only the 8 failures `main` has here (7 in `test_fspx_dot4_op_sel_disasm`, `test_int32_to_f64`), and `tests/test_translate.py` only `main`'s own `ps_sdwa_f16_const.asm` (an llvm-mc version difference in this environment). AI-assisted (Claude Code, Claude Opus 5.5).
timbot103 approved these changes 2026-11-28 03:20:55 +00:00
timbot103 left a comment

Verified head b176c9f5a (vs parent 246791612) on Windows 11 across both AMD Radeon gfx1036 (driver 32.0.21030.2001 / 25.10.30.02, Vulkan SDK 1.4.363.0 Core + SyncVal) and NVIDIA RTX 5080 (616.64).

Static & semantic checks:

  • Routing the remaining 16-bit high-half consumers (v_cmp_*_u16/i16, sdwa_src WORD_1 unsigned & sext, v_pk_*, v_sad_u16, v_qsad_pk_u16_u8 / v_mqsad_pk_u16_u8, v_mad_{u32_u16,i32_i16}, and D16 image_store) through u16_half / i16_half eliminates OpBitField{S,U}Extract ... 16 16 while preserving signedness, packed component order, and v_mad_i32_i16 third-operand zero-extension.
  • tests/semantic/test_high_half_shared_readers.py — 6/6 OK.
  • tests/semantic/test_image_store_d16.py — 5/5 OK.
  • tests/test_u16_high_half.py — 33/33 cases PASS.

Dual-GPU hardware checks (Vulkan SDK 1.4.363.0 Core + SyncVal):

  • Checked-in fixtures (ps_sdwa_dword_hi, ps_valu16_mad_sel, cs_pk_mul_lo_const): PASS (exit 0 under Core + SyncVal) on both AMD Radeon gfx1036 and RTX 5080.
  • Directed lane-varying ALU compute shader exercising all 6 ALU families (v_cmp_gt_u16/v_cmp_lt_i16 op_sel:[1,1], SDWA WORD_1 unsigned & sext, v_pk_{add_u16,sub_i16 clamp,mul_lo_u16,min_i16,max_u16,mad_i16}, v_mad_{u32_u16,i32_i16} with 0xffff third-source high half, v_sad_u16, v_qsad_pk_u16_u8, v_mqsad_pk_u16_u8, 512 readback words):
    • Parent 246791612: 29 OpBitField{S,U}Extract ... %c10 %c10 sites in emitted SPIR-V; 0/512 mismatches on RTX 5080 and gfx1036 driver 32.0.21030.2001 (note: the reported miscompile is on driver 25.10.36, so this run provides additional gfx1036 + Blackwell parity coverage rather than reproducing the 25.10.36 miscompile).
    • Head b176c9f5a: 0 OpBitField{S,U}Extract ... %c10 %c10 sites; 0/512 mismatches on both AMD Radeon gfx1036 and RTX 5080 (0 VUIDs).

No game data used. AI-assisted review (Codex static audit + Gemini dual-GPU verification).

Verified head `b176c9f5a` (vs parent `246791612`) on Windows 11 across both **AMD Radeon `gfx1036`** (driver `32.0.21030.2001` / `25.10.30.02`, Vulkan SDK `1.4.363.0` Core + SyncVal) and **NVIDIA RTX 5080** (`616.64`). **Static & semantic checks:** - Routing the remaining 16-bit high-half consumers (`v_cmp_*_u16/i16`, `sdwa_src` `WORD_1` unsigned & `sext`, `v_pk_*`, `v_sad_u16`, `v_qsad_pk_u16_u8` / `v_mqsad_pk_u16_u8`, `v_mad_{u32_u16,i32_i16}`, and D16 `image_store`) through `u16_half` / `i16_half` eliminates `OpBitField{S,U}Extract ... 16 16` while preserving signedness, packed component order, and `v_mad_i32_i16` third-operand zero-extension. - `tests/semantic/test_high_half_shared_readers.py` — **6/6 OK**. - `tests/semantic/test_image_store_d16.py` — **5/5 OK**. - `tests/test_u16_high_half.py` — **33/33 cases PASS**. **Dual-GPU hardware checks (Vulkan SDK `1.4.363.0` Core + SyncVal):** - Checked-in fixtures (`ps_sdwa_dword_hi`, `ps_valu16_mad_sel`, `cs_pk_mul_lo_const`): **PASS** (exit 0 under Core + SyncVal) on both AMD Radeon `gfx1036` and RTX 5080. - Directed lane-varying ALU compute shader exercising all 6 ALU families (`v_cmp_gt_u16`/`v_cmp_lt_i16` `op_sel:[1,1]`, SDWA `WORD_1` unsigned & `sext`, `v_pk_{add_u16,sub_i16 clamp,mul_lo_u16,min_i16,max_u16,mad_i16}`, `v_mad_{u32_u16,i32_i16}` with `0xffff` third-source high half, `v_sad_u16`, `v_qsad_pk_u16_u8`, `v_mqsad_pk_u16_u8`, 512 readback words): - Parent `246791612`: **29** `OpBitField{S,U}Extract ... %c10 %c10` sites in emitted SPIR-V; 0/512 mismatches on RTX 5080 and `gfx1036` driver `32.0.21030.2001` (note: the reported miscompile is on driver `25.10.36`, so this run provides additional `gfx1036` + Blackwell parity coverage rather than reproducing the `25.10.36` miscompile). - Head `b176c9f5a`: **0** `OpBitField{S,U}Extract ... %c10 %c10` sites; **0/512 mismatches** on both AMD Radeon `gfx1036` and RTX 5080 (0 VUIDs). No game data used. AI-assisted review (Codex static audit + Gemini dual-GPU verification).
sodove commented 2026-11-28 10:45:12 +00:00

#2366 | head b176c9f5aafff117a49d22a84e54c64803aca632 | python3 -m unittest discover -s tests/semantic -p test_high_half_shared_readers.py -v | red: 6 run, 11 failures | green: 6 passed | Red → green

Baseline failures included image_store_d16 high-half reads and the signed and unsigned SDWA WORD_1 cases.

Captured 15 distinct complete SPIR-V module(s) emitted while rerunning test_high_half_shared_readers.py on the merged tree. All assembled and passed spirv-val for Vulkan 1.2 with --allow-offset-texture-operand.

Base 3bd936ecd98995bca3e1da83d5e28d2343001aef was merged into the recorded PR head for the second run. Ubuntu 26.04.1 (WSL2), Python 3.14.4. Counts include unittest subtest events where applicable. AI-assisted with OpenAI Codex. Batch claim.

#2366 | head `b176c9f5aafff117a49d22a84e54c64803aca632` | `python3 -m unittest discover -s tests/semantic -p test_high_half_shared_readers.py -v` | red: 6 run, 11 failures | green: 6 passed | **Red → green** Baseline failures included image_store_d16 high-half reads and the signed and unsigned SDWA WORD_1 cases. Captured 15 distinct complete SPIR-V module(s) emitted while rerunning test_high_half_shared_readers.py on the merged tree. All assembled and passed spirv-val for Vulkan 1.2 with --allow-offset-texture-operand. Base `3bd936ecd98995bca3e1da83d5e28d2343001aef` was merged into the recorded PR head for the second run. Ubuntu 26.04.1 (WSL2), Python 3.14.4. Counts include unittest subtest events where applicable. AI-assisted with OpenAI Codex. [Batch claim](https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7237873883).
DadaCap commented 2026-11-28 11:53:55 +00:00

Merged, thank you @ShotTechOp! This translator PR (rdna2spirv: route remaining 16-bit high-half readers through u16_half/i16_half (SHADER-HIGH-HALF-SHARED-READERS)) passed its own tests with main merged in during sodove's verification of this batch, so it went in with the batch.

AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.

Merged, thank you @ShotTechOp! This translator PR (rdna2spirv: route remaining 16-bit high-half readers through u16_half/i16_half (SHADER-HIGH-HALF-SHARED-READERS)) passed its own tests with main merged in during sodove's verification of this batch, so it went in with the batch. AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.
Sign in to join this conversation.
No description provided.