diff options
author | Timothy Arceri <[email protected]> | 2016-09-25 22:50:24 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-09-27 11:29:05 +1000 |
commit | ab67b6afdfb423200cb03a711eda89abe4e80fb2 (patch) | |
tree | 04ea97a5dfb9194d7b1a2fe6719cfdcef77c117f /src/compiler/glsl/linker.h | |
parent | 856e0bd707d2ead26eb3a04be08885487850be38 (diff) |
glsl: move some uniform linking code to new link_setup_uniform_remap_tables()
This makes link_assign_uniform_locations() easier to follow.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/linker.h')
-rw-r--r-- | src/compiler/glsl/linker.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/glsl/linker.h b/src/compiler/glsl/linker.h index e1a53d20db2..f811840e94e 100644 --- a/src/compiler/glsl/linker.h +++ b/src/compiler/glsl/linker.h @@ -35,9 +35,8 @@ link_invalidate_variable_locations(exec_list *ir); extern void link_assign_uniform_locations(struct gl_shader_program *prog, - unsigned int boolean_true, - unsigned int num_explicit_uniform_locs, - unsigned int max_uniform_locs); + struct gl_context *ctx, + unsigned int num_explicit_uniform_locs); extern void link_set_uniform_initializers(struct gl_shader_program *prog, |