mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-19 02:52:04 +00:00
Fix image bindings
This commit is contained in:
parent
2b919493e3
commit
b434cae2c2
1 changed files with 8 additions and 8 deletions
|
@ -234,10 +234,10 @@ namespace Ryujinx.Graphics.Metal
|
||||||
UpdateAndBind(renderCommandEncoder, _currentState.RenderProgram, MetalRenderer.TextureSetIndex);
|
UpdateAndBind(renderCommandEncoder, _currentState.RenderProgram, MetalRenderer.TextureSetIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (_currentState.Dirty.HasFlag(DirtyFlags.Images))
|
if (_currentState.Dirty.HasFlag(DirtyFlags.Images))
|
||||||
// {
|
{
|
||||||
// UpdateAndBind(renderCommandEncoder, _currentState.RenderProgram, MetalRenderer.ImageSetIndex);
|
UpdateAndBind(renderCommandEncoder, _currentState.RenderProgram, MetalRenderer.ImageSetIndex);
|
||||||
// }
|
}
|
||||||
|
|
||||||
_currentState.Dirty &= ~DirtyFlags.RenderAll;
|
_currentState.Dirty &= ~DirtyFlags.RenderAll;
|
||||||
}
|
}
|
||||||
|
@ -264,10 +264,10 @@ namespace Ryujinx.Graphics.Metal
|
||||||
UpdateAndBind(computeCommandEncoder, _currentState.ComputeProgram, MetalRenderer.TextureSetIndex);
|
UpdateAndBind(computeCommandEncoder, _currentState.ComputeProgram, MetalRenderer.TextureSetIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (_currentState.Dirty.HasFlag(DirtyFlags.Images))
|
if (_currentState.Dirty.HasFlag(DirtyFlags.Images))
|
||||||
// {
|
{
|
||||||
// UpdateAndBind(computeCommandEncoder, _currentState.ComputeProgram, MetalRenderer.ImageSetIndex);
|
UpdateAndBind(computeCommandEncoder, _currentState.ComputeProgram, MetalRenderer.ImageSetIndex);
|
||||||
// }
|
}
|
||||||
|
|
||||||
_currentState.Dirty &= ~DirtyFlags.ComputeAll;
|
_currentState.Dirty &= ~DirtyFlags.ComputeAll;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue