summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorGravatar bunnei2020-02-19 16:13:50 -0500
committerGravatar GitHub2020-02-19 16:13:50 -0500
commitb2bc7682b4f4fab68b49d51b50f8930f1ccdb157 (patch)
treed5c22b625e6cb0c734725c4db57dd51301585011 /src/video_core/rasterizer_interface.h
parentMerge pull request #3411 from ReinUsesLisp/specific-funcs (diff)
parentmaxwell_3d: Unify draw methods (diff)
downloadyuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.gz
yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.xz
yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.zip
Merge pull request #3414 from ReinUsesLisp/maxwell-3d-draw
maxwell_3d: Unify draw methods
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r--src/video_core/rasterizer_interface.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index e9f1436f0..f18eaf4bc 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -35,11 +35,8 @@ class RasterizerInterface {
35public: 35public:
36 virtual ~RasterizerInterface() {} 36 virtual ~RasterizerInterface() {}
37 37
38 /// Draw the current batch of vertex arrays 38 /// Dispatches a draw invocation
39 virtual bool DrawBatch(bool is_indexed) = 0; 39 virtual void Draw(bool is_indexed, bool is_instanced) = 0;
40
41 /// Draw the current batch of multiple instances of vertex arrays
42 virtual bool DrawMultiBatch(bool is_indexed) = 0;
43 40
44 /// Clear the current framebuffer 41 /// Clear the current framebuffer
45 virtual void Clear() = 0; 42 virtual void Clear() = 0;