mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05: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 {
|
||||
return m_desc.Query == D3D11_QUERY_OCCLUSION
|
||||
|| m_desc.Query == D3D11_QUERY_OCCLUSION_PREDICATE
|
||||
|| m_desc.Query == D3D11_QUERY_PIPELINE_STATISTICS;
|
||||
return m_desc.Query != D3D11_QUERY_EVENT
|
||||
&& m_desc.Query != D3D11_QUERY_TIMESTAMP;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user