Repository navigation
test(agc): print hex values of failing checks in hex - #7628
Merged
adriadam10 merged 1 commit intoOct 19, 2026
Merged
Conversation
Four tests printed a value with std::to_string after "0x", so a decimal number read as a hex one. The anchor of a differing anchored BDA read, guest + 0x100, was reported as 0x140733498786049 instead of 0x7fff12340101. They now print these values in hex. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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.
|
Collaborator
|
Checked the four |
12 tasks done
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.
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, agc_driver_bda_device times out in vkWaitForFences since the BDA anchor lookup (#5859, d422c760c) #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
main889cee5.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 fix(shader): leave the BDA lookup functions through one return #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_' -Vonmainf29546a and onmain+ this PR (de4deb4, 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 fix(agc): give copied guest buffer regions transfer-source usage #7961, 04553 fix(shader): point-filter direct samplers paired with unsigned integer images #7707, 07285 fix(agc): copy a linked pipeline's color sample counts only when it has color attachments #7985, 01158 and 09543 fix(agc): hold a pending producer batch with a timeline semaphore #7913, 00605 fix(agc): enable independentBlend for color targets with different blend states #6782, 02275 fix(agc): restrict sampled storage texture view usage #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