1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[dxvk] Added workaround for RADV query problem

In some cases, this should allow games which use occlusion queries
to run rather than enter an infinite loop in GetData().
This commit is contained in:
Philip Rebohle 2018-02-28 06:12:31 +01:00
parent e5c0030f06
commit 97409c3380
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -70,6 +70,9 @@ namespace dxvk {
void DxvkContext::beginQuery(const DxvkQueryRevision& query) {
DxvkQueryHandle handle = this->allocQuery(query);
if (query.query->type() == VK_QUERY_TYPE_OCCLUSION)
this->renderPassBegin();
m_cmd->cmdBeginQuery(
handle.queryPool,
handle.queryId,