diff options
author | Eric Anholt <eric@anholt.net> | 2013-06-18 14:54:18 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-08-30 11:30:44 -0700 |
commit | 2e2445fa7e7a916ae2e6304fa8075820d516dc3c (patch) | |
tree | 7b2409187351a9d63632b00a117d635660baddb2 /src/mesa/drivers/dri/i965/intel_batchbuffer.h | |
parent | 85aff83f3e355f6c258ebab12f6abfc7d9e9984a (diff) | |
download | external_mesa3d-2e2445fa7e7a916ae2e6304fa8075820d516dc3c.zip external_mesa3d-2e2445fa7e7a916ae2e6304fa8075820d516dc3c.tar.gz external_mesa3d-2e2445fa7e7a916ae2e6304fa8075820d516dc3c.tar.bz2 |
i965: Add missing state reset at the end of blorp.
These are things that happen to be occurring because of the batch flush at
the start of the blorp op (which exists to prevent batch space or aperture
space overflow), but the intention was for this sequence of state resets at
the end of blorp to be everything necessary for the next draw call.
Found when debugging the next commit, by comparing brw_new_batch() and
intel_batchbuffer_reset() to brw_blorp_exec().
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_batchbuffer.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_batchbuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.h b/src/mesa/drivers/dri/i965/intel_batchbuffer.h index 15a9ca1..d46f48e 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.h +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.h @@ -28,6 +28,7 @@ void intel_batchbuffer_init(struct brw_context *brw); void intel_batchbuffer_free(struct brw_context *brw); void intel_batchbuffer_save_state(struct brw_context *brw); void intel_batchbuffer_reset_to_saved(struct brw_context *brw); +void intel_batchbuffer_clear_cache(struct brw_context *brw); int _intel_batchbuffer_flush(struct brw_context *brw, const char *file, int line); |