summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/linker.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-04-20 19:02:28 +0200
committerSamuel Pitoiset <[email protected]>2017-04-21 10:08:32 +0200
commit862361c4f547efbbc9ff7d01b65ac43c42545db9 (patch)
treeb3ebd2a563eb84c7eab128115f2b6f967e452302 /src/compiler/glsl/linker.h
parent4a0aa0b3b3c07469aeef5d627f63adda6f5bcf5a (diff)
glsl: get rid of values_for_type()
This function is actually a wrapper for component_slots() and it always returns 1 (or N) for samplers. Since component_slots() now return 1 for samplers, it can go. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]> 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, 0 insertions, 3 deletions
diff --git a/src/compiler/glsl/linker.h b/src/compiler/glsl/linker.h
index d06f419cf6e..dd627be5f10 100644
--- a/src/compiler/glsl/linker.h
+++ b/src/compiler/glsl/linker.h
@@ -75,9 +75,6 @@ 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);