mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-05 08:50:47 -07:00
Disable delayed counter copy on NVIDIA
This commit is contained in:
@ -81,11 +81,20 @@ namespace Ryujinx.Graphics.OpenGL.Queries
|
|||||||
}
|
}
|
||||||
|
|
||||||
public bool QueueCopy(BufferedQuery query)
|
public bool QueueCopy(BufferedQuery query)
|
||||||
|
{
|
||||||
|
if (HwCapabilities.Vendor == HwCapabilities.GpuVendor.Nvidia)
|
||||||
|
{
|
||||||
|
// NVIDIA seems to make up a rule where query results can't be copied to buffers
|
||||||
|
// when unrelated query objects are in use.
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
_queuedCopies.Add(query);
|
_queuedCopies.Add(query);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user