diff options
Diffstat (limited to 'Ryujinx.Graphics.Shader/IntermediateRepresentation/BasicBlock.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/IntermediateRepresentation/BasicBlock.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/IntermediateRepresentation/BasicBlock.cs b/Ryujinx.Graphics.Shader/IntermediateRepresentation/BasicBlock.cs index 94975337..1f7d2b25 100644 --- a/Ryujinx.Graphics.Shader/IntermediateRepresentation/BasicBlock.cs +++ b/Ryujinx.Graphics.Shader/IntermediateRepresentation/BasicBlock.cs @@ -24,6 +24,7 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation } public bool HasBranch => _branch != null; + public bool Reachable => Index == 0 || Predecessors.Count != 0; public List<BasicBlock> Predecessors { get; } |
