fix(agc): keep presenting after a SUBOPTIMAL present #9881
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9881"
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 mazen320 on 2026-10-22T20:29:26Z.
What
Keep presenting when
vkQueuePresentKHRreturnsVK_SUBOPTIMAL_KHRinstead of zeroing the swapchain extent. Window drag often reports suboptimal without a size change; clearing the extent madePresentable()false untilResizeand dropped frames (flicker).OUT_OF_DATEstill clears the extent, matchingAcquireImage.Tested
python tools/check_conventions.py --base upstream/mainmain; tip5517fc49a5. Manual window-drag/resize evidence withdrawn by review (source review + short gate suffice).5517fc49a5merged ontomain710cf9c0352(RTX 3080): 798 pass / 3 fail / 689 skip; the 3 fails also fail on thatmaintip alone (pr_overlap_encoding,agc_host_import_cut_lifetime#10746,windows_trace_importsDefender FP). No failures from this PR.Checklist