Invalidate shaders when they are modified
This commit is contained in:
parent
f0a59f345c
commit
6e399061ce
11 changed files with 411 additions and 291 deletions
17
Ryujinx.Graphics.Gpu/Shader/ComputeShader.cs
Normal file
17
Ryujinx.Graphics.Gpu/Shader/ComputeShader.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using Ryujinx.Graphics.GAL;
|
||||
|
||||
namespace Ryujinx.Graphics.Gpu.Shader
|
||||
{
|
||||
class ComputeShader
|
||||
{
|
||||
public IProgram HostProgram { get; set; }
|
||||
|
||||
public CachedShader Shader { get; }
|
||||
|
||||
public ComputeShader(IProgram hostProgram, CachedShader shader)
|
||||
{
|
||||
HostProgram = hostProgram;
|
||||
Shader = shader;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue