Skip to content

[Integration pilot] Verify two LLVM shader-tooling fixes - #1

Draft
BadgersMC wants to merge 4 commits into
integration/shader-tooling-basefrom
integration/shader-tooling-pilot
Draft

BadgersMC wants to merge 4 commits into
integration/shader-tooling-basefrom
integration/shader-tooling-pilot

Conversation

@BadgersMC

@BadgersMC BadgersMC commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

This fork-only draft records combined verification of two independently reviewed shader-tooling changes against upstream d9f0a98e1. The branch preserves both original commits.

Combined verification

  • Windows 11, Python 3.12.10, LLVM 23.1.5 and SPIRV-Tools v2026.4. All 682 tests in tests/test_translate.py and all 52 packed-dot semantic tests passed.
  • Both DPP test cases and the packed-dot listing regression reproduced on the pinned upstream base.
  • The CI-registration scan reports the inherited-test issue in test_sub_co_same_operand.py on both the base and the combined branch. The targeted fix is tracked separately. #1365
  • The diff and no-game-data checks passed. All inputs were synthetic.

AI-assisted triage and verification.

Hosted status

The fork's translator job passed 1,886 tests with 14 skips and 129 passing subtests. Ubuntu semantic tests passed all 6,216 cases across 476 files, and Linux portable runtime tests passed all 72 cases. Change-scope, viewer and no-game-data jobs also passed. Linux standard-library and macOS Python reported the registration failure reproduced on the upstream base above. The other hosted jobs are tracked on this draft. CI run · Runtime run

tedin7 and others added 4 commits November 24, 2026 16:47
…rds llvm-mc rejects, so the FSR4 FSPX programs translate

The FidelityFX upscaler programs hold 89 such words in 8 programs (docs/fspx.md); the translator already models the form but the listing could not carry it, so the programs were refused as a fall-through into undecodable words.
…ing, as run_gpu_tests.py does (TEST-TRANSLATE-TEXT-ONLY)

translator-tests fails on main since 6261ca9 (the merge of ProjectLeonida#957), which added runtime/test/shaders/cs_dpp_cmp.asm:
tests/test_translate.py::test_gpu_samples_translate_and_validate[cs_dpp_cmp.asm] and
::test_wave64_emulate_uses_no_subgroup_ops[cs_dpp_cmp.asm] stop at the llvm-mc assertion of conftest.Shader with
"dpp variant of this instruction is not supported" (2 failed, 1879 passed on a runner with llvm-mc 21; the same two
with 23.1.4).

llvm-mc has no gfx1013 encoding for a VOPC compare in DPP form, so the fixture carries the line
"; run_gpu_tests: text only, ..." and assemble_to_s in scripts/run_gpu_tests.py writes its listing from the text.
conftest.Shader assembled every sample with llvm-mc and did not know the line. It now does the same as the GPU
runner for a sample that carries it, so both tests translate and validate the fixture instead of failing before
they reach the translator.

Two new tests: the line is spelled in conftest as in run_gpu_tests.py, and only a sample that carries it skips
llvm-mc (the same lines without it still go to llvm-mc and fail there). Controls: with the line spelled
differently in conftest the spelling test and both cs_dpp_cmp tests fail; with every sample taking the text path
the second new test fails.

The translator-tests step with the workflow's file list (37 files, pytest 9.2.0, llvm-mc 23.1.4, without numpy
and Pillow, so 134 skipped): 2 failed, 1618 passed on main 89d7dfc; 1622 passed here.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants