[Mesa-dev] [PATCH] i965: Avoid blocking on the GPU for setting the HiZ op vertex data.

Kenneth Graunke kenneth at whitecape.org
Tue Feb 28 01:17:15 PST 2012


On 02/27/2012 01:04 PM, Eric Anholt wrote:
> We need to allocate a new buffer every batch to avoid blocking on the
> last HiZ op completing.  There are two easy ways to do this:
> brw_state_batch() and intel_upload_data().  brw_state_batch() is
> simpler and avoids another buffer allocation.
>
> Improves Unigine Tropics performance 0.376416% +/- 0.148722% (n=7).

Oh...yeah.  brw_state_batch makes way more sense.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>



More information about the mesa-dev mailing list