AGC: shadow stripes after read-only D32S8 draws on NVIDIA #18936
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 lgqdaxia on 2026-11-12T14:15:09Z.
What happens
A read-only color draw with a D32S8 attachment changes the results of later depth tests on NVIDIA 621.14. In PPSA05813, missing stencil depth-fail updates leave straight stripes across the character's face and neck.
Title, test or build step
PPSA05813, content version 01.000.007, opening car scene. The attached standalone Vulkan case reproduces the depth-test error using generated data.
AnyPS5 commit
Patch base:
389e0e17fc364c926a75ddc4ac69d8ebc7734fa4.Recorded title-frame comparison:
eb499dddc55ac99c1a18301e2263fd726169f447with the compatibility change.System
Windows 11 Pro (26300), NVIDIA GeForce RTX 3080 Laptop GPU, NVIDIA 621.14; MinGW GCC 15.2.0.
Steps to reproduce
requirements.txt.The program generates a 64×64 checkerboard of depths 0.25/0.75 and copies it into images A and B. A receives one color draw with depth/stencil tests and writes disabled. Both then receive the same precise occlusion query at depth 0.5 with
GREATER_OR_EQUAL.Exactly half the pixels satisfy the comparison: 2048 for both images.
Log
Captured results. Stored D32/S8 and history color are byte-identical across the variants. Khronos validation errors: 0.
What was checked
The game-frame comparison restores 180,634 missing stencil pixels and clears the visible stripes. Both arms report VUID
0and SYNC-HAZARD0.The proposed workaround is enabled with
APS5_READONLY_DEPTH_BOUNDS_COMPARE=1; its default is off. It applies to eligible single-sample draws with native depth bounds inside [0,1].