diff options
author | Samuel Pitoiset <[email protected]> | 2017-04-20 19:02:28 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-04-21 10:08:32 +0200 |
commit | 862361c4f547efbbc9ff7d01b65ac43c42545db9 (patch) | |
tree | b3ebd2a563eb84c7eab128115f2b6f967e452302 /src/compiler/glsl/linker.h | |
parent | 4a0aa0b3b3c07469aeef5d627f63adda6f5bcf5a (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.h | 3 |
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); |