From: Ian Romanick Date: Thu, 25 Jun 2015 15:20:01 +0000 (-0700) Subject: i965: Trivial formatting changes in gen7_vs_state.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d302f51a1ee949fae5dc53f3c872c2712021caf7;p=mesa.git i965: Trivial formatting changes in gen7_vs_state.c Signed-off-by: Ian Romanick Acked-by: Jason Ekstrand Reviewed-by: Juha-Pekka Heikkila --- diff --git a/src/mesa/drivers/dri/i965/gen7_vs_state.c b/src/mesa/drivers/dri/i965/gen7_vs_state.c index 4b17d06fa83..00bc6f24dbe 100644 --- a/src/mesa/drivers/dri/i965/gen7_vs_state.c +++ b/src/mesa/drivers/dri/i965/gen7_vs_state.c @@ -62,6 +62,7 @@ gen7_upload_constant_state(struct brw_context *brw, OUT_BATCH(active ? stage_state->push_const_size : 0); OUT_BATCH(0); } + /* Pointer to the constant buffer. Covered by the set of state flags * from gen6_prepare_wm_contants */ @@ -95,15 +96,14 @@ gen7_upload_constant_state(struct brw_context *brw, ADVANCE_BATCH(); - /* On SKL+ the new constants don't take effect until the next corresponding - * 3DSTATE_BINDING_TABLE_POINTER_* command is parsed so we need to ensure - * that is sent - */ + /* On SKL+ the new constants don't take effect until the next corresponding + * 3DSTATE_BINDING_TABLE_POINTER_* command is parsed so we need to ensure + * that is sent + */ if (brw->gen >= 9) brw->ctx.NewDriverState |= BRW_NEW_SURFACES; } - static void upload_vs_state(struct brw_context *brw) {