mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 10:30:47 -07:00
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/ShaderDecodeFlow.cs
Normal file
17
Ryujinx.Graphics/Gal/Shader/ShaderDecodeFlow.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using static Ryujinx.Graphics.Gal.Shader.ShaderDecodeHelper;
|
||||
|
||||
namespace Ryujinx.Graphics.Gal.Shader
|
||||
{
|
||||
static partial class ShaderDecode
|
||||
{
|
||||
public static void Exit(ShaderIrBlock Block, long OpCode)
|
||||
{
|
||||
Block.AddNode(GetPredNode(new ShaderIrOp(ShaderIrInst.Exit), OpCode));
|
||||
}
|
||||
|
||||
public static void Kil(ShaderIrBlock Block, long OpCode)
|
||||
{
|
||||
Block.AddNode(GetPredNode(new ShaderIrOp(ShaderIrInst.Kil), OpCode));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user