diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-08-04 18:30:08 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 21:30:08 +0000 |
commit | 1080f64df9abd7af7ed762668e4fc9a300ae30f2 (patch) | |
tree | dc6c882fe3254c9966b916f29e3783de0c61f2b2 /Ryujinx.Graphics.Vulkan/PipelineFull.cs | |
parent | c48a75979fad2cf7909f128e265086ff83c2ba55 (diff) |
Implement HLE macros for render target clears (#3528)1.1.207
* Implement HLE macros for render target clears
* Add constants for the offsets
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/PipelineFull.cs')
-rw-r--r-- | Ryujinx.Graphics.Vulkan/PipelineFull.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Vulkan/PipelineFull.cs b/Ryujinx.Graphics.Vulkan/PipelineFull.cs index 8bb04382..4c76caf2 100644 --- a/Ryujinx.Graphics.Vulkan/PipelineFull.cs +++ b/Ryujinx.Graphics.Vulkan/PipelineFull.cs @@ -49,7 +49,7 @@ namespace Ryujinx.Graphics.Vulkan _pendingQueryCopies.Clear(); } - public void ClearRenderTargetColor(int index, int layer, uint componentMask, ColorF color) + public void ClearRenderTargetColor(int index, int layer, int layerCount, uint componentMask, ColorF color) { if (FramebufferParams == null) { @@ -85,7 +85,7 @@ namespace Ryujinx.Graphics.Vulkan } else { - ClearRenderTargetColor(index, layer, color); + ClearRenderTargetColor(index, layer, layerCount, color); } } |