summaryrefslogtreecommitdiffstats
path: root/src
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:53 -0700
commitf917a65b3eeaf0e201bd7e695a5d13403e7ad487 (patch)
tree8a06cd18d3d2f7202d50d10418f9b64dc065abfa /src
parent07433760e3311ff17c0f909514ececdae9f6e9c6 (diff)
i965: Trivial formatting changes in gen6_multisample_state.c
Signed-off-by: Ian Romanick <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_multisample_state.c7
1 files 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 cf1421e5e9f..8444c0c9bae 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,