[PR #926] [MERGED] tests: remove unavailable mullit readback path (TEST-MULLIT-READBACK-DEAD-PATH) #963

Closed
opened 2026-11-26 20:19:38 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/926
Author: @KernelSmoker
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @aslan2142

Base: main ← Head: codex/test-mullit-readback-dead-path


📝 Commits (1)

  • 9ab8a45 tests: remove unavailable mullit readback path

📊 Changes

4 files changed (+6 additions, -136 deletions)

View changed files

📝 docs/testing.md (+0 -10)
📝 runtime/test/shaders/build.py (+1 -4)
➖ runtime/test/shaders/mullit_readback.py (+0 -122)
📝 tests/test_shader_build_fallbacks.py (+5 -0)

📄 Description

Summary

  • Remove the standalone v_mullit_f32 readback script and its documentation because its ps_mullit fixture is absent from main and the translator has no corresponding rule.
  • Remove the shader builder's special case that treated the missing fixture as an available target.
  • Add a regression test proving that ps_mullit is rejected as an unknown target before translation is attempted.

Claimed in the coordination issue as: TEST-MULLIT-READBACK-DEAD-PATH — https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135611283

Verification

  • python3 -I tests/test_shader_build_fallbacks.py -v: 6/6 passed.
  • python3 -I tests/test_docs_links.py -v: 16/16 passed.
  • Direct builder invocation rejects ps_mullit as an unknown target (exit 1), before needing LLVM tools.
  • py_compile, scripts/check_no_game_data.py, and git diff --check passed.
  • No GPU or game data used. The build command for the original readback could not proceed on this host because llvm-mc is unavailable; the missing fixture and absent translator rule were verified directly from the current main tree.
  • AI-assisted: yes.

Revalidation on current upstream

Rebased onto fce586c6d6f74160eccff015d9806e179188d862 (commit 9ab8a45cfaa278736c7745dcd3dcc80a4713ec5f). Re-ran tests/test_shader_build_fallbacks.py (6/6) and tests/test_docs_links.py (16/16); scripts/check_no_game_data.py and git diff --check passed. Invoking the shader builder with the required output-directory argument confirms ps_mullit is rejected as an unknown target before LLVM is needed. No game data or GPU run.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/926 **Author:** [@KernelSmoker](https://github.com/KernelSmoker) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `codex/test-mullit-readback-dead-path` --- ### 📝 Commits (1) - [`9ab8a45`](https://github.com/ubiquitarianism/leonida/commit/9ab8a45cfaa278736c7745dcd3dcc80a4713ec5f) tests: remove unavailable mullit readback path ### 📊 Changes **4 files changed** (+6 additions, -136 deletions) <details> <summary>View changed files</summary> 📝 `docs/testing.md` (+0 -10) 📝 `runtime/test/shaders/build.py` (+1 -4) ➖ `runtime/test/shaders/mullit_readback.py` (+0 -122) 📝 `tests/test_shader_build_fallbacks.py` (+5 -0) </details> ### 📄 Description ## Summary - Remove the standalone `v_mullit_f32` readback script and its documentation because its `ps_mullit` fixture is absent from `main` and the translator has no corresponding rule. - Remove the shader builder's special case that treated the missing fixture as an available target. - Add a regression test proving that `ps_mullit` is rejected as an unknown target before translation is attempted. Claimed in the coordination issue as: TEST-MULLIT-READBACK-DEAD-PATH — https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135611283 ## Verification - `python3 -I tests/test_shader_build_fallbacks.py -v`: 6/6 passed. - `python3 -I tests/test_docs_links.py -v`: 16/16 passed. - Direct builder invocation rejects `ps_mullit` as an unknown target (exit 1), before needing LLVM tools. - `py_compile`, `scripts/check_no_game_data.py`, and `git diff --check` passed. - No GPU or game data used. The build command for the original readback could not proceed on this host because `llvm-mc` is unavailable; the missing fixture and absent translator rule were verified directly from the current `main` tree. - AI-assisted: yes. ## Revalidation on current upstream Rebased onto `fce586c6d6f74160eccff015d9806e179188d862` (commit `9ab8a45cfaa278736c7745dcd3dcc80a4713ec5f`). Re-ran `tests/test_shader_build_fallbacks.py` (6/6) and `tests/test_docs_links.py` (16/16); `scripts/check_no_game_data.py` and `git diff --check` passed. Invoking the shader builder with the required output-directory argument confirms `ps_mullit` is rejected as an unknown target before LLVM is needed. No game data or GPU run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:38 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#963
No description provided.