Triforce v0.8.5.1

Hotfix: the 0.8.5 readback wait (RX_VK_RB_REC_END) is off by default again; it cost up to 20 fps.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-28 12:47:19 -06:00
parent b527e29adb
commit 0f7d57ac14
5 changed files with 9 additions and 7 deletions

View File

@@ -233,8 +233,10 @@ struct Parts {
}
};
/// RX_VK_RB_REC_END's text: on unset or empty; set, its number (atoi, as the renderer's other switches: 0 or a word is off)
inline bool rec_end_on(const char* text) { return !(text && *text && std::atoi(text) == 0); }
/// RX_VK_RB_REC_END's text: ((Triforce, 0.8.5.1)) OFF unless set to a number other than 0. On, the game's worker threads' reads of
/// its double-buffered GPU results waited ~5 ms for the whole frame's recording (the owner's save: 70 fps for 85-91). The fix for
/// the brightness flashes comes back without that cost (only the GPU work the game waited for)
inline bool rec_end_on(const char* text) { return text && *text && std::atoi(text) != 0; }
/// What a readback's wait by recordings did
struct ReadbackWait {