mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-25 23:37:11 +02:00
parent
634cfae98e
commit
50211d5f2d
622 changed files with 3080 additions and 2652 deletions
|
@ -105,6 +105,7 @@ namespace Ryujinx.Graphics.Vulkan.Queries
|
|||
bool isOcclusion = _type == CounterType.SamplesPassed;
|
||||
_pipeline.BeginQuery(this, _queryPool, needsReset, isOcclusion, isOcclusion && resetSequence != null);
|
||||
}
|
||||
|
||||
_resetSequence = null;
|
||||
}
|
||||
|
||||
|
@ -211,6 +212,7 @@ namespace Ryujinx.Graphics.Vulkan.Queries
|
|||
{
|
||||
_api.DestroyQueryPool(_device, _queryPool, null);
|
||||
}
|
||||
|
||||
_queryPool = default;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -198,6 +198,7 @@ namespace Ryujinx.Graphics.Vulkan.Queries
|
|||
{
|
||||
return; // If not blocking, then return when we encounter an event that is not ready yet.
|
||||
}
|
||||
|
||||
_events.Dequeue();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue