Address PR feedback, and a nit

This commit is contained in:
gdkchan 2019-04-17 20:44:07 -03:00
parent f604cd0353
commit bdcd399a6c
2 changed files with 1 additions and 5 deletions

View file

@ -232,9 +232,6 @@ namespace Ryujinx.Graphics.Gal.OpenGL
//and in this case the above call would return -1 as the buffer has been //and in this case the above call would return -1 as the buffer has been
//optimized away. //optimized away.
continue; 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); GL.UniformBlockBinding(programHandle, blockIndex, freeBinding);

View file

@ -9,6 +9,7 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
public LinkedList<INode> Operations { get; } public LinkedList<INode> Operations { get; }
private BasicBlock _next; private BasicBlock _next;
private BasicBlock _branch;
public BasicBlock Next public BasicBlock Next
{ {
@ -16,8 +17,6 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
set => _next = AddSuccessor(_next, value); set => _next = AddSuccessor(_next, value);
} }
private BasicBlock _branch;
public BasicBlock Branch public BasicBlock Branch
{ {
get => _branch; get => _branch;