Invalidate shaders when they are modified
This commit is contained in:
16
Ryujinx.Graphics.Gpu/Shader/GraphicsShader.cs
Normal file
16
Ryujinx.Graphics.Gpu/Shader/GraphicsShader.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using Ryujinx.Graphics.GAL;
|
||||
|
||||
namespace Ryujinx.Graphics.Gpu.Shader
|
||||
{
|
||||
class GraphicsShader
|
||||
{
|
||||
public IProgram HostProgram { get; set; }
|
||||
|
||||
public CachedShader[] Shader { get; }
|
||||
|
||||
public GraphicsShader()
|
||||
{
|
||||
Shader = new CachedShader[5];
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user