Module: Mesa Branch: master Commit: f6c7b911653fb1508256c63518ef0bd15d68186e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6c7b911653fb1508256c63518ef0bd15d68186e
Author: Dave Airlie <[email protected]> Date: Sat Apr 3 07:00:03 2010 +1000 r300g: make dithering work like fglrx. >From fglrx traces the dithering is never enabled. Signed-off-by: Dave Airlie <[email protected]> --- src/gallium/drivers/r300/r300_state.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 39e0558..bf17d5d 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
