From: Dave Airlie Date: Fri, 2 Apr 2010 21:00:03 +0000 (+1000) Subject: r300g: make dithering work like fglrx. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6c7b911653fb1508256c63518ef0bd15d68186e;p=mesa.git r300g: make dithering work like fglrx. From fglrx traces the dithering is never enabled. Signed-off-by: Dave Airlie --- diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 39e05583dd4..bf17d5d9203 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -321,8 +321,10 @@ static void* r300_create_blend_state(struct pipe_context* pipe, } if (state->dither) { - blend->dither = R300_RB3D_DITHER_CTL_DITHER_MODE_LUT | - R300_RB3D_DITHER_CTL_ALPHA_DITHER_MODE_LUT; + /* fglrx appears to never set this */ + blend->dither = 0; + /* blend->dither = R300_RB3D_DITHER_CTL_DITHER_MODE_LUT | + R300_RB3D_DITHER_CTL_ALPHA_DITHER_MODE_LUT; */ } return (void*)blend;