Repository navigation
Conversation
…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>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fork-only draft records combined verification of two independently reviewed shader-tooling changes against upstream
d9f0a98e1. The branch preserves both original commits.8d29ffd26. Source PR · Independent Windows verification4e1ca11a6. Source PR · Independent verificationCombined verification
tests/test_translate.pyand all 52 packed-dot semantic tests passed.test_sub_co_same_operand.pyon both the base and the combined branch. The targeted fix is tracked separately. #1365AI-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