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