[Mesa-dev] [PATCH 5/9] i965: Trivial formatting changes in gen6_multisample_state.c
Ian Romanick
idr at freedesktop.org
Thu Jul 30 07:14:47 PDT 2015
From: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/mesa/drivers/dri/i965/gen6_multisample_state.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen6_multisample_state.c b/src/mesa/drivers/dri/i965/gen6_multisample_state.c
index cf1421e..8444c0c 100644
--- a/src/mesa/drivers/dri/i965/gen6_multisample_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_multisample_state.c
@@ -143,7 +143,6 @@ gen6_emit_3dstate_multisample(struct brw_context *brw,
ADVANCE_BATCH();
}
-
unsigned
gen6_determine_sample_mask(struct brw_context *brw)
{
@@ -176,7 +175,6 @@ gen6_determine_sample_mask(struct brw_context *brw)
}
}
-
/**
* 3DSTATE_SAMPLE_MASK
*/
@@ -189,15 +187,14 @@ gen6_emit_3dstate_sample_mask(struct brw_context *brw, unsigned mask)
ADVANCE_BATCH();
}
-
-static void upload_multisample_state(struct brw_context *brw)
+static void
+upload_multisample_state(struct brw_context *brw)
{
/* BRW_NEW_NUM_SAMPLES */
gen6_emit_3dstate_multisample(brw, brw->num_samples);
gen6_emit_3dstate_sample_mask(brw, gen6_determine_sample_mask(brw));
}
-
const struct brw_tracked_state gen6_multisample_state = {
.dirty = {
.mesa = _NEW_MULTISAMPLE,
--
2.1.0
More information about the mesa-dev
mailing list