<div dir="ltr"><div>For the series:</div><div><br></div><div>Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>></div><div><br></div><div>Marek<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 23, 2018 at 3:08 AM <<a href="mailto:Mathias.Froehlich@gmx.net">Mathias.Froehlich@gmx.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Mathias Fröhlich <<a href="mailto:Mathias.Froehlich@gmx.net" target="_blank">Mathias.Froehlich@gmx.net</a>><br>
<br>
Hi,<br>
<br>
The series unifies functions for array setup into gallium.<br>
Instead of just walking all VAO attributes we can make use of<br>
the enabled and required attribute arrays also for feedback<br>
rendering.<br>
Along that way cleanup duplicate references and unneeded<br>
calls to the uploader.<br>
Beside unifying common code, the series prepare the gallium<br>
side of the removal of intermediately introduced methods<br>
for VAO/current value array access.<br>
<br>
The changes were tested with llvmpipe and radeonsi and piglit<br>
without regresseions by this series.<br>
<br>
please review<br>
<br>
Thanks in advance and best<br>
Mathias<br>
<br>
<br>
<br>
Mathias Fröhlich (6):<br>
  mesa/st: Only care about the uploader if it was used.<br>
  mesa/st: Only unmap the uploader that was actually used.<br>
  mesa/st: Factor out array and buffer setup from st_atom_array.c.<br>
  mesa/st: Avoid extra references in the feedback draw function scope.<br>
  mesa/st: Use binding information from the VAO in feedback rendering.<br>
  mesa/st: Make st_pipe_vertex_format static.<br>
<br>
 src/mesa/state_tracker/st_atom.h          |  27 ++++-<br>
 src/mesa/state_tracker/st_atom_array.c    | 116 +++++++++++++++++-----<br>
 src/mesa/state_tracker/st_draw_feedback.c |  94 ++++++------------<br>
 3 files changed, 146 insertions(+), 91 deletions(-)<br>
<br>
-- <br>
2.17.2<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">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>