1
0
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:
Philip Rebohle 2018-09-11 12:14:59 +02:00
parent ea6b6e2e53
commit f9add97a07
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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;
}