rjx-mirror/Ryujinx.Graphics.Gpu
riperiperi c52158b733
Add timestamp to 16-byte/4-word semaphore releases. (#3049)
* Add timestamp to 16-byte semaphore releases.

BOTW was reading a ulong 8 bytes after a semaphore return. Turns out this is the timestamp it was trying to do performance calculation with, so I've made it write when necessary.

This mode was also added to the DMA semaphore I added recently, as it is required by a few games. (i think quake?)

The timestamp code has been moved to GPU context. Check other games with an unusually low framerate cap or dynamic resolution to see if they have improved.

* Cast dma semaphore payload to ulong to fill the space

* Write timestamp first

Might be just worrying too much, but we don't want the applcation reading timestamp if it sees the payload before timestamp is written.
2022-01-27 22:50:32 +01:00
..
Engine Add timestamp to 16-byte/4-word semaphore releases. (#3049) 2022-01-27 22:50:32 +01:00
Image Fix res scale parameters not being updated in vertex shader (#3046) 2022-01-27 14:17:13 -03:00
Memory Texture Sync, incompatible overlap handling, data flush improvements. (#2971) 2022-01-09 13:28:48 -03:00
Shader Stop using glTransformFeedbackVaryings and use explicit layout on the shader (#3012) 2022-01-21 12:35:21 -03:00
Synchronization When waiting on CPU, do not return a time out error from EventWait (#2780) 2021-11-01 19:10:02 -03:00
ClassId.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
Constants.cs Improve linear texture compatibility rules (#2099) 2021-03-19 02:17:38 +01:00
GpuChannel.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
GpuContext.cs Add timestamp to 16-byte/4-word semaphore releases. (#3049) 2022-01-27 22:50:32 +01:00
GraphicsConfig.cs Add support for HLE macros and accelerate MultiDrawElementsIndirectCount #2 (#2557) 2021-08-26 23:50:28 +02:00
Ryujinx.Graphics.Gpu.csproj infra: Migrate to .NET 6 (#2829) 2021-11-28 21:24:17 +01:00
Window.cs Force crop when presentation cached texture size mismatches (#2957) 2021-12-31 12:00:42 -03:00