2022-02-16 22:15:39 +00:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
|
|
|
{
|
|
|
|
public struct ShaderInfo
|
|
|
|
{
|
|
|
|
public int FragmentOutputMap { get; }
|
2022-02-22 18:47:46 +00:00
|
|
|
public ProgramPipelineState? State { get; }
|
|
|
|
public bool BackgroundCompile { get; set; }
|
|
|
|
|
|
|
|
public ShaderInfo(int fragmentOutputMap, ProgramPipelineState state)
|
|
|
|
{
|
|
|
|
FragmentOutputMap = fragmentOutputMap;
|
|
|
|
State = state;
|
|
|
|
BackgroundCompile = false;
|
|
|
|
}
|
2022-02-16 22:15:39 +00:00
|
|
|
|
|
|
|
public ShaderInfo(int fragmentOutputMap)
|
|
|
|
{
|
|
|
|
FragmentOutputMap = fragmentOutputMap;
|
2022-02-22 18:47:46 +00:00
|
|
|
State = null;
|
|
|
|
BackgroundCompile = false;
|
2022-02-16 22:15:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|