mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 07:26:40 +00:00
b9aa3966c0
interpreter, and a rewrite of the GPU code.
17 lines
No EOL
375 B
C#
17 lines
No EOL
375 B
C#
namespace Ryujinx.Graphics.Gal.Shader
|
|
{
|
|
class ShaderIrOperPred : ShaderIrNode
|
|
{
|
|
public const int UnusedIndex = 0x7;
|
|
public const int NeverExecute = 0xf;
|
|
|
|
public bool IsConst => Index >= UnusedIndex;
|
|
|
|
public int Index { get; set; }
|
|
|
|
public ShaderIrOperPred(int Index)
|
|
{
|
|
this.Index = Index;
|
|
}
|
|
}
|
|
} |