mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-23 18:45:11 +00:00
20 lines
558 B
C#
20 lines
558 B
C#
|
using Ryujinx.Graphics.Gpu.State;
|
|||
|
|
|||
|
namespace Ryujinx.Graphics.Gpu.Engine
|
|||
|
{
|
|||
|
partial class Methods
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Performs an incrementation on a syncpoint.
|
|||
|
/// </summary>
|
|||
|
/// <param name="state">Current GPU state</param>
|
|||
|
/// <param name="argument">Method call argument</param>
|
|||
|
public void IncrementSyncpoint(GpuState state, int argument)
|
|||
|
{
|
|||
|
uint syncpointId = (uint)(argument) & 0xFFFF;
|
|||
|
|
|||
|
_context.Synchronization.IncrementSyncpoint(syncpointId);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|