summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/linker.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-04-13 15:42:04 +1000
committerTimothy Arceri <[email protected]>2017-02-17 11:18:43 +1100
commit49f34390899e5507fc67ae374f9a92e4d9a9a7bb (patch)
tree8667d769879ee89297ef46f324ca2ef3bd734797 /src/compiler/glsl/linker.h
parentbb16cf805d3169acea182c83dceecc1592b97582 (diff)
glsl: make uniform values helper available for use elsewhere
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/linker.h')
-rw-r--r--src/compiler/glsl/linker.h3
1 files changed, 3 insertions, 0 deletions
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);