2018-11-17 05:01:31 +01:00
|
|
|
namespace Ryujinx.Graphics
|
|
|
|
{
|
|
|
|
struct GpuMethodCall
|
|
|
|
{
|
|
|
|
public int Method { get; private set; }
|
|
|
|
public int Argument { get; private set; }
|
|
|
|
public int SubChannel { get; private set; }
|
|
|
|
public int MethodCount { get; private set; }
|
|
|
|
|
|
|
|
public bool IsLastCall => MethodCount <= 1;
|
|
|
|
|
|
|
|
public GpuMethodCall(
|
2019-03-04 02:45:25 +01:00
|
|
|
int method,
|
|
|
|
int argument,
|
|
|
|
int subChannel = 0,
|
|
|
|
int methodCount = 0)
|
2018-11-17 05:01:31 +01:00
|
|
|
{
|
2019-03-04 02:45:25 +01:00
|
|
|
Method = method;
|
|
|
|
Argument = argument;
|
|
|
|
SubChannel = subChannel;
|
|
|
|
MethodCount = methodCount;
|
2018-11-17 05:01:31 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|