Make the wait on the GPU's signal the default again after a frame's first submission.

The fence's wait cost about 4.5 % of the frames a second, and the player who reported the flicker still sees it and black frames with it. wb_split = 0 keeps the fence's wait for whoever wants to compare.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-11 05:18:37 -05:00
parent b55d2eb3e1
commit f38428fa4d
3 changed files with 5 additions and 4 deletions

View File

@@ -841,7 +841,7 @@
# about 0.7 ms less of every frame in the open (6 % at 85 frames a second), but the game then reads visibility
# results that may be a frame old, and things near the camera can come and go from frame to frame. With shadow
# storage (Linux, Wine) 1 changes nothing; 2 forces it there as well, for tests.
# wb_split = 0
# wb_split = 1
# 1: what the game's shaders write into its memory is copied back from the video card once, and after that only when
# the game's CPU code touches it (most of it never is: 66 MiB a frame in Hyrule Field), for about a third more frames
# a second in open areas. 0: copied back at the end of every GPU submission, as in 0.7.0.