diff options
| author | 2021-07-27 19:15:32 -0300 | |
|---|---|---|
| committer | 2021-07-27 21:29:24 -0300 | |
| commit | 3b006f4fe28006d320c60fd2b4393fd3f27eacd7 (patch) | |
| tree | e8704a3796e766a764e2643a2621451a8fe4ea49 /src/yuzu_cmd/default_ini.h | |
| parent | Merge pull request #6748 from lioncash/engine-init (diff) | |
| download | yuzu-3b006f4fe28006d320c60fd2b4393fd3f27eacd7.tar.gz yuzu-3b006f4fe28006d320c60fd2b4393fd3f27eacd7.tar.xz yuzu-3b006f4fe28006d320c60fd2b4393fd3f27eacd7.zip | |
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.
Diffstat (limited to 'src/yuzu_cmd/default_ini.h')
| -rw-r--r-- | src/yuzu_cmd/default_ini.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index e646e2d2f..0c0c128ae 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h | |||
| @@ -221,6 +221,10 @@ backend = | |||
| 221 | # 0 (default): Disabled, 1: Enabled | 221 | # 0 (default): Disabled, 1: Enabled |
| 222 | debug = | 222 | debug = |
| 223 | 223 | ||
| 224 | # Enable shader feedback. | ||
| 225 | # 0 (default): Disabled, 1: Enabled | ||
| 226 | renderer_shader_feedback = | ||
| 227 | |||
| 224 | # Enable Nsight Aftermath crash dumps | 228 | # Enable Nsight Aftermath crash dumps |
| 225 | # 0 (default): Disabled, 1: Enabled | 229 | # 0 (default): Disabled, 1: Enabled |
| 226 | nsight_aftermath = | 230 | nsight_aftermath = |