mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
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:
parent
1d11ba0ba3
commit
f6c7b91165
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue