i965: Trivial formatting changes in gen7_vs_state.c

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
This commit is contained in:
Ian Romanick 2015-06-25 08:20:01 -07:00
parent f917a65b3e
commit d302f51a1e

View file

@ -62,6 +62,7 @@ gen7_upload_constant_state(struct brw_context *brw,
OUT_BATCH(active ? stage_state->push_const_size : 0); OUT_BATCH(active ? stage_state->push_const_size : 0);
OUT_BATCH(0); OUT_BATCH(0);
} }
/* Pointer to the constant buffer. Covered by the set of state flags /* Pointer to the constant buffer. Covered by the set of state flags
* from gen6_prepare_wm_contants * from gen6_prepare_wm_contants
*/ */
@ -95,15 +96,14 @@ gen7_upload_constant_state(struct brw_context *brw,
ADVANCE_BATCH(); ADVANCE_BATCH();
/* On SKL+ the new constants don't take effect until the next corresponding /* 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 * 3DSTATE_BINDING_TABLE_POINTER_* command is parsed so we need to ensure
* that is sent * that is sent
*/ */
if (brw->gen >= 9) if (brw->gen >= 9)
brw->ctx.NewDriverState |= BRW_NEW_SURFACES; brw->ctx.NewDriverState |= BRW_NEW_SURFACES;
} }
static void static void
upload_vs_state(struct brw_context *brw) upload_vs_state(struct brw_context *brw)
{ {