diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/glsl/link_uniforms.cpp | 2 | ||||
-rw-r--r-- | src/compiler/glsl/linker.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/glsl/link_uniforms.cpp b/src/compiler/glsl/link_uniforms.cpp index e9a20530b57..2b277930f36 100644 --- a/src/compiler/glsl/link_uniforms.cpp +++ b/src/compiler/glsl/link_uniforms.cpp @@ -45,7 +45,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 9841ef019e5..abcfdb15971 100644 --- a/src/compiler/glsl/linker.h +++ b/src/compiler/glsl/linker.h @@ -76,6 +76,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); |