2019-10-12 23:02:07 -07:00
|
|
|
namespace Ryujinx.Graphics.Gpu.State
|
|
|
|
{
|
2019-12-31 08:32:06 -08:00
|
|
|
/// <summary>
|
|
|
|
/// Render target color buffer state.
|
|
|
|
/// </summary>
|
2019-10-12 23:02:07 -07:00
|
|
|
struct RtColorState
|
|
|
|
{
|
2020-04-20 14:59:59 -07:00
|
|
|
#pragma warning disable CS0649
|
2019-10-12 23:02:07 -07:00
|
|
|
public GpuVa Address;
|
|
|
|
public int WidthOrStride;
|
|
|
|
public int Height;
|
2020-11-05 14:50:34 -08:00
|
|
|
public ColorFormat Format;
|
2019-10-12 23:02:07 -07:00
|
|
|
public MemoryLayout MemoryLayout;
|
|
|
|
public int Depth;
|
|
|
|
public int LayerSize;
|
2019-10-26 10:50:52 -07:00
|
|
|
public int BaseLayer;
|
|
|
|
public int Unknown0x24;
|
|
|
|
public int Padding0;
|
|
|
|
public int Padding1;
|
|
|
|
public int Padding2;
|
|
|
|
public int Padding3;
|
|
|
|
public int Padding4;
|
|
|
|
public int Padding5;
|
2020-04-20 14:59:59 -07:00
|
|
|
#pragma warning restore CS0649
|
2019-10-12 23:02:07 -07:00
|
|
|
}
|
|
|
|
}
|