vkd3d: Enable query workaround for AC:Valhalla.

Fixes #458.

Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
This commit is contained in:
Philip Rebohle 2020-12-12 11:09:04 +01:00 committed by Hans-Kristian Arntzen
parent b8c96d9b30
commit a3d21494f7
1 changed files with 3 additions and 0 deletions

View File

@ -439,6 +439,9 @@ static const struct vkd3d_instance_application_meta application_override[] = {
/* Application has many bugs with descriptor handling.
* Not using this triggers weird flickering artifacts which are very distracting. */
{ "Cyberpunk2077.exe", VKD3D_CONFIG_FLAG_FORCE_BINDLESS_TEXEL_BUFFER, 0 },
/* 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)