mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-22 09:03:36 +00:00
23 lines
No EOL
626 B
C#
23 lines
No EOL
626 B
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct ShaderInfo
|
|
{
|
|
public int FragmentOutputMap { get; }
|
|
public ProgramPipelineState? State { get; }
|
|
public bool BackgroundCompile { get; set; }
|
|
|
|
public ShaderInfo(int fragmentOutputMap, ProgramPipelineState state)
|
|
{
|
|
FragmentOutputMap = fragmentOutputMap;
|
|
State = state;
|
|
BackgroundCompile = false;
|
|
}
|
|
|
|
public ShaderInfo(int fragmentOutputMap)
|
|
{
|
|
FragmentOutputMap = fragmentOutputMap;
|
|
State = null;
|
|
BackgroundCompile = false;
|
|
}
|
|
}
|
|
} |