<div dir="auto">Series is<div dir="auto"><br></div><div dir="auto">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 7, 2017 3:04 AM, "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">On Sat, 2017-01-07 at 02:56 -0800, Kenneth Graunke wrote:<br>
> On Saturday, January 7, 2017 8:51:06 PM PST Timothy Arceri wrote:<br>
> > On Sat, 2017-01-07 at 00:02 -0800, Kenneth Graunke wrote:<br>
> > > In Vulkan, we'll compile the TCS and TES at the same time, so I<br>
> > > can<br>
> > > just<br>
> > > pass the TCS output VUE map to brw_compile_tes as the TES input<br>
> > > VUE<br>
> > > map.<br>
> > ><br>
> > > So, we only need to do this in GL.  Move it to the GL-specific<br>
> > > layer.<br>
> > ><br>
> > > Signed-off-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>><br>
> > > ---<br>
> > >  src/mesa/drivers/dri/i965/<wbr>brw_compiler.h |  1 +<br>
> > >  src/mesa/drivers/dri/i965/<wbr>brw_shader.cpp | 12 ++++--------<br>
> > >  src/mesa/drivers/dri/i965/<wbr>brw_tes.c      |  8 ++++++--<br>
> > >  3 files changed, 11 insertions(+), 10 deletions(-)<br>
> > ><br>
> > > diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_compiler.h<br>
> > > b/src/mesa/drivers/dri/i965/<wbr>brw_compiler.h<br>
> > > index db8f39ce776..c378e9325cb 100644<br>
> > > --- a/src/mesa/drivers/dri/i965/<wbr>brw_compiler.h<br>
> > > +++ b/src/mesa/drivers/dri/i965/<wbr>brw_compiler.h<br>
> > > @@ -801,6 +801,7 @@ const unsigned *<br>
> > >  brw_compile_tes(const struct brw_compiler *compiler, void<br>
> > > *log_data,<br>
> > >                  void *mem_ctx,<br>
> > >                  const struct brw_tes_prog_key *key,<br>
> > > +                const struct brw_vue_map *input_vue_map,<br>
> > >                  struct brw_tes_prog_data *prog_data,<br>
> > >                  const struct nir_shader *shader,<br>
> > >                  struct gl_program *prog,<br>
> > > diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_shader.cpp<br>
> > > b/src/mesa/drivers/dri/i965/<wbr>brw_shader.cpp<br>
> > > index daa0c2408a8..f9d55f3adb1 100644<br>
> > > --- a/src/mesa/drivers/dri/i965/<wbr>brw_shader.cpp<br>
> > > +++ b/src/mesa/drivers/dri/i965/<wbr>brw_shader.cpp<br>
> > > @@ -1301,6 +1301,7 @@ brw_compile_tes(const struct brw_compiler<br>
> > > *compiler,<br>
> > >                  void *log_data,<br>
> > >                  void *mem_ctx,<br>
> > >                  const struct brw_tes_prog_key *key,<br>
> > > +                const struct brw_vue_map *input_vue_map,<br>
> > >                  struct brw_tes_prog_data *prog_data,<br>
> > >                  const nir_shader *src_shader,<br>
> > >                  struct gl_program *prog,<br>
> > > @@ -1315,12 +1316,7 @@ brw_compile_tes(const struct brw_compiler<br>
> > > *compiler,<br>
> > >     nir->info->inputs_read = key->inputs_read;<br>
> > >     nir->info->patch_inputs_<wbr>read = key->patch_inputs_read;<br>
> > >  <br>
> > > -   struct brw_vue_map input_vue_map;<br>
> > > -   brw_compute_tess_vue_map(&<wbr>input_vue_map, nir->info-<br>
> > > >inputs_read,<br>
> > > -                            <wbr>nir->info->patch_inputs_read);<br>
> > > -<br>
> > > -   nir = brw_nir_apply_sampler_key(nir, compiler, &key->tex,<br>
> > > is_scalar);<br>
> ><br>
> > This looks like it was deleted by mistake?<br>
><br>
> Yep, botched rebase.  I've put it back.  Thanks for catching that!<br>
<br>
With that fixed this is also:<br>
<br>
Reviewed-by: Timothy Arceri <<a href="mailto:timothy.arceri@collabora.com">timothy.arceri@collabora.com</a>><br>
<br>
> ______________________________<wbr>_________________<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/<wbr>mailman/listinfo/mesa-dev</a><br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>