Repository navigation
test(semantic): add cubemap projection suite bundle - #5893
Open
slopgobblercobbler wants to merge 25 commits into
Open
slopgobblercobbler wants to merge 25 commits into
slopgobblercobbler wants to merge 25 commits into
Conversation
…es for v_cubeid_f32
… cases for v_cubesc_f32
… cases for v_cubetc_f32
…ization for v_cubema_f32
|
Verified against main 561b65a: merges cleanly, 26/26 pass (re-run), guard green; 7 translate sites, rest oracle, and main's test_valu_cube.py already covers all four v_cube* mnemonics through the translator — oracle/mutation depth rather than new coverage, same note as #5901/#5898. Mnemonics all real. Checks pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
|
Mutation check of the current head with a generic run ( AI-assisted (Claude Code). No game files. |
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.
What
Adds comprehensive translator-backed regression tests and reference mathematical models for Subsystem Feature Bundle 16: VALU Cubemap Coordinates & Projection Suite in
tests/semantic/test_valu_cubemap_bundle.py.Covers all 4 RDNA2 cubemap coordinate projection operations (24 granular commits):
v_cubeid_f32- Face index selection (0.0 to 5.0) under |Z| >= |Y| >= |X| priority rulesv_cubesc_f32- S coordinate projection across all 6 cubemap facesv_cubetc_f32- T coordinate projection across all 6 cubemap facesv_cubema_f32- Major axis magnitude calculation (2 * major_axis) with hardware +0.0 normalization for ±0.0Each opcode includes:
tools/rdna2spirv.pyviasupport.translate_linesand MRT0 output verificationTested
python -I)python -I tests/test_semantic_translator_use.py(Passes translator reachability check)python -I tests/semantic/test_valu_cubemap_bundle.py(All 24 test suites OK)unittest,struct,math)upstream/main