mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 04:24:11 +01:00
[d3d9] Extend query stall tracking to other query types
This commit is contained in:
parent
6554ca8f9e
commit
0f933fee8b
@ -6008,11 +6008,13 @@ namespace dxvk {
|
||||
void D3D9DeviceEx::End(D3D9Query* pQuery) {
|
||||
D3D9DeviceLock lock = LockDevice();
|
||||
|
||||
pQuery->NotifyEnd();
|
||||
if (unlikely(pQuery->IsEvent())) {
|
||||
pQuery->NotifyEnd();
|
||||
pQuery->IsStalling()
|
||||
? Flush()
|
||||
: FlushImplicit(TRUE);
|
||||
} else if (pQuery->IsStalling()) {
|
||||
FlushImplicit(FALSE);
|
||||
}
|
||||
|
||||
EmitCs([cQuery = Com<D3D9Query, false>(pQuery)](DxvkContext* ctx) {
|
||||
|
Loading…
Reference in New Issue
Block a user