mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-04 06:00:31 +01:00
i965: deindent blorp code.
gcc6 warns about this. Acked-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
e257284481
commit
8b89c92ef6
1 changed files with 9 additions and 9 deletions
|
|
@ -491,16 +491,16 @@ gen7_blorp_emit_wm_config(struct brw_context *brw,
|
|||
if (params->src.mt)
|
||||
dw1 |= GEN7_WM_KILL_ENABLE; /* TODO: temporarily smash on */
|
||||
|
||||
if (params->dst.num_samples > 1) {
|
||||
dw1 |= GEN7_WM_MSRAST_ON_PATTERN;
|
||||
if (prog_data && prog_data->persample_msaa_dispatch)
|
||||
dw2 |= GEN7_WM_MSDISPMODE_PERSAMPLE;
|
||||
else
|
||||
dw2 |= GEN7_WM_MSDISPMODE_PERPIXEL;
|
||||
} else {
|
||||
dw1 |= GEN7_WM_MSRAST_OFF_PIXEL;
|
||||
if (params->dst.num_samples > 1) {
|
||||
dw1 |= GEN7_WM_MSRAST_ON_PATTERN;
|
||||
if (prog_data && prog_data->persample_msaa_dispatch)
|
||||
dw2 |= GEN7_WM_MSDISPMODE_PERSAMPLE;
|
||||
}
|
||||
else
|
||||
dw2 |= GEN7_WM_MSDISPMODE_PERPIXEL;
|
||||
} else {
|
||||
dw1 |= GEN7_WM_MSRAST_OFF_PIXEL;
|
||||
dw2 |= GEN7_WM_MSDISPMODE_PERSAMPLE;
|
||||
}
|
||||
|
||||
BEGIN_BATCH(3);
|
||||
OUT_BATCH(_3DSTATE_WM << 16 | (3 - 2));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue