using Ryujinx.Graphics.GAL;
namespace Ryujinx.Graphics.Gpu.Shader
{
///
/// Cached compute shader code.
///
class ComputeShader
{
///
/// Host shader program object.
///
public IProgram HostProgram { get; }
///
/// Cached shader.
///
public CachedShader Shader { get; }
///
/// Creates a new instance of the compute shader.
///
/// Host shader program
/// Cached shader
public ComputeShader(IProgram hostProgram, CachedShader shader)
{
HostProgram = hostProgram;
Shader = shader;
}
}
}