mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-26 02:23:05 +00:00
Disable delayed counter copy on NVIDIA
This commit is contained in:
parent
71901a54b8
commit
1a85c9a00b
1 changed files with 11 additions and 2 deletions
|
@ -81,11 +81,20 @@ namespace Ryujinx.Graphics.OpenGL.Queries
|
|||
}
|
||||
|
||||
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);
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue