summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorGravatar Subv2018-06-06 23:54:25 -0500
committerGravatar Subv2018-07-03 16:56:44 -0500
commitbe51120d237cb551fae90fbfaebda41669c40403 (patch)
tree37e4ec442f159f6c63ee6db560e4ff23df44bad1 /src/video_core/rasterizer_interface.h
parentGPU: Added registers for the CLEAR_BUFFERS and CLEAR_COLOR methods. (diff)
downloadyuzu-be51120d237cb551fae90fbfaebda41669c40403.tar.gz
yuzu-be51120d237cb551fae90fbfaebda41669c40403.tar.xz
yuzu-be51120d237cb551fae90fbfaebda41669c40403.zip
GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 145e58334..499e84b89 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -19,6 +19,9 @@ public:
19 /// Draw the current batch of vertex arrays 19 /// Draw the current batch of vertex arrays
20 virtual void DrawArrays() = 0; 20 virtual void DrawArrays() = 0;
21 21
22 /// Clear the current framebuffer
23 virtual void Clear() = 0;
24
22 /// Notify rasterizer that the specified Maxwell register has been changed 25 /// Notify rasterizer that the specified Maxwell register has been changed
23 virtual void NotifyMaxwellRegisterChanged(u32 method) = 0; 26 virtual void NotifyMaxwellRegisterChanged(u32 method) = 0;
24 27