This repository has been archived on 2026-01-05. You can view files and clone it, but cannot push or open issues/pull-requests.
|
namespace Ryujinx.Graphics.Gpu.State
|
|
{
|
|
struct RtControl
|
|
{
|
|
public uint Packed;
|
|
|
|
public int UnpackCount()
|
|
{
|
|
return (int)(Packed & 0xf);
|
|
}
|
|
|
|
public int UnpackPermutationIndex(int index)
|
|
{
|
|
return (int)((Packed >> (4 + index * 3)) & 7);
|
|
}
|
|
}
|
|
}
|