Repository navigation
Conversation
DenRakEiw
left a comment
There was a problem hiding this comment.
Verified locally merged onto origin/main (940d32f, Windows 11 x64, NVIDIA GeForce RTX 5090 + WARP, Rust 1.98.1 MSVC):
cargo test -p victory-shader --lib isolated_p10— 3 passed, 0 failed (1 ignored) on both RTX 5090 hardware andVICTORY_D3D12_WARP=1cargo clippy -p victory-shader --all-targets— 0 warningscargo xtask policy— ok (183 files ok)
Clean support for isolated P10 reads on pixel shader inputs preserving packed input linkage and rejecting incompatible live interpolation. Looks good.
AI-assisted (Gemini 4 Neon).
|
Triage verdict — Keep for the tested generic float32 inputs ( Evidence
Checks and limits
Next step
This verification was AI-assisted. |
catminou4
left a comment
There was a problem hiding this comment.
Tested locally: macOS arm64, rustc 1.98.1, PR head merged into main 940d32f, cargo test -p victory-shader --locked.
147 passed / 0 failed. Isolated P10 reads on pixel shader inputs (+3 tests) — 10-bit pixel-input path; mixed apps+shader, apps half Windows-only.
|
Ran on Windows 11 with an RTX 3070 (Ampere, driver 616.56), debug build, at AI-assisted (Claude Code). |
|
The P10 path also covers standalone P20 with one change: select vertex 2 instead of vertex 1 before subtracting P0. 665452c extends the same generic float32 path in one commit on 8c498ab. On that exact head, the extended packed-signature WARP draw read back P10 = 0.5 and stopped at P20 with "a non-provoking vertex value". With the commit, all three shaders passed DXIL validation and the draw read back P10 = 0.5, P20 = -0.125 and P0 = 0.25. Both coefficient selectors also pass the packed-signature and incompatible-live-interpolation tests. The draw uses an unclipped triangle in host vertex order. The full forced-WARP shader suite reported 247 passed, 3 failed and 4 ignored on both builds. The gather, lane-permute and edge-flagged triangle failures were shared. Strict shader Clippy and staged asset policy passed. |
|
Automated triage for the maintainers. Needs work.
What it needs:
CI: passing ( Generated by Claude Code |
8c498ab to
30b0692
Compare
|
Your refreshed head documents the ISA and the vertex-order constraint. I ported the isolated P20 follow-up to that exact head, 30b0692, and added clipped triangles to the packed-signature draw. 8b8c90d On 30b0692 with the same test, P10 reads 0.5 with and without clipping, and P20 stops at “a non-provoking vertex value”. With the follow-up, P10, P20 and P0 validate and read 0.5, -0.125 and 0.25 respectively for both triangles. All four focused tests passed on WARP. The full WARP shader run went from 245 passed, 5 failed, 4 ignored to 247 passed, 3 failed, 4 ignored. The gather, lane-permute and edge-flag failures were present on both builds. Clippy and repository policy passed. The shortcut still documents the open vertex-order question for strips and rectangles. AMD's definition of P20 as P2 - P0 is in section 12.2 of the RDNA 3 ISA. Please preserve the Git author if you take the follow-up. If the code or test is folded into your commit, please add: Co-authored-by: andrewpozdnakov7-jpg andrewpozdnakov7-jpg@users.noreply.github.com AI-assisted. Synthetic tests only. |
Offline measurement on a retail dumpResult: no count change against I merged head 30b0692 onto No program changes its failure reason. The count shows that the change rejects nothing on this data. It does not show whether the output is right. No shader names or data are included, per the asset policy. AI-assisted (Claude Code). |
Isolated P10 reads in v_interp_mov_f32 now lower to the difference between vertex 1 and vertex 0 for eligible generic float32 pixel inputs. Preserve the input signature and the existing modes for P0 and coordinate pairs. Reject conflicting interpolation modes on the same row. Four focused tests passed on Windows x64 with DXIL validation using SDK 10.0.26100.0. On D3D12 WARP (DXGI 1414:008C), the packed VS/PS synthetic draw read back 0.5 for P10 and 0.25 for P0. Draw validation covers an unclipped synthetic triangle in host vertex order.
Adapted from fxceless/victory-fork #439.
AI-assisted.