mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-17 18:55:46 +00:00
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user