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:
parent
e5c0030f06
commit
97409c3380
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user