diff options
author | Paul Berry <[email protected]> | 2013-04-10 06:48:42 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-08-01 20:22:59 -0700 |
commit | 3b0cf7027daebb8bea6af35d8d2ad4ed19fa7b5a (patch) | |
tree | d641b266ae5b24fb4b6a8584d24cf092191491b7 /src/glsl/ir_optimization.h | |
parent | 40d469f9ac45dfb825364af7a0436346c13502d6 (diff) |
glsl/linker: Properly pack GS input varyings.
Since geometry shader inputs are arrays (where the array index
indicates which vertex is being examined), varying packing needs to
treat them differently.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ir_optimization.h')
-rw-r--r-- | src/glsl/ir_optimization.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h index 2c1479ff4f9..a61227b3e0d 100644 --- a/src/glsl/ir_optimization.h +++ b/src/glsl/ir_optimization.h @@ -112,7 +112,7 @@ bool lower_packing_builtins(exec_list *instructions, int op_mask); void lower_ubo_reference(struct gl_shader *shader, exec_list *instructions); void lower_packed_varyings(void *mem_ctx, unsigned location_base, unsigned locations_used, ir_variable_mode mode, - gl_shader *shader); + unsigned gs_input_vertices, gl_shader *shader); bool lower_vector_insert(exec_list *instructions, bool lower_nonconstant_index); void lower_named_interface_blocks(void *mem_ctx, gl_shader *shader); bool optimize_redundant_jumps(exec_list *instructions); |