Merge shader branch, adding support for GLSL decompilation, a macro
interpreter, and a rewrite of the GPU code.
This commit is contained in:
17
Ryujinx.Graphics/Gal/Shader/ShaderIrOperPred.cs
Normal file
17
Ryujinx.Graphics/Gal/Shader/ShaderIrOperPred.cs
Normal file
@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user