Series is: Reviewed-by: Thomas Helland <[email protected]>
2016-02-24 9:45 GMT+01:00 Timothy Arceri <[email protected]>: > --- > src/compiler/glsl/link_varyings.cpp | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/src/compiler/glsl/link_varyings.cpp > b/src/compiler/glsl/link_varyings.cpp > index 0d73216..8133772 100644 > --- a/src/compiler/glsl/link_varyings.cpp > +++ b/src/compiler/glsl/link_varyings.cpp > @@ -219,7 +219,7 @@ cross_validate_front_and_back_color(struct > gl_shader_program *prog, > */ > void > cross_validate_outputs_to_inputs(struct gl_shader_program *prog, > - gl_shader *producer, gl_shader *consumer) > + gl_shader *producer, gl_shader *consumer) > { > glsl_symbol_table parameters; > ir_variable *explicit_locations[MAX_VARYING][4] = { {NULL, NULL} }; > @@ -230,7 +230,7 @@ cross_validate_outputs_to_inputs(struct gl_shader_program > *prog, > ir_variable *const var = node->as_variable(); > > if ((var == NULL) || (var->data.mode != ir_var_shader_out)) > - continue; > + continue; > > if (!var->data.explicit_location > || var->data.location < VARYING_SLOT_VAR0) > @@ -314,7 +314,7 @@ cross_validate_outputs_to_inputs(struct gl_shader_program > *prog, > ir_variable *const input = node->as_variable(); > > if ((input == NULL) || (input->data.mode != ir_var_shader_in)) > - continue; > + continue; > > if (strcmp(input->name, "gl_Color") == 0 && input->data.used) { > const ir_variable *const front_color = > @@ -406,7 +406,7 @@ remove_unused_shader_inputs_and_outputs(bool > is_separate_shader_object, > ir_variable *const var = node->as_variable(); > > if ((var == NULL) || (var->data.mode != int(mode))) > - continue; > + continue; > > /* A shader 'in' or 'out' variable is only really an input or output if > * its value is used by other shader stages. This will cause the > @@ -414,7 +414,7 @@ remove_unused_shader_inputs_and_outputs(bool > is_separate_shader_object, > */ > if (var->data.is_unmatched_generic_inout) { > assert(var->data.mode != ir_var_temporary); > - var->data.mode = ir_var_auto; > + var->data.mode = ir_var_auto; > } > } > > @@ -806,8 +806,8 @@ store_tfeedback_info(struct gl_context *ctx, struct > gl_shader_program *prog, > > prog->LinkedTransformFeedback.Varyings = > rzalloc_array(prog, > - struct gl_transform_feedback_varying_info, > - num_tfeedback_decls); > + struct gl_transform_feedback_varying_info, > + num_tfeedback_decls); > > unsigned num_outputs = 0; > for (unsigned i = 0; i < num_tfeedback_decls; ++i) > @@ -1689,9 +1689,9 @@ reserved_varying_slot(struct gl_shader *stage, > ir_variable_mode io_mode, > */ > bool > assign_varying_locations(struct gl_context *ctx, > - void *mem_ctx, > - struct gl_shader_program *prog, > - gl_shader *producer, gl_shader *consumer, > + void *mem_ctx, > + struct gl_shader_program *prog, > + gl_shader *producer, gl_shader *consumer, > unsigned num_tfeedback_decls, > tfeedback_decl *tfeedback_decls) > { > @@ -1927,7 +1927,7 @@ assign_varying_locations(struct gl_context *ctx, > linker_error(prog, "%s shader varying %s not written " > "by %s shader\n.", > _mesa_shader_stage_to_string(consumer->Stage), > - var->name, > + var->name, > _mesa_shader_stage_to_string(producer->Stage)); > } else { > linker_warning(prog, "%s shader varying %s not written " > -- > 2.5.0 > > _______________________________________________ > mesa-dev mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
