mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[d3d11] Fix Begin/End for all queries other than Event and Timestamp
This commit is contained in:
parent
ea6b6e2e53
commit
f9add97a07
@ -146,9 +146,8 @@ namespace dxvk {
|
|||||||
|
|
||||||
|
|
||||||
bool D3D11Query::HasBeginEnabled() const {
|
bool D3D11Query::HasBeginEnabled() const {
|
||||||
return m_desc.Query == D3D11_QUERY_OCCLUSION
|
return m_desc.Query != D3D11_QUERY_EVENT
|
||||||
|| m_desc.Query == D3D11_QUERY_OCCLUSION_PREDICATE
|
&& m_desc.Query != D3D11_QUERY_TIMESTAMP;
|
||||||
|| m_desc.Query == D3D11_QUERY_PIPELINE_STATISTICS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user