Sampled-cache default fixture passes while creating multisampled storage images without enabling the feature #7569
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Amoenus on 2026-10-18T14:45:27Z.
Current proposed fix
#7573 head
fd872264eaddresses this by enabling the supported feature normally and leaving unsupported typed storage-MSAA placeholders unavailable, preserving their shader type and existing refusal behavior. In our frozen main91ddd-based composition, the preceding default case reproduced six validation errors per process on both actual GPUs; the corrected composition passed21 NVIDIA +21 AMD GPU executions and6 CPU executions with zero validation errors/warnings. Source pins, matrix and limits are in the updated review. No title-unblock or standalone-head claim; no duplicate fix/PR was opened. The original reproduction below remains useful until the correction lands.Reproduction
On unchanged main
a62c724c3873b1dee9c6ee5af7a420e924bd9d25, build the full runtime andagc_driver_sampled_cache_budget_tests, enableVK_LAYER_KHRONOS_validation, then run:The behavioral assertions pass, but the actual validation layer reports six errors in this one execution:
This is not a validation-layer discovery failure: the log records the SDK validation DLL being inserted. It is also not introduced by our pending GPU-selector correction: the unchanged-main run reproduces the same six errors on NVIDIA. The default mode on our selector-only branch also passes its assertions while reporting six errors per execution, 3/3 on actual NVIDIA and 3/3 on actual AMD.
Public-source finding
In
Device,shaderStorageImageMultisampleis enabled only whenresourceImagesis true.main()passesresources, which is false for the default mode. The default mode'sreleasedTests()constructsPlaceholderImages;PlaceholderImages.cppselects shapes using physical format/sample support and then creates their images on the logical device. Physical support does not imply that the feature was enabled on that logical device.The memory and three resource-cache modes in our focused matrix do not emit this VUID. The new device-selection-only regression does not emit it either. This report concerns the default fixture; no game failure or production-driver regression is claimed.
Environment and scope
10de:2c02), driver 610.62: unchanged main and selector-only branch.1002:13c0), driver 32.0.21036.18: selector-only branch, with the fixture's own physical-device identity recorded. Main's legacy fixture ignoresANYPS5_GPU, so no unchanged-main AMD attribution is made.A separate fixture correction should enable the supported feature for the default path before creating its multisampled storage placeholders, with explicit handling on devices that cannot support them. That correction is not included in the GPU-selector work. Searches for the exact VUID and the sampled-fixture feature gap found no matching report; #7487 mentions the same VUID in a different tessellation fixture, and #6492 added the released-texture regression exercised here.
AI-assisted investigation: yes (Codex).