Re: [Mesa-dev] [PATCH 1/4] i965/blorp: Do pre-draw flush with two pipe-control writes

2017-01-17 Thread Pohjolainen, Topi
On Tue, Jan 17, 2017 at 03:17:08PM -0800, Jason Ekstrand wrote: >I think the commit message could use some work. How about: >i965/blorp: Use the render cache mechanism instead of explicit flusing Sounds good, thanks! >On Tue, Jan 17, 2017 at 10:48 AM, Topi Pohjolainen >

Re: [Mesa-dev] [PATCH 1/4] i965/blorp: Do pre-draw flush with two pipe-control writes

2017-01-17 Thread Jason Ekstrand
I think the commit message could use some work. How about: i965/blorp: Use the render cache mechanism instead of explicit flusing On Tue, Jan 17, 2017 at 10:48 AM, Topi Pohjolainen < topi.pohjolai...@gmail.com> wrote: > by replacing brw_emit_mi_flush() with brw_render_cache_set_check_flush().

[Mesa-dev] [PATCH 1/4] i965/blorp: Do pre-draw flush with two pipe-control writes

2017-01-17 Thread Topi Pohjolainen
by replacing brw_emit_mi_flush() with brw_render_cache_set_check_flush(). The latter splits the flush in two: brw_emit_pipe_control_flush(brw, PIPE_CONTROL_DEPTH_CACHE_FLUSH | PIPE_CONTROL_RENDER_TARGET_FLUSH |