Invalidate shaders when they are modified

This commit is contained in:
gdk 2019-11-14 15:26:40 -03:00 committed by Thog
parent f0a59f345c
commit 6e399061ce
11 changed files with 411 additions and 291 deletions

View 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];
}
}
}