diff options
| author | Subv <subv2112@gmail.com> | 2018-04-15 14:42:23 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-04-15 15:02:50 -0500 |
| commit | 477aab59603825e3cfc5144b784d0fe3df286ae4 (patch) | |
| tree | 4ea684514f99ad3e1718282e01e2d04c6b938f5f /src/video_core/renderer_opengl/gl_rasterizer.h | |
| parent | 14ac40436ead929506d5fdf16eb3721940e60956 (diff) | |
GPU: Use the same buffer names in the generated GLSL and the buffer uploading code.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 5 |
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); |
