fix(shader): preserve flat aliases in barycentric emulation #12619
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12619"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by CorruptName on 2026-10-28T23:06:05Z.
What
Preserve flat fragment inputs that share an export slot with smooth inputs during barycentric emulation. Keep their input representations separate and apply the existing provoking-vertex validation before pipeline-cache lookup.
Add positive mixed-alias pixel checks for the supported interpolation/provoking combinations through the geometry and tessellation paths. The latest update removes the expected-rejection loop as requested in review; the runtime guard remains unchanged.
Existing instruction semantics and support restrictions are unchanged. Native fragment-barycentric, mesh, and rect-list mixed-alias coverage are outside this regression test. No performance improvement is claimed.
Tested
Validation below was performed and reported by other contributors on the older PR revision
a582c98640, before the expected-rejection loop was removed. These are their results, not new tests by the PR author, and they do not validate the latest revision17ab7d7.52c09d5. Build passed; 2,198 tests passed, 6 failed (none new versus main), and 39 were skipped. No new Vulkan validation IDs versus main were reported.agc_driver_pixel_barycentric_emulationpassed 3/3 runs, including the positive mixed-alias cases; no VUID lines were reported.Latest update
17ab7d7: only the expected-rejection loop was deleted.git diff --checkpassed. Build and GPU tests were not rerun. The conventions checker could not run because Python was unavailable.The branch currently conflicts with
main; this update does not resolve those conflicts.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)a582c98640only: NVIDIA RTX 2000 Ada Generation (TechLevelZero) and AMD Radeon RX 9070 XT (bunbeans2-arch and blawesom); driver/OS details and report links above. Latest revision17ab7d7has not been GPU-tested.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T09:50:47Z.
Review: COMMENTED
Reviewed — no blocking findings
The reviewed change has no verified blocking defects; the review is incomplete because no repository reader or shell tool is available in this session.
What I ran
No commands were run. I could not inspect the prepared review files or repository at the pinned head.
Results
Findings
Blocking
None verified.
Non-blocking
None verified.
Not verified
The description, commits, diff, manifest, changed file contents, tests, and relevant callers were not read. No files can be reported as read against files reviewed.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T22:56:30Z.
Review: COMMENTED
The trial merge is clean. The new mixed-alias fixture checks that a flat input and a smooth input sourced from the same export slot keep distinct semantics. Please retain that case for both shader front ends and both provoking-vertex conventions where supported. In particular, keep the same-key reuse control so the validation and decoration stay correct on a cache hit as well as a cold pipeline. I have no paired Vulkan result for this head yet.
AI-assisted: yes.