using Ryujinx.Graphics.GAL;
namespace Ryujinx.Graphics.Gpu.Shader
{
///
/// Cached graphics shader code for all stages.
///
class GraphicsShader
{
///
/// Host shader program object.
///
public IProgram HostProgram { get; set; }
///
/// Compiled shader for each shader stage.
///
public CachedShader[] Shaders { get; }
///
/// Creates a new instance of cached graphics shader.
///
public GraphicsShader()
{
Shaders = new CachedShader[Constants.ShaderStages];
}
}
}