2018-02-04 15:08:20 -08:00
|
|
|
using System;
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
2018-02-20 12:09:23 -08:00
|
|
|
namespace Ryujinx.Graphics.Gpu
|
2018-02-04 15:08:20 -08:00
|
|
|
{
|
2018-02-20 12:09:23 -08:00
|
|
|
public struct NsGpuPBEntry
|
2018-02-04 15:08:20 -08:00
|
|
|
{
|
2018-04-08 12:17:35 -07:00
|
|
|
public int Method { get; private set; }
|
2018-02-04 15:08:20 -08:00
|
|
|
|
|
|
|
public int SubChannel { get; private set; }
|
|
|
|
|
|
|
|
private int[] m_Arguments;
|
|
|
|
|
|
|
|
public ReadOnlyCollection<int> Arguments => Array.AsReadOnly(m_Arguments);
|
|
|
|
|
2018-04-08 12:17:35 -07:00
|
|
|
public NsGpuPBEntry(int Method, int SubChannel, params int[] Arguments)
|
2018-02-04 15:08:20 -08:00
|
|
|
{
|
2018-04-08 12:17:35 -07:00
|
|
|
this.Method = Method;
|
2018-02-04 15:08:20 -08:00
|
|
|
this.SubChannel = SubChannel;
|
|
|
|
this.m_Arguments = Arguments;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|