From 3b006f4fe28006d320c60fd2b4393fd3f27eacd7 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Tue, 27 Jul 2021 19:15:32 -0300 Subject: renderer_vulkan: Add setting to log pipeline statistics Use VK_KHR_pipeline_executable_properties when enabled and available to log statistics about the pipeline cache in a game. For example, this is on Turing GPUs when generating a pipeline cache from Super Smash Bros. Ultimate: Average pipeline statistics ========================================== Code size: 6433.167 Register count: 32.939 More advanced results could be presented, at the moment it's just an average of all 3D and compute pipelines. --- src/yuzu/configuration/configure_debug.ui | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'src/yuzu/configuration/configure_debug.ui') diff --git a/src/yuzu/configuration/configure_debug.ui b/src/yuzu/configuration/configure_debug.ui index c8baf2921..3fe9ff7de 100644 --- a/src/yuzu/configuration/configure_debug.ui +++ b/src/yuzu/configuration/configure_debug.ui @@ -111,8 +111,8 @@ Graphics - - + + true @@ -125,7 +125,7 @@ - + When checked, it enables Nsight Aftermath crash dumps @@ -135,7 +135,7 @@ - + true @@ -148,7 +148,17 @@ - + + + + When checked, yuzu will log statistics about the compiled pipeline cache + + + Enable Shader Feedback + + + + When checked, it executes shaders without loop logic changes @@ -276,11 +286,14 @@ open_log_button homebrew_args_edit enable_graphics_debugging + enable_shader_feedback enable_nsight_aftermath disable_macro_jit disable_loop_safety_checks + fs_access_log reporting_services quest_flag + enable_cpu_debugging use_debug_asserts use_auto_stub -- cgit v1.2.3