test(agc): create fixture command pools with the reset flag #7337
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7337"
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-18T01:06:18Z.
What
Seven AGC test fixtures create their own command pool without
VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT:BdaDevice.cppexecution/DepthStorage.cppexecution/OversizedDescriptorSets.cppexecution/PartiallyResidentSnapshot.cppexecution/PooledBufferRange.cppexecution/SampledCacheBudget.cppexecution/SparseBufferHoles.cppRecorderbegins a command buffer it has used before without resetting it explicitly. That relies on the pool flag, which the driver's own pool inVulkanDevice.cppsets, as do the other fixtures such asRecorder.cppandDepthSurfaceLastWriter.cpp.Under the Khronos validation layer, the tests built on these fixtures report
VUID-vkBeginCommandBuffer-commandBuffer-00050("attempts to implicitly reset cmdBuffer created from VkCommandPool ... that does NOT have the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT bit set"). The command buffer state is undefined there, so a stricter driver could fail these tests for a reason unrelated to what they check. Each fixture now sets the flag the wayVulkanDevicedoes. Test-only, one line per file.Tested
Linux (Ubuntu 24.04, kernel 6.8), NVIDIA RTX 4070 Ti, driver 595.99.02, with the Khronos validation layer 1.3.275 (
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation):mainf663e565feagc_driver_depth_storage_tests00050agc_driver_partially_resident_snapshot_tests --pending-stores00050The 10 CTest entries that use these seven fixtures pass under the layer on this branch (10/10). The only errors left in that run are
VUID-VkDeviceCreateInfo-pNext-pNextandVUID-VkGraphicsPipelineCreateInfo-pLibraries-06681, which come from this older layer version and also appear onmain.tools/check_conventions.py --base upstream/mainpasses.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-18T01:20:40Z.
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/BdaDevice.cppcore/libs/prx/libSceAgcDriver/tests/execution/OversizedDescriptorSets.cppcore/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cppcore/libs/prx/libSceAgcDriver/tests/execution/DepthStorage.cppcore/libs/prx/libSceAgcDriver/tests/BdaDevice.cppcore/libs/prx/libSceAgcDriver/tests/execution/DepthStorage.cppcore/libs/prx/libSceAgcDriver/tests/execution/OversizedDescriptorSets.cppcore/libs/prx/libSceAgcDriver/tests/execution/PartiallyResidentSnapshot.cppcore/libs/prx/libSceAgcDriver/tests/execution/PooledBufferRange.cppcore/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cppcore/libs/prx/libSceAgcDriver/tests/execution/SparseBufferHoles.cppcore/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cppcore/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cppcore/libs/prx/libSceAgcDriver/tests/BdaDevice.cppcore/libs/prx/libSceAgcDriver/tests/execution/OversizedDescriptorSets.cppcore/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cpp