diff --git a/Ryujinx.Graphics/Gal/OpenGL/OglShader.cs b/Ryujinx.Graphics/Gal/OpenGL/OglShader.cs index 1cd4b22c12..8f4072c53e 100644 --- a/Ryujinx.Graphics/Gal/OpenGL/OglShader.cs +++ b/Ryujinx.Graphics/Gal/OpenGL/OglShader.cs @@ -232,9 +232,6 @@ namespace Ryujinx.Graphics.Gal.OpenGL //and in this case the above call would return -1 as the buffer has been //optimized away. continue; - - //It is expected that its found, if it's not then driver might be in a malfunction - //throw new InvalidOperationException(); } GL.UniformBlockBinding(programHandle, blockIndex, freeBinding); diff --git a/Ryujinx.Graphics/Shader/IntermediateRepresentation/BasicBlock.cs b/Ryujinx.Graphics/Shader/IntermediateRepresentation/BasicBlock.cs index cbd4d64bca..949753377e 100644 --- a/Ryujinx.Graphics/Shader/IntermediateRepresentation/BasicBlock.cs +++ b/Ryujinx.Graphics/Shader/IntermediateRepresentation/BasicBlock.cs @@ -9,6 +9,7 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation public LinkedList Operations { get; } private BasicBlock _next; + private BasicBlock _branch; public BasicBlock Next { @@ -16,8 +17,6 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation set => _next = AddSuccessor(_next, value); } - private BasicBlock _branch; - public BasicBlock Branch { get => _branch;