<p dir="ltr"><br>
On Oct 2, 2015 8:51 PM, "Kenneth Graunke" <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>> wrote:<br>
><br>
> On Friday, October 02, 2015 07:48:47 PM Jason Ekstrand wrote:<br>
> > ---<br>
> > src/mesa/drivers/dri/i965/brw_nir.c | 6 ++----<br>
> > 1 file changed, 2 insertions(+), 4 deletions(-)<br>
> ><br>
> > diff --git a/src/mesa/drivers/dri/i965/brw_nir.c b/src/mesa/drivers/dri/i965/brw_nir.c<br>
> > index cc9430c..4f19655 100644<br>
> > --- a/src/mesa/drivers/dri/i965/brw_nir.c<br>
> > +++ b/src/mesa/drivers/dri/i965/brw_nir.c<br>
> > @@ -28,9 +28,7 @@<br>
> > #include "program/prog_to_nir.h"<br>
> ><br>
> > static void<br>
> > -brw_nir_lower_inputs(nir_shader *nir,<br>
> > - const struct gl_program *prog,<br>
> > - bool is_scalar)<br>
> > +brw_nir_lower_inputs(nir_shader *nir, bool is_scalar)<br>
> > {<br>
> > nir_assign_var_locations(&nir->inputs, &nir->num_inputs,<br>
> > is_scalar ? type_size_scalar : type_size_vec4);<br>
> > @@ -141,7 +139,7 @@ brw_create_nir(struct brw_context *brw,<br>
> > /* Get rid of split copies */<br>
> > nir_optimize(nir, is_scalar);<br>
> ><br>
> > - brw_nir_lower_inputs(nir, prog, is_scalar);<br>
> > + brw_nir_lower_inputs(nir, is_scalar);<br>
> > brw_nir_lower_outputs(nir, is_scalar);<br>
> > nir_assign_var_locations(&nir->uniforms,<br>
> > &nir->num_uniforms,<br>
> ><br>
><br>
> This is actually used in by pending patch series. But it looks like<br>
> everything I need is in nir_shader_info, so I should be able to rebase<br>
> onto this without much trouble.<br>
><br>
> Series is:<br>
> Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>></p>
<p dir="ltr">Thanks! One more step away from tyranny. :-)</p>