test(agc): disable barycentric built-ins in the mesh barycentric emulation test #12062
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12062"
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 Lancito01 on 2026-10-27T18:16:33Z.
What
agc_driver_mesh_barycentric_emulationfails on every run on a device withVK_KHR_fragment_shader_barycentricsince #9193:#9193 added
SpirvTarget::fragmentBarycentricBuiltinsand cleared it inPixelBarycentricEmulation'sDraw, butMeshBarycentricEmulation'sDrawstill copies it from the device target and only clearsfragmentShaderBarycentricEnabled. With the built-ins left on,HostInterpolationChecker::Lowerreads the I/J VGPRs fromBaryCoordKHR, sobarycentricEmulation.activestays false and the test stops at its firstRequire. This setstarget.fragmentBarycentricBuiltins = falsethere, as #9193 did for the pixel test. Test-only change.Tested
Windows 10 22H2 (19045), WinLibs GCC 15.2.0 r7, Release,
BUILD_TESTING=ON, all AGC execution tests built.ctest --test-dir build -R "^agc_driver_(mesh|pixel)_barycentric_emulation$" -VwithANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, 5 fresh-process runs each:agc_driver_mesh_barycentric_emulationagc_driver_pixel_barycentric_emulationmain228cd64b538the pixel shader did not emulate barycentrics)228cd64b538mesh barycentric emulation tests passed: 932 perspective and 932 linear I/J pixels, 932 raw vertex value pixels)main14332cd8d0VK_LOADER_DEBUG=layershowsVK_LAYER_KHRONOS_validationinserted (Khronos nightly Windows build); no log containsVUID-orwas not found but was requested by env var VK_INSTANCE_LAYERS.tools/check_conventions.py --base origin/mainpasses andtools/pr_overlap.pyreports no overlap.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)10de:2216, Ampere), driver 610.62, Windows 10 22H2 (19045)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-27T18:16:45Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T18:35:36Z.
Review: APPROVED
Reviewed exact head
552d38908301cdbf6cb8a41ce7256de121f65a23. The one-line test setup change clearsfragmentBarycentricBuiltinsalongsidefragmentShaderBarycentricEnabled, matching the existing pixel barycentric emulation setup and the described mesh-test failure. The PR includes repeated main-versus-change runs with validation enabled on an RTX 3080; this host has no compatible Vulkan device for independently reproducing those GPU results.\n\nValidation here:tools/check_conventions.py --base refs/remotes/upstream/mainpassed andgit diff --checkpassed. No local GPU runtime result is claimed.