diff options
| author | bunnei <bunneidev@gmail.com> | 2020-02-19 16:13:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-19 16:13:50 -0500 |
| commit | b2bc7682b4f4fab68b49d51b50f8930f1ccdb157 (patch) | |
| tree | d5c22b625e6cb0c734725c4db57dd51301585011 /src/video_core/renderer_opengl/gl_rasterizer.h | |
| parent | c8261a1a574ef83a368e5e04489f1e0490ca80d3 (diff) | |
| parent | 91aa58e41072e648cd1d43d284b08c2a01af08a2 (diff) | |
Merge pull request #3414 from ReinUsesLisp/maxwell-3d-draw
maxwell_3d: Unify draw methods
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index c772fd4ba..68abe9a21 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -58,8 +58,7 @@ public: ScreenInfo& info); ~RasterizerOpenGL() override; - bool DrawBatch(bool is_indexed) override; - bool DrawMultiBatch(bool is_indexed) override; + void Draw(bool is_indexed, bool is_instanced) override; void Clear() override; void DispatchCompute(GPUVAddr code_addr) override; void ResetCounter(VideoCore::QueryType type) override; @@ -110,9 +109,6 @@ private: void SetupGlobalMemory(u32 binding, const GLShader::GlobalMemoryEntry& entry, GPUVAddr gpu_addr, std::size_t size); - /// Syncs all the state, shaders, render targets and textures setting before a draw call. - void Draw(bool is_indexed, bool is_instanced); - /// Configures the current textures to use for the draw command. void SetupDrawTextures(std::size_t stage_index, const Shader& shader); |
