projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d11ba0
)
r300g: make dithering work like fglrx.
author
Dave Airlie
<airlied@redhat.com>
Fri, 2 Apr 2010 21:00:03 +0000
(07:00 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 2 Apr 2010 21:03:01 +0000
(07:03 +1000)
From fglrx traces the dithering is never enabled.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_state.c
b/src/gallium/drivers/r300/r300_state.c
index 39e05583dd47dcb26eebd181274a23344cc231f6..bf17d5d92036768eb45f39234c54dfc87db12130 100644
(file)
--- 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;