--- src/compiler/glsl/link_uniforms.cpp | 2 +- src/compiler/glsl/linker.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/compiler/glsl/link_uniforms.cpp b/src/compiler/glsl/link_uniforms.cpp index c9bb6ad..067db8d 100644 --- a/src/compiler/glsl/link_uniforms.cpp +++ b/src/compiler/glsl/link_uniforms.cpp @@ -44,7 +44,7 @@ /** * Count the backing storage requirements for a type */ -static unsigned +unsigned values_for_type(const glsl_type *type) { if (type->is_sampler()) { diff --git a/src/compiler/glsl/linker.h b/src/compiler/glsl/linker.h index 420abf9..b503fd5 100644 --- a/src/compiler/glsl/linker.h +++ b/src/compiler/glsl/linker.h @@ -77,6 +77,9 @@ void validate_interstage_uniform_blocks(struct gl_shader_program *prog, gl_linked_shader **stages); +unsigned +values_for_type(const glsl_type *type); + extern void link_assign_atomic_counter_resources(struct gl_context *ctx, struct gl_shader_program *prog); -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev