Browse Source
Merge pull request #747 from lioncash/unimplemented
gl_shader_manager: Remove unimplemented function prototype
pull/15/merge
bunnei
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
src/video_core/renderer_opengl/gl_shader_manager.cpp
-
src/video_core/renderer_opengl/gl_shader_manager.h
|
|
|
@ -10,8 +10,9 @@ |
|
|
|
namespace GLShader { |
|
|
|
|
|
|
|
namespace Impl { |
|
|
|
void SetShaderUniformBlockBinding(GLuint shader, const char* name, |
|
|
|
Maxwell3D::Regs::ShaderStage binding, size_t expected_size) { |
|
|
|
static void SetShaderUniformBlockBinding(GLuint shader, const char* name, |
|
|
|
Maxwell3D::Regs::ShaderStage binding, |
|
|
|
size_t expected_size) { |
|
|
|
GLuint ub_index = glGetUniformBlockIndex(shader, name); |
|
|
|
if (ub_index != GL_INVALID_INDEX) { |
|
|
|
GLint ub_size = 0; |
|
|
|
|
|
|
|
@ -21,7 +21,6 @@ using Tegra::Engines::Maxwell3D; |
|
|
|
|
|
|
|
namespace Impl { |
|
|
|
void SetShaderUniformBlockBindings(GLuint shader); |
|
|
|
void SetShaderSamplerBindings(GLuint shader); |
|
|
|
} // namespace Impl |
|
|
|
|
|
|
|
/// Uniform structure for the Uniform Buffer Object, all vectors must be 16-byte aligned |
|
|
|
|