using Ryujinx.Graphics.GAL;
namespace Ryujinx.Graphics.Gpu.Shader
{
/// <summary>
/// Cached graphics shader code for all stages.
/// </summary>
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];
}