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/HelperShader.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/HelperShader.cs')
-rw-r--r-- | Ryujinx.Graphics.Vulkan/HelperShader.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Vulkan/HelperShader.cs b/Ryujinx.Graphics.Vulkan/HelperShader.cs index 53a03cfb..8465c744 100644 --- a/Ryujinx.Graphics.Vulkan/HelperShader.cs +++ b/Ryujinx.Graphics.Vulkan/HelperShader.cs @@ -157,7 +157,7 @@ namespace Ryujinx.Graphics.Vulkan if (clearAlpha) { - _pipeline.ClearRenderTargetColor(0, 0, new ColorF(0f, 0f, 0f, 1f)); + _pipeline.ClearRenderTargetColor(0, 0, 1, new ColorF(0f, 0f, 0f, 1f)); } _pipeline.SetViewports(viewports, false); |