summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-06-25 08:20:01 -0700
committerIan Romanick <[email protected]>2015-08-03 11:04:56 -0700
commitd302f51a1ee949fae5dc53f3c872c2712021caf7 (patch)
treef408b819651c46797fbf836527e3ea98660fba65
parentf917a65b3eeaf0e201bd7e695a5d13403e7ad487 (diff)
i965: Trivial formatting changes in gen7_vs_state.c
Signed-off-by: Ian Romanick <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Reviewed-by: Juha-Pekka Heikkila <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/gen7_vs_state.c10
1 files changed, 5 insertions, 5 deletions
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)
{