fix(agc): resolve and render a multisampled target through its sRGB twin format #8847
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8847"
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 JJenkx on 2026-10-21T02:59:00Z.
What
A multisampled color target matched a later use only when the use had the same
VkFormat. When a surface was rendered as sRGB and then CB-resolved as UNORM, or the other way round, the resolve got a new, cleared multisampled image. It resolved that image instead of the rendered samples, so the destination was all zeros. Both formats are the same bytes on the console. The CB format only says how they are encoded.Curved Space (PPSA02817) renders its 3D scene into an 8x
B8G8R8A8_SRGBtarget. The CB resolve then decodes the same surface asB8G8R8A8_UNORM. A RenderDoc replay of a gameplay frame onmainshows the scene drawn correctly into the 8x sRGB image (event 6961, max 1.0). The resolve pass reads a different 8xB8G8R8A8_UNORMimage that nothing drew to. Its 1x destination stays 0, and so do the bloom chain and the composite that read it. Only the HUD is drawn over black.The change:
SrgbTwinFormat, both directions) is created withMUTABLE_FORMATand a two-entryVkImageFormatListCreateInfo. This happens only when the device can render the twin at the target's sample count.acquirealso matches a live target in the twin format. The use is rewritten to the creation format beforeRecreate,ApplyFastClearand the guard, so fill and CMASK clear values are still computed in the format the image was created in.MultisampleTargetViewreturns a view in the requested format.ResolveMultisampleTargetresolves through a view and render pass in the source's format, so a UNORM resolve averages the stored bytes as UNORM, as the CB format says.Not changed: sampling a multisampled target (
MultisampleTargetTexture) or binding it as a storage image in its twin format still throws as before.Tested
Linux 7.2.9 (Arch), Ryzen 9 7950X, Radeon RX 6650 XT, RADV Mesa 26.2.4.
Curved Space (PPSA02817) 01.000, converted with
--module-dir Media/Modules --module-dir Media/Plugins. Same scripted 100 s run with input, screenshot at 95 s in the first level:main20de55550f: HUD over black, 2.1 % of pixels non-black (0.6 % in 3 earlier runs onda5ea87cd6).20de55550f: the arena, ship, enemies and bloom render, 54.7 % non-black (60.4 % onda5ea87cd6).Focused tests on
main20de55550f(with only the driver source reverted) and on this PR:ctest -R 'multisample|multisampled|^agc_recorder' -VwithVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1andANYPS5_REQUIRE_VULKAN=1. The Khronos layer 1.4.363 was loaded withVK_ADD_LAYER_PATH, andVK_LOADER_DEBUG=layershows it inserted in all 20 tests in both logs. Neither log reportswas not found but was requested by env var VK_INSTANCE_LAYERS.main: 18/20. The two new tests fail on their asserts:agc_driver_multisample_srgb_twin("a use of a multisampled surface in its sRGB twin format does not reach the samples rendered in the other format") andagc_driver_multisample_retirement("an sRGB use of an MSAA surface rendered as UNORM does not reach its samples").VUID-errors: 0 in both logs.New tests:
MultisampleSrgbTwin: a UNORM/sRGB pair in both directions gets the same image and a separate view, and goes back to the first view. An unrelated format of the same size gets its own image. A guest fill taken as a clear through the twin stores exactly the guest's bytes, read back withvkCmdResolveImage:0x80808080on a UNORM-created target used as sRGB, and0xff0000ffon an sRGB-created target used as UNORM. With the creation-format rewrite removed, the first case fails ("a fill over the color memory of a multisampled target has no exact clear value in its format").MultisampleRetirement::StorageTwin: after storage promotion, the sRGB use views the promoted image. It runs only whencontext.storageImageMultisampleis set, becauseMultisampleTargetStorageViewrefuses on devices withoutshaderStorageImageMultisample(40ed8597fa, after @GiannisG1's report from an HD 630). The fixture now aborts when an image is destroyed while one of its views still exists. With the twin view retired after its image, it fails with "an MSAA image would be destroyed before one of its views". The existing cases pass with this check onmain.tools/check_conventions.py --base origin/mainpasses. The PR overlap tool finds only adjacent lines inMultisampleTarget.cpp, shared with #6973, #6987, #6989, #6995 and #7002, and in themain()ofMultisampleRetirement.cpp, shared with #8604. None of them changes format matching.Independent check by @simonbbby (comment), at exact head
84854e9116, on Ubuntu 24.04.3 with GCC 13.3:MultisampleTarget.cpprestored, both new tests fail on their asserts. With the PR rebuilt, they pass again.Windows check by @ycbuzi (comment), at head
40ed8597famerged ontomainb77bd58806(48c389eb56). Setup: Windows 11 Home 10.0.26200, MinGW-w64 GCC 15.2.0 (ucrt-posix-seh r7), Release,BUILD_TESTING=ON, NVIDIA driver 616.92.libSceAgcDriverand the two test targets this PR changes build with no errors. The twomemcmpbound warnings come fromGraphics/src/PipelineLibrary.cpp, which this PR does not change, andmainprints them the same way.ctest --repeat until-fail:3onagc_driver_multisample_retirementandagc_driver_multisample_srgb_twinpasses all three repeats on an RTX 4070 SUPER and on a GTX 1650 SUPER (ANYPS5_GPU=GTX 1650).shaderStorageImageMultisample, soStorageTwinran on each and the skip branch did not.84854e9116, the two tests also passed twice on the RTX 4070 SUPER.Not tested: a device without
shaderStorageImageMultisample(theStorageTwinskip branch), a validation layer on Windows, and a CB resolve driven through PM4 in a unit test (covered only by the title run).Rebased on
main2abfb1beb4(head56595793ca).mainnow creates a multisampled image withMUTABLE_FORMAT | EXTENDED_USAGEand adds storage usage when samples may be reordered (the sample-order view). With those flags, the twin format list is not added, and the twin view relies onMUTABLE_FORMAT.orderFlags | MUTABLE_FORMAT) and only the twin view's usage (color attachment and transfer). Otherwise, the added storage usage would have turned the twin off for sRGB targets.release()destroys the order view, the twin view and the resolve passes before the image.Same focused set, now 24 tests including
main's sample-order tests, on the same machine with the Khronos layer:mainwith onlyMultisampleTarget.cpprestored: 22/24. The two new tests fail on their asserts.VUID-lines in the same tests: 12VkImageMemoryBarrier-image-03320inagc_driver_sample_order, and 32VkWriteDescriptorSet-descriptorType-00337inagc_driver_sample_order,..._grid_referenceand..._recipe_depth_locations. They come frommain's sample-order tests; the PR adds none.Curved Space at 95 s on the rebased build: the arena, ring, ship and HUD render.
VK_KHR_image_format_list (386d7d0c4a, after @GiannisG1's report):
VK_API_VERSION_1_1, whereVkImageFormatListCreateInfobelongs toVK_KHR_image_format_list. Validation layers 1.3.275 reportedVUID-VkImageCreateInfo-pNext-pNexton an HD 630, a GTX 1050 Ti and llvmpipe.VK_KHR_image_format_listwhen the device lists it (Context::imageFormatList). The twin's format list is chained only then; otherwise the image relies onMUTABLE_FORMATalone.VUID-lines asmain, all in its sample-order tests. That layer never reported the pNext VUID here, so I could not reproduce it; the older-layer result needs a rerun on those devices.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)12223bf208merged ontomaina6dcea9279, the full 23-test focused set: NVIDIA RTX 4070 SUPER and GTX 1650 SUPER (616.92) and AMD Radeon Graphics, the Ryzen 9 7900 iGPU (25.10.30.02), Windows 11 Home 10.0.26200 (MinGW-w64 GCC 15.2.0)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T03:11:49Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppL103, L489-490core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppL103, L489-490core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppL103, L489-490core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppL103, L489-490, L638core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppL103, L489-490, L638core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppL338-339, L489-490core/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cppL534-535core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppL103, L491-492core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppL612-613core/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cppL516, L534-535Some 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/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Context.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Context.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Context.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Context.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Context.hppcore/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Context.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Context.hppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/Context.hppcore/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cppcore/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppcore/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cppImported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-21T03:19:52Z.
Thanks for checking the adjacent stack. Source-only coordination at your
84854e9116and #6973419ad899c6: these implement different capabilities, but a direct merge has two conflicts inMultisampleTarget.cpp:release(): retain destruction of #6973'sinitialViewalongside your per-format resolve passes andtwinView, all before their images.The same constructor/release overlap propagates into #6987/#6989/#6995/#7002 because they retain that parent. All our PRs still merge cleanly with current main; this is a between-PR conflict, not evidence of a duplicated fix. I can adapt our stack if yours lands first. No combined build, GPU qualification, or claim that this fixes Sonic from this source review. AI-assisted: yes (Codex); author responsible.
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-21T03:36:28Z.
Thanks, I checked #6973 at
419ad899c6against84854e9116. The two changes compose. The conflicts are textual:allocate()here adds the two-entryVkImageFormatListCreateInfoonly when the caller passes noMUTABLE_FORMATflag. Your initial allocation passesMUTABLE_FORMAT | EXTENDED_USAGEfor the unsigned storage view, so the twin view is then allowed byMUTABLE_FORMATalone, and no format list restricts your view. A merge keeps your flags and capability checks and adds the twin check after them.release(): destroyinitialView,twinViewand the per-format resolve passes, then the images. That matches the order here, where the twin view is also retired before its image on storage promotion.Neither PR depends on the other, so no
Depends on. Whichever lands first, the other rebases. If #6973 lands first, I will rebase this one and rerun the focused tests and the Curved Space check. Thanks for offering to adapt your stack otherwise.Imported from boykopovar/AnyPS5. Originally posted by simonbbby on 2026-10-21T06:26:08Z.
Independent Linux check at exact head
84854e9116c23e2179f4d67917a5c1a5dffeee98, adding NVIDIA and RADV Mesa 25.2.8 coverage:1002:13c0) / RADV Mesa 25.2.8The focused command was
ctest -V -R 'multisample|multisampled|^agc_recorder', serially per ICD, withANYPS5_REQUIRE_VULKAN=1andANYPS5_NO_SHADER_CACHE=1. The negative control keeps the PR's tests and restores onlyGraphics/src/MultisampleTarget.cppfrom parent main20de55550fa0be54794329a23640f73ad134fb6e.multisample_srgb_twinfails because the twin does not reach the original samples;multisample_retirementfails its sRGB-use-of-UNORM assertion. These are assertion failures, not skips or missing devices.I also tested the twin fixture at 8 samples, matching Curved Space's sample count: the same image/view identity, return-to-original-view, unrelated-format separation and exact clear-byte checks pass 3/3 on each physical GPU. The temporary variant changes
target.samplesand the capability guard to 8, reserves 256 KiB per guest block, and keepstarget.bytes = Side * Side * 4(the single-sample byte count). This does not add a PM4-driven resolve check; the clear readback still uses the fixture'svkCmdResolveImagepath.Ubuntu 24.04.3, GCC 13.3, Release. No title execution, combined #6973 stack, or Khronos validation-layer A/B was run here; the validation layer is unavailable on this host. All temporary source changes were removed, the exact PR was rebuilt and its two regressions rerun successfully on all three ICDs; checkout is clean.
Imported from boykopovar/AnyPS5. Originally posted by GiannisG1 on 2026-10-21T07:14:06Z.
Heads-up from #8604, which gates
StorageRemapin the samemain()oncontext.storageImageMultisample: a device withoutshaderStorageImageMultisamplerefuses the storage view (MultisampleTarget.cpp:258).StorageTwinalso callsMultisampleTargetStorageView, so once both PRs are in it needs the same guard.Measured on
maine28d386d4+ #884784854e911+ #8604cdf6c2857,agc_driver_multisample_retirement:main()conflictshaderStorageImageMultisample)run.StorageTwin()afterif (storage) run.StorageRemap();if (storage) { run.StorageRemap(); run.StorageTwin(); }Whichever lands second takes the second form. If #8847 goes first, I'll rebase #8604 that way.
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-21T07:38:23Z.
Thanks, that's right, and it applies to this PR alone, not only after #8604:
StorageTwinreachesMultisampleTargetStorageView, which refuses on a device withoutshaderStorageImageMultisample(MultisampleTarget.cpp:258on your merge).40ed8597fa now runs it only when
context.storageImageMultisampleis set:if (context.storageImageMultisample) run.StorageTwin();. With #8604, your second form (if (storage) { run.StorageRemap(); run.StorageTwin(); }) is the right resolution, whichever lands second.Checked on an RX 6650 XT (RADV Mesa 26.2.4), which has the feature:
agc_driver_multisample_retirementandagc_driver_multisample_srgb_twinpass with the Khronos validation layer loaded and noVUID-errors. I have no device without the feature, so the skip branch here is covered only by your HD 630 run.Imported from boykopovar/AnyPS5. Originally posted by ycbuzi on 2026-10-21T08:04:38Z.
Windows run of 40ed8597fa merged onto
mainb77bd58806(48c389eb56, clean), one of the hosts the description lists as not tested. Windows 11 Home 10.0.26200, MinGW-w64 GCC 15.2.0 (ucrt-posix-seh r7), Release,BUILD_TESTING=ON, NVIDIA driver 616.92.Built
libSceAgcDriver,agc_driver_multisample_retirement_testsandagc_driver_multisample_srgb_twin_testswith no errors; the build prints twomemcmpbound warnings, whichmainprints the same way fromGraphics/src/PipelineLibrary.cpp, a file this PR does not change.ctest --repeat until-fail:3onagc_driver_multisample_retirementandagc_driver_multisample_srgb_twin, on two devices:shaderStorageImageMultisampleANYPS5_GPUunset; the first discrete device listed)ANYPS5_GPU=GTX 1650)Both devices report the feature (
vulkaninfo), so the guardedStorageTwincase ran on each; neither covers the skip branch. On the previous head 84854e9116 the two tests also passed twice on the RTX 4070 SUPER. Not run: a device without the feature, a validation layer, a title.Imported from boykopovar/AnyPS5. Originally posted by GiannisG1 on 2026-10-21T11:14:25Z.
Ran
40ed8597faon the HD 630 (Mesa 25.2.8 ANV, noshaderStorageImageMultisample), a GTX 1050 Ti (580.173.02) and llvmpipe (Mesa 25.2.8); Linux Mint 22.3, GCC 13.3, Release. 3 runs each, plus one withVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1,ANYPS5_REQUIRE_VULKAN=1.main138182635+ this PR:agc_driver_multisample_srgb_twinmain+ this PR:agc_driver_multisample_retirementStorageRemap, as onmain(#8604)main+ this PR + #8604, resolved asif (storage) { run.StorageRemap(); run.StorageTwin(); }:agc_driver_multisample_retirementOn a device without the feature the guarded
StorageTwinis reached only once #8604 is in; with this PR alone,StorageRemapfails first.One validation difference from
main(layers 1.3.275): with this PR both tests reportVUID-VkImageCreateInfo-pNext-pNexton all three devices (36–41 times per run of the retirement test, 5 insrgb_twin);main138182635reports none:The instance is created with
VK_API_VERSION_1_1(VulkanDevice.cpp:1023), whereVkImageFormatListCreateInfoneedsVK_KHR_image_format_listenabled (it is core from 1.2), andmaindoes not enable it anywhere. TheformatListchain this PR adds inMultisampleTarget.cppis the only use in the driver.Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-21T11:55:04Z.
Thanks, you're right. The format list needs
VK_KHR_image_format_liston our 1.1 instance, and nothing enabled it. My layer (1.4.363 on RADV) never reported the VUID, so my earlier "no newVUID-" didn't cover this.386d7d0c4a: the device enables
VK_KHR_image_format_listwhen it is available (Context::imageFormatList), andMultisampleTargetchains the twin's format list only then. Without the extension, the image keepsMUTABLE_FORMATand the twin view works without a list.Rerun here (RX 6650 XT, RADV Mesa 26.2.4, which lists the extension; layer 1.4.363; the same 24-test focused set): 24/24, and the same
VUID-lines asmain, all in its sample-order tests. I can't reproduce the 1.3.275 report on this device, so a rerun ofagc_driver_multisample_retirementandagc_driver_multisample_srgb_twinon your three devices would settle it.On the storage path: agreed. With this PR alone,
StorageRemapfails first on the HD 630, and the guardedStorageTwinis only reached with #8604. Yourif (storage) { run.StorageRemap(); run.StorageTwin(); }is the resolution for whichever PR lands second.Imported from boykopovar/AnyPS5. Originally posted by GiannisG1 on 2026-10-21T13:13:02Z.
Reran
386d7d0c4merged ontomainfce8ecf16: HD 630 (Mesa 25.2.8 ANV), GTX 1050 Ti (580.173.02), llvmpipe (Mesa 25.2.8); validation layers 1.3.275. 3 runs each, plus one withVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1,ANYPS5_REQUIRE_VULKAN=1.agc_driver_multisample_srgb_twinagc_driver_multisample_retirementStorageRemap, as onmainfce8ecf16), resolved asif (storage) { run.StorageRemap(); run.StorageTwin(); } run.OrderRemap();then the skip:agc_driver_multisample_retirementOrderRemapskips its own caseThe
VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFOreport is gone: 0 in every run, and theVUID-lines matchmain's (none on the HD 630,VUID-VkDeviceCreateInfo-pNext-pNexton the other two). All three devices listVK_KHR_image_format_list, so this covers the path that enables it, not the one without it.Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-21T13:31:31Z.
Thank you for rerunning the refreshed head and separating the baseline failures from this change. I am recording these as your independently run results: the sRGB twin test passes 3/3 on HD 630, GTX 1050 Ti and llvmpipe, and the image-format-list report is absent. The HD 630 retirement failure remains a main baseline issue; the #8604 result is a skip, not a retirement pass. The device-create VUID on NVIDIA/llvmpipe also remains in the baseline. All three devices expose VK_KHR_image_format_list, so the unsupported-extension path remains untested by this set.
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-21T19:02:22Z.
Rebased on
main38d3c0858a(head12223bf208), becausemainaddedContext::storageImageWriteWithoutFormaton the line next to this PR'sContext::imageFormatList.git range-diffshows the first two commits unchanged and the third differing only in thoseContext.hppcontext lines. No change toMultisampleTarget.cppor the tests. I'll rerun the focused set with the validation layer on this head when my GPU slot is free and add the result here.Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-21T20:25:33Z.
Rerun on head
12223bf208(main38d3c0858a), clean Release build. Same setup as before:ctest -R 'multisample|multisampled|^agc_recorder' -VwithVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation(Khronos layer 1.4.363 throughVK_ADD_LAYER_PATH),ANYPS5_NO_SHADER_CACHE=1andANYPS5_REQUIRE_VULKAN=1, on a Radeon RX 6650 XT with RADV Mesa 26.2.4:main, against 24 on the earlier base.VK_LOADER_DEBUG=layershows the layer inserted in all 23 tests, and no test reports it missing.VUID-errors: 0.AI-assisted: yes (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by ycbuzi on 2026-10-21T21:41:25Z.
Windows rerun of head
12223bf208, merged ontomaina6dcea9279(60015ed54c, clean; thatmainincludes #9137). Windows 11 Home 10.0.26200, MinGW-w64 GCC 15.2.0 (ucrt-posix-seh r7), Release,BUILD_TESTING=ON, withANYPS5_REQUIRE_VULKAN=1andANYPS5_NO_SHADER_CACHE=1.ctest -R 'multisample|multisampled|^agc_recorder' -V, the pattern of your rerun (23 tests here, from 12 executables including the newagc_driver_multisample_srgb_twin_tests), once on each GPU of this machine, selected withANYPS5_GPU:shaderStorageImageMultisampleVK_KHR_image_format_listEach log names the requested device in all 19 of its
Selected GPUlines. All three report both features (vulkaninfo), so the twin storage case and the chained format list run on each of them. The build prints the twomemcmpbound warnings thatmainprints fromGraphics/src/PipelineLibrary.cpp. The Khronos validation layer is not installed here, so there is noVUID-count. Not run: a title.Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-21T21:54:35Z.
@ycbuzi thanks for this. It's the first run of the full 23-test set on Windows, with all three GPUs reporting both
shaderStorageImageMultisampleandVK_KHR_image_format_list, so the twin storage case and the chained format list ran on each. I've updated the "GPUs tested" line in the description, and noted there that these runs had no validation layer.