mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-11 04:37:49 +02:00
Merge shader branch, adding support for GLSL decompilation, a macro
interpreter, and a rewrite of the GPU code.
This commit is contained in:
16
Ryujinx.Graphics/Gal/Shader/ShaderIrOperGpr.cs
Normal file
16
Ryujinx.Graphics/Gal/Shader/ShaderIrOperGpr.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Ryujinx.Graphics.Gal.Shader
|
||||
{
|
||||
class ShaderIrOperGpr : ShaderIrNode
|
||||
{
|
||||
public const int ZRIndex = 0xff;
|
||||
|
||||
public bool IsConst => Index == ZRIndex;
|
||||
|
||||
public int Index { get; set; }
|
||||
|
||||
public ShaderIrOperGpr(int Index)
|
||||
{
|
||||
this.Index = Index;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user