summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-04-03 07:00:03 +1000
committerDave Airlie <[email protected]>2010-04-03 07:03:01 +1000
commitf6c7b911653fb1508256c63518ef0bd15d68186e (patch)
treec3cbabecfa4afc0825d9106861d2262b59e2daf5 /src/gallium/drivers/r300
parent1d11ba0ba3d3919bdee62a6513bc0c0d1e68aa66 (diff)
r300g: make dithering work like fglrx.
From fglrx traces the dithering is never enabled. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_state.c6
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 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;