From f6c7b911653fb1508256c63518ef0bd15d68186e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 3 Apr 2010 07:00:03 +1000 Subject: [PATCH] r300g: make dithering work like fglrx. From fglrx traces the dithering is never enabled. Signed-off-by: Dave Airlie --- src/gallium/drivers/r300/r300_state.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.30.2