From: Jordan Justen Date: Wed, 18 Mar 2015 22:43:34 +0000 (-0700) Subject: i965/state: Rename brw_clear_dirty_bits to brw_render_state_finished X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=736a31d46252187a04a7b5c0119e3ba9be2418cb;p=mesa.git i965/state: Rename brw_clear_dirty_bits to brw_render_state_finished Signed-off-by: Jordan Justen Reviewed-by: Kristian Høgsberg Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index 9b4d8e08690..c573b506492 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -534,7 +534,7 @@ retry: * reset the dirty bits. */ if (brw->state.dirty.brw) - brw_clear_dirty_bits(brw); + brw_render_state_finished(brw); } if (brw->always_flush_batch) diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index ae5ef1f812a..f175c29d790 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -169,7 +169,7 @@ brw_depthbuffer_format(struct brw_context *brw); * brw_state.c */ void brw_upload_render_state(struct brw_context *brw); -void brw_clear_dirty_bits(struct brw_context *brw); +void brw_render_state_finished(struct brw_context *brw); void brw_init_state(struct brw_context *brw); void brw_destroy_state(struct brw_context *brw); diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c index 542600f1d1c..f0d0bac398a 100644 --- a/src/mesa/drivers/dri/i965/brw_state_upload.c +++ b/src/mesa/drivers/dri/i965/brw_state_upload.c @@ -693,7 +693,7 @@ void brw_upload_render_state(struct brw_context *brw) * it had before the brw_upload_render_state() call. */ void -brw_clear_dirty_bits(struct brw_context *brw) +brw_render_state_finished(struct brw_context *brw) { struct brw_state_flags *state = &brw->state.dirty; memset(state, 0, sizeof(*state));