r300g: make dithering work like fglrx.

From fglrx traces the dithering is never enabled.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2010-04-03 07:00:03 +10:00
parent 1d11ba0ba3
commit f6c7b91165

View file

@ -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;