vkd3d: Remove disable_query_optimization workaround.

Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
This commit is contained in:
Philip Rebohle 2021-01-15 16:04:43 +01:00 committed by Philip Rebohle
parent 7ea11ededb
commit 098ad5c071
2 changed files with 1 additions and 5 deletions

View File

@ -406,7 +406,6 @@ static const struct vkd3d_debug_option vkd3d_config_options[] =
/* Enable Vulkan debug extensions. */
{"vk_debug", VKD3D_CONFIG_FLAG_VULKAN_DEBUG},
{"skip_application_workarounds", VKD3D_CONFIG_FLAG_SKIP_APPLICATION_WORKAROUNDS},
{"disable_query_optimization", VKD3D_CONFIG_FLAG_DISABLE_QUERY_OPTIMIZATION},
};
static uint64_t vkd3d_init_config_flags(void)
@ -430,9 +429,7 @@ struct vkd3d_instance_application_meta
uint64_t global_flags_remove;
};
static const struct vkd3d_instance_application_meta application_override[] = {
/* Game changes render targets while occlusion queries are active */
{ "ACValhalla.exe", VKD3D_CONFIG_FLAG_DISABLE_QUERY_OPTIMIZATION, 0 },
{ "ACValhalla_Plus.exe", VKD3D_CONFIG_FLAG_DISABLE_QUERY_OPTIMIZATION, 0 },
};
static void vkd3d_instance_apply_application_workarounds(const char *app, uint64_t *flags)

View File

@ -159,7 +159,6 @@ enum vkd3d_config_flags
{
VKD3D_CONFIG_FLAG_VULKAN_DEBUG = 0x00000001,
VKD3D_CONFIG_FLAG_SKIP_APPLICATION_WORKAROUNDS = 0x00000002,
VKD3D_CONFIG_FLAG_DISABLE_QUERY_OPTIMIZATION = 0x00000004,
};
struct vkd3d_instance