<p dir="ltr">Thanks,</p>
<p dir="ltr">Acked-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>></p>
<div class="gmail_quote">On Jun 15, 2016 11:13 PM, "Timothy Arceri" <<a href="mailto:timothy.arceri@collabora.com">timothy.arceri@collabora.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
src/mesa/drivers/dri/i965/brw_link.cpp | 26 +++++++++++++-------------<br>
1 file changed, 13 insertions(+), 13 deletions(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/brw_link.cpp b/src/mesa/drivers/dri/i965/brw_link.cpp<br>
index 16bfbaa..ab2484e 100644<br>
--- a/src/mesa/drivers/dri/i965/brw_link.cpp<br>
+++ b/src/mesa/drivers/dri/i965/brw_link.cpp<br>
@@ -210,13 +210,13 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)<br>
for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) {<br>
struct gl_shader *shader = shProg->_LinkedShaders[stage];<br>
if (!shader)<br>
- continue;<br>
+ continue;<br>
<br>
struct gl_program *prog =<br>
- ctx->Driver.NewProgram(ctx, _mesa_shader_stage_to_program(stage),<br>
+ ctx->Driver.NewProgram(ctx, _mesa_shader_stage_to_program(stage),<br>
shader->Name);<br>
if (!prog)<br>
- return false;<br>
+ return false;<br>
prog->Parameters = _mesa_new_parameter_list();<br>
<br>
_mesa_copy_linked_program_data((gl_shader_stage) stage, shProg, prog);<br>
@@ -231,19 +231,19 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)<br>
* get sent to the shader.<br>
*/<br>
foreach_in_list(ir_instruction, node, shader->ir) {<br>
- ir_variable *var = node->as_variable();<br>
+ ir_variable *var = node->as_variable();<br>
<br>
- if ((var == NULL) || (var->data.mode != ir_var_uniform)<br>
- || (strncmp(var->name, "gl_", 3) != 0))<br>
- continue;<br>
+ if ((var == NULL) || (var->data.mode != ir_var_uniform)<br>
+ || (strncmp(var->name, "gl_", 3) != 0))<br>
+ continue;<br>
<br>
- const ir_state_slot *const slots = var->get_state_slots();<br>
- assert(slots != NULL);<br>
+ const ir_state_slot *const slots = var->get_state_slots();<br>
+ assert(slots != NULL);<br>
<br>
- for (unsigned int i = 0; i < var->get_num_state_slots(); i++) {<br>
- _mesa_add_state_reference(prog->Parameters,<br>
- (gl_state_index *) slots[i].tokens);<br>
- }<br>
+ for (unsigned int i = 0; i < var->get_num_state_slots(); i++) {<br>
+ _mesa_add_state_reference(prog->Parameters,<br>
+ (gl_state_index *) slots[i].tokens);<br>
+ }<br>
}<br>
<br>
do_set_program_inouts(shader->ir, prog, shader->Stage);<br>
--<br>
2.5.5<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>