mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 10:43:33 +00:00
renderer_vulkan: Add conditional rendering control setting
Adds user option to disable Vulkan conditional rendering, which can fix flickering objects in some games caused by rapidly toggled draw calls. Changes: - Add use_conditional_rendering setting (default: enabled) - Guard conditional rendering functions with setting check using [[unlikely]] - Early exit in Pause/Resume and Compare functions when disabled Disabling this in Graphics (Advanced) fixes flickering at cost of performance. Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -230,6 +230,10 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) {
|
||||
"unlocked."));
|
||||
INSERT(Settings, barrier_feedback_loops, tr("Barrier feedback loops"),
|
||||
tr("Improves rendering of transparency effects in specific games."));
|
||||
INSERT(Settings, use_conditional_rendering, tr("Use conditional rendering"),
|
||||
tr("Enables conditional rendering based on query results.\n"
|
||||
"Disabling this can fix flickering objects in some games but may impact performance.\n"
|
||||
"Try disabling if you see objects appearing and disappearing rapidly."));
|
||||
|
||||
// Renderer (Debug)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user