Skip to content

Commit

Permalink
Add DOOM app profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Plagman authored and pendingchaos committed Jul 12, 2019
1 parent 6f5cef4 commit 6240f93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/amd/vulkan/radv_device.c
Expand Up @@ -530,6 +530,11 @@ radv_handle_per_app_options(struct radv_instance *instance,
*/
instance->perftest_flags |= RADV_PERFTEST_SISCHED;
}
} else if (!strcmp(name, "DOOM")) {
/* Much faster in DOOM with ACO but currently regresses other games */
if (instance->perftest_flags & RADV_PERFTEST_ACO) {
instance->perftest_flags |= RADV_PERFTEST_SHADER_BALLOT;
}
} else if (!strcmp(name, "DOOM_VFR")) {
/* Work around a Doom VFR game bug */
instance->debug_flags |= RADV_DEBUG_NO_DYNAMIC_BOUNDS;
Expand Down

0 comments on commit 6240f93

Please sign in to comment.