Repository navigation
Conversation
Collaborator
|
Reviewed
Checked on Linux (clang-cl cross build, run under Wine): the new IR check passes at head (14 DXIL cases, 10 refusal controls); four source mutations each turned it red; docs links, bidi controls, form coverage and Not a finding on the code: the question on #3703 about the A2 row still had no reply at review time. AI-assisted review. |
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.
Part of #3703
A2 mesh median and exponent
The census reports 67 first refusals at
v_med3_f32and 23 atv_exp_f32. Source-built fixtures for both opcodes reproduced the standard unsupported mesh instruction diagnostic before this change. Private census coverage is pending.The mesh frontend routes VOP3
v_med3_f32and VOP1 or VOP3v_exp_f32through the existing direct float ALU. Median selects the folded FMin result when any operand is NaN. The exponent uses DXIL Exp, opcode 21, for a base-2 power. Valid source abs and neg use the shared sign-bit transformations. Clamp, omod, op_sel, SDWA, DPP and nonzero unused exponent fields stay refused.The fixture evaluates the DXIL feeding the position export. It covers ordinary medians, each NaN position, multiple NaNs, infinities and positive and negative exponents. GPU regression tests cover the existing mesh suite. Exact hardware floating-point parity was not measured.
Verification
Base
d2e6a4ed, patch326b56e8. Both builds passed, including the full Debug build and its C++17 shader frontend target.accepted=1 refused=0and passed its synchronized retry.accepted=1 refused=0, as on the clean Release baseline. All three passed withX2W_SYNC_MESH_REQUESTS=1.Windows 11 10.0.26200.9974, MSVC 19.44.35230, Windows SDK 10.0.26100, DXC 1.9.2602.17. WARP 10.0.26100.9818 and NVIDIA GeForce RTX 5080 with driver 32.0.16.2140. The D3D12 debug layer was unavailable.
🤖 Generated with Claude Code