diff options
| author | 2020-02-19 16:13:50 -0500 | |
|---|---|---|
| committer | 2020-02-19 16:13:50 -0500 | |
| commit | b2bc7682b4f4fab68b49d51b50f8930f1ccdb157 (patch) | |
| tree | d5c22b625e6cb0c734725c4db57dd51301585011 /src/video_core/rasterizer_interface.h | |
| parent | Merge pull request #3411 from ReinUsesLisp/specific-funcs (diff) | |
| parent | maxwell_3d: Unify draw methods (diff) | |
| download | yuzu-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.h | 7 |
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 { | |||
| 35 | public: | 35 | public: |
| 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; |