Blorp never uses points or lines and the default values of 0 are perfectly
fine. Explicitly setting them is just noise.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
default:
unreachable("not reached");
}
- dw5 |= GEN6_WM_LINE_AA_WIDTH_1_0;
- dw5 |= GEN6_WM_LINE_END_CAP_AA_WIDTH_0_5;
dw5 |= (brw->max_wm_threads - 1) << GEN6_WM_MAX_THREADS_SHIFT;
dw6 |= 0 << GEN6_WM_BARYCENTRIC_INTERPOLATION_MODE_SHIFT; /* No interp */
dw6 |= (params->wm_prog_data ? prog_data->num_varying_inputs : 0) <<
default:
unreachable("not reached");
}
- dw1 |= GEN7_WM_LINE_AA_WIDTH_1_0;
- dw1 |= GEN7_WM_LINE_END_CAP_AA_WIDTH_0_5;
dw1 |= 0 << GEN7_WM_BARYCENTRIC_INTERPOLATION_MODE_SHIFT; /* No interp */
if (params->wm_prog_data)
{
BEGIN_BATCH(2);
OUT_BATCH(_3DSTATE_WM << 16 | (2 - 2));
- OUT_BATCH(GEN7_WM_LINE_AA_WIDTH_1_0 |
- GEN7_WM_LINE_END_CAP_AA_WIDTH_0_5 |
- GEN7_WM_POINT_RASTRULE_UPPER_RIGHT);
+ OUT_BATCH(0);
ADVANCE_BATCH();
}