test(agc): print hex values of failing checks in hex #7628
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7628"
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 milescoviello on 2026-10-18T17:54:12Z.
What
Four tests printed a value with
std::to_stringafter0x, so a decimal number read as a hex one:BdaExecution.cpp: the anchor of the three anchored-read checks. On RADV, #7584 gotan anchored BDA read differs ... at anchor 0x140733498786049 + 0 + (-1). That anchor is 140733498786049 = 0x7fff12340101, the test'sguest + 0x100.PerformanceOverlay.cpp: the pixel word of a glyph pixel that is not white.execution/ImagePackedHorizontalGather.cpp: the gathered and expected register values.execution/OversizedDispatch.cpp: the stored and expected dwords.Each file now prints these through a local
Hexhelper, as other tests intests/executiondo:0x%08xfor the 32-bit values,0x%llxfor the 64-bit anchor. Only failure messages change.Tested
Ubuntu 24.04 (Linux 6.8), GCC 13.3, NVIDIA RTX 4070 Ti (595.99.02), on
main889cee5f9f.agc_performance_overlay,agc_driver_image_packed_horizontal_gatherandagc_driver_oversized_dispatchpass 3 runs of 3.agc_driver_bda_devicefails with the 5 s fence timeout, as onmainwith this driver: the hang #7571 fixes.an anchored BDA read differs from the same read through the lookups at anchor 0x7fff12340101 + 0 + (0), 8 bits, 1 dwords'6' of 'FPS: 60.0' glyph pixel 2,0 is not white text: 0xffffffffpacked horizontal gather: dmask 15 thread 0 register 0 is 0x04030201, expected 0x04030201OversizedDispatchcheck isn't reached on NVIDIA, which takes the test's throwing branch instead of the split coverage.tools/check_conventions.py --base upstream/mainpasses.tools/pr_overlap.pylists only #7390, which conflicts withmain. It removesCheckNvidiaSplitThrowsfromOversizedDispatch.cpp, away from the lines changed here.VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ANYPS5_NO_SHADER_CACHE=1 ANYPS5_REQUIRE_VULKAN=1 ctest -R '^agc_' -Vonmainf29546ac4eand onmain+ this PR (de4deb44a1, a local merge).main: 812 of 812 pass; with this PR: 812 of 812 pass. Neither log reports the layer missing. VUIDs onmain:VUID-VkImageViewCreateInfo-usage-02275×6,VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605×18,VUID-vkCmdCopyBuffer-srcBuffer-00118×2,VUID-vkCmdDispatch-magFilter-04553×2,VUID-vkCmdDraw-multisampledRenderToSingleSampled-07285×2,VUID-vkCmdWaitEvents-srcStageMask-01158×2,VUID-vkSetEvent-event-09543×2; with this PR:VUID-VkImageViewCreateInfo-usage-02275×6,VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605×18,VUID-vkCmdCopyBuffer-srcBuffer-00118×2,VUID-vkCmdDispatch-magFilter-04553×2,VUID-vkCmdDraw-multisampledRenderToSingleSampled-07285×2,VUID-vkCmdWaitEvents-srcStageMask-01158×2,VUID-vkSetEvent-event-09543×2. None is new with this PR. Each ofmain's is the subject of an open PR: 00118 #7961, 04553 #7707, 07285 #7985, 01158 and 09543 #7913, 00605 #6782, 02275 #862.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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T18:10:25Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libSceAgcDriver/tests/PerformanceOverlay.cppImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T23:38:00Z.
Checked the four
Hexhelpers (includes, types, no name clashes) and every changed message; only failure text changes. Merged.