summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/linker.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-06-28 07:52:46 +1000
committerTimothy Arceri <[email protected]>2016-06-30 16:51:25 +1000
commit32c410d2df2b9c9476834bf891cdcf8254bdfb4e (patch)
tree13ee9cff276039d6eca45c8b1c180e0ecd7dada7 /src/compiler/glsl/linker.h
parent1fb8c6df884c2a17cf980c4ea32db4c214903b55 (diff)
glsl: simplify link_uniform_blocks()
There is only ever one shader so simplify the input params. Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/compiler/glsl/linker.h')
-rw-r--r--src/compiler/glsl/linker.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/glsl/linker.h b/src/compiler/glsl/linker.h
index 19b14d50696..0126bcb67c8 100644
--- a/src/compiler/glsl/linker.h
+++ b/src/compiler/glsl/linker.h
@@ -57,8 +57,7 @@ extern void
link_uniform_blocks(void *mem_ctx,
struct gl_context *ctx,
struct gl_shader_program *prog,
- struct gl_linked_shader **shader_list,
- unsigned num_shaders,
+ struct gl_linked_shader *shader,
struct gl_uniform_block **ubo_blocks,
unsigned *num_ubo_blocks,
struct gl_uniform_block **ssbo_blocks,