diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2015-06-25 08:20:01 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2015-08-03 11:04:53 -0700 |
commit | f917a65b3eeaf0e201bd7e695a5d13403e7ad487 (patch) | |
tree | 8a06cd18d3d2f7202d50d10418f9b64dc065abfa /src/mesa/drivers/dri/i965/gen6_multisample_state.c | |
parent | 07433760e3311ff17c0f909514ececdae9f6e9c6 (diff) | |
download | external_mesa3d-f917a65b3eeaf0e201bd7e695a5d13403e7ad487.zip external_mesa3d-f917a65b3eeaf0e201bd7e695a5d13403e7ad487.tar.gz external_mesa3d-f917a65b3eeaf0e201bd7e695a5d13403e7ad487.tar.bz2 |
i965: Trivial formatting changes in gen6_multisample_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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_multisample_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_multisample_state.c | 7 |
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 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, |