summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_rasterizer.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-04-15 21:42:23 +0200
committerSubv <subv2112@gmail.com>2018-04-15 22:02:50 +0200
commit477aab59603825e3cfc5144b784d0fe3df286ae4 (patch)
tree4ea684514f99ad3e1718282e01e2d04c6b938f5f /src/video_core/renderer_opengl/gl_rasterizer.h
parentGPU: Don't use explicit binding points when uploading the constbuffers to opengl. (diff)
downloadyuzu-477aab59603825e3cfc5144b784d0fe3df286ae4.tar
yuzu-477aab59603825e3cfc5144b784d0fe3df286ae4.tar.gz
yuzu-477aab59603825e3cfc5144b784d0fe3df286ae4.tar.bz2
yuzu-477aab59603825e3cfc5144b784d0fe3df286ae4.tar.lz
yuzu-477aab59603825e3cfc5144b784d0fe3df286ae4.tar.xz
yuzu-477aab59603825e3cfc5144b784d0fe3df286ae4.tar.zst
yuzu-477aab59603825e3cfc5144b784d0fe3df286ae4.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h
index 32d9598aa..548ce0453 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer.h
@@ -91,14 +91,13 @@ private:
* Configures the current constbuffers to use for the draw command.
* @param stage The shader stage to configure buffers for.
* @param program The OpenGL program object that contains the specified stage.
- * @param base_name The name prefix of the buffer objects in the GLSL shaders.
* @param current_bindpoint The offset at which to start counting new buffer bindpoints.
* @param entries Vector describing the buffers that are actually used in the guest shader.
* @returns The next available bindpoint for use in the next shader stage.
*/
u32 SetupConstBuffers(Tegra::Engines::Maxwell3D::Regs::ShaderStage stage, GLuint program,
- const std::string& base_name, u32 current_bindpoint,
- const std::vector<GLShader::ConstBufferEntry>& entries);
+ u32 current_bindpoint,
+ const std::vector<GLShader::ConstBufferEntry>& entries);
/// Syncs the viewport to match the guest state
void SyncViewport(const MathUtil::Rectangle<u32>& surfaces_rect, u16 res_scale);