Re: [Mesa-dev] [PATCH] i965: Ensure that all necessary state is re-emitted if we run out of aperture.

2014-01-11 Thread Kenneth Graunke
On 01/10/2014 07:34 PM, Paul Berry wrote: > Prior to this patch, if we ran out of aperture space during > brw_try_draw_prims(), we would rewind the batch buffer pointer > (potentially throwing some state that may have been emitted by > brw_upload_state()), flush the batch, and then try again. Howe

Re: [Mesa-dev] [PATCH] i965: Ensure that all necessary state is re-emitted if we run out of aperture.

2014-01-11 Thread Eric Anholt
Paul Berry writes: > Prior to this patch, if we ran out of aperture space during > brw_try_draw_prims(), we would rewind the batch buffer pointer > (potentially throwing some state that may have been emitted by > brw_upload_state()), flush the batch, and then try again. However, we > wouldn't re

[Mesa-dev] [PATCH] i965: Ensure that all necessary state is re-emitted if we run out of aperture.

2014-01-10 Thread Paul Berry
Prior to this patch, if we ran out of aperture space during brw_try_draw_prims(), we would rewind the batch buffer pointer (potentially throwing some state that may have been emitted by brw_upload_state()), flush the batch, and then try again. However, we wouldn't reset the dirty bits to the state