mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-07 12:59:12 +01:00
Merge pull request #747 from lioncash/unimplemented
gl_shader_manager: Remove unimplemented function prototype
This commit is contained in:
commit
ff8754f921
2 changed files with 3 additions and 3 deletions
|
@ -10,8 +10,9 @@
|
||||||
namespace GLShader {
|
namespace GLShader {
|
||||||
|
|
||||||
namespace Impl {
|
namespace Impl {
|
||||||
void SetShaderUniformBlockBinding(GLuint shader, const char* name,
|
static void SetShaderUniformBlockBinding(GLuint shader, const char* name,
|
||||||
Maxwell3D::Regs::ShaderStage binding, size_t expected_size) {
|
Maxwell3D::Regs::ShaderStage binding,
|
||||||
|
size_t expected_size) {
|
||||||
GLuint ub_index = glGetUniformBlockIndex(shader, name);
|
GLuint ub_index = glGetUniformBlockIndex(shader, name);
|
||||||
if (ub_index != GL_INVALID_INDEX) {
|
if (ub_index != GL_INVALID_INDEX) {
|
||||||
GLint ub_size = 0;
|
GLint ub_size = 0;
|
||||||
|
|
|
@ -21,7 +21,6 @@ using Tegra::Engines::Maxwell3D;
|
||||||
|
|
||||||
namespace Impl {
|
namespace Impl {
|
||||||
void SetShaderUniformBlockBindings(GLuint shader);
|
void SetShaderUniformBlockBindings(GLuint shader);
|
||||||
void SetShaderSamplerBindings(GLuint shader);
|
|
||||||
} // namespace Impl
|
} // namespace Impl
|
||||||
|
|
||||||
/// Uniform structure for the Uniform Buffer Object, all vectors must be 16-byte aligned
|
/// Uniform structure for the Uniform Buffer Object, all vectors must be 16-byte aligned
|
||||||
|
|
Loading…
Reference in a new issue