aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-01-12 18:50:54 -0300
committerGitHub <noreply@github.com>2021-01-13 08:50:54 +1100
commitdf820a72def62319fe97236a2006c64bfb7c065a (patch)
tree0e5d2c4f278548245e828e67194ff03d04532ce3 /Ryujinx.Graphics.GAL
parent68f6b79fd3f06ea572d5f0edd5fc8cbaee1ae449 (diff)
Implement clear buffer (fast path) (#1902)
* Implement clear buffer (fast path) * Remove blank line
Diffstat (limited to 'Ryujinx.Graphics.GAL')
-rw-r--r--Ryujinx.Graphics.GAL/IPipeline.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/IPipeline.cs b/Ryujinx.Graphics.GAL/IPipeline.cs
index 1da34b96..96ccfb28 100644
--- a/Ryujinx.Graphics.GAL/IPipeline.cs
+++ b/Ryujinx.Graphics.GAL/IPipeline.cs
@@ -9,6 +9,8 @@ namespace Ryujinx.Graphics.GAL
void BeginTransformFeedback(PrimitiveTopology topology);
+ void ClearBuffer(BufferHandle destination, int offset, int size, uint value);
+
void ClearRenderTargetColor(int index, uint componentMask, ColorF color);
void ClearRenderTargetDepthStencil(