<div dir="ltr"><div>FYI: I am planning to get to this. I've just been too busy with the branch point and this hasn't seemed like something we need to get in by then. I'll take a look on Monday.<br></div>--Jason<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 27, 2016 at 1:30 AM, Kenneth Graunke <span dir="ltr"><<a href="mailto:kenneth@whitecape.org" target="_blank">kenneth@whitecape.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wednesday, May 25, 2016 7:08:35 PM PDT Topi Pohjolainen wrote:<br>
> First three clarify a little how vertex buffers are configured in the<br>
> command stream. There is a subtle difference between gen8+ and earlier,<br>
> and I thought it would be clearer to have it documented with bspec<br>
> quotes.<br>
><br>
> Next four drop some hardcoding in upload logic making the emitters<br>
> to consult compiled fragment programs for correct settings.<br>
><br>
> Patches seven and eight allow subsequent uploads to avoid<br>
> reconfiguration of urb if the settings used by blorp are applicable.<br>
><br>
> Patches 8-12 build support for fast color clears and resolves to use<br>
> repclear without any color payload setup.<br>
><br>
> Final patch really prepares for flat inputs but might save us a few<br>
> electrons even with current setup.<br>
><br>
> Topi Pohjolainen (14):<br>
> i965/draw: Expose vertex buffer state setup<br>
> i965/gen8: Fix the vertex buffer size<br>
> i965/blorp: Use core vertex buffer state setup<br>
> i965/blorp: Use prog data counters to guide sf/sbe setup<br>
> i965/blorp: Use prog data counters to guide wm/ps setup<br>
> i965/blorp: Let program data tell if push constants are needed<br>
> i965/urb: Allow blorp to record current settings<br>
> i965/blorp: Fix the size requirement for vertex elements<br>
> i965/fs: Provide compiler options using a flags argument<br>
> i965/fs: Add support for repclear without color setup<br>
> i965/blorp: Ignore color setup in fast clears and resolves<br>
> i965/blorp/gen7+: Skip disabling already disabled stages<br>
> i965: Do not flush texture and data port caches for clears<br>
> i965/blorp: Disable vertex element swizzling<br>
><br>
> src/intel/vulkan/anv_pipeline.c | 6 +-<br>
> src/mesa/drivers/dri/i965/brw_blorp.c | 17 +---<br>
> src/mesa/drivers/dri/i965/brw_blorp.h | 14 ++-<br>
> src/mesa/drivers/dri/i965/brw_blorp_blit.cpp | 11 ++-<br>
> src/mesa/drivers/dri/i965/brw_blorp_clear.cpp | 47 +++++++---<br>
> src/mesa/drivers/dri/i965/brw_compiler.h | 9 +-<br>
> src/mesa/drivers/dri/i965/brw_context.h | 12 +--<br>
> src/mesa/drivers/dri/i965/brw_draw.h | 13 +++<br>
> src/mesa/drivers/dri/i965/brw_draw_upload.c | 74 ++++++++++-----<br>
> src/mesa/drivers/dri/i965/brw_fs.cpp | 23 ++---<br>
> src/mesa/drivers/dri/i965/brw_fs.h | 4 +-<br>
> src/mesa/drivers/dri/i965/brw_wm.c | 6 +-<br>
> src/mesa/drivers/dri/i965/gen6_blorp.c | 124 +++++++++++---------------<br>
> src/mesa/drivers/dri/i965/gen7_blorp.c | 113 ++++++++++++++---------<br>
> src/mesa/drivers/dri/i965/gen7_urb.c | 90 ++++++++++---------<br>
> src/mesa/drivers/dri/i965/gen8_blorp.c | 69 ++++++++++----<br>
> src/mesa/drivers/dri/i965/gen8_draw_upload.c | 41 ++++-----<br>
> 17 files changed, 403 insertions(+), 270 deletions(-)<br>
<br>
</div></div>Patches 4-11 and 14 are:<br>
Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>><br>
<br>
I'm not sure whether patch 11 is worth doing, though...it'd be nice to<br>
get some more data or a second opinion there.<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>
<br></blockquote></div><br></div>