mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-23 13:25:41 +00:00
Change timestamp value on GPU query with timestamp and counter writeback (#547)
This issue was reported by `Mark290580`, and, according to them causes rendering issues on SMO.
This commit is contained in:
parent
c734137f41
commit
7e9f555574
|
@ -1023,8 +1023,6 @@ namespace Ryujinx.Graphics.Graphics3d
|
||||||
|
|
||||||
long Timestamp = PerformanceCounter.ElapsedMilliseconds;
|
long Timestamp = PerformanceCounter.ElapsedMilliseconds;
|
||||||
|
|
||||||
Timestamp = (long)(Timestamp * 615384.615385);
|
|
||||||
|
|
||||||
Vmm.WriteInt64(Position + 0, Counter);
|
Vmm.WriteInt64(Position + 0, Counter);
|
||||||
Vmm.WriteInt64(Position + 8, Timestamp);
|
Vmm.WriteInt64(Position + 8, Timestamp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue