r300g: Expound on dithering comment.

This commit is contained in:
Corbin Simpson 2010-04-02 14:21:50 -07:00
parent f6c7b91165
commit 21961f6e96
1 changed files with 9 additions and 4 deletions

View File

@ -320,12 +320,17 @@ static void* r300_create_blend_state(struct pipe_context* pipe,
}
}
/* Neither fglrx nor classic r300 ever set this, regardless of dithering
* state. Since it's an optional implementation detail, we can leave it
* out and never dither.
*
* This could be revisited if we ever get quality or conformance hints.
*
if (state->dither) {
/* 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; */
blend->dither = R300_RB3D_DITHER_CTL_DITHER_MODE_LUT |
R300_RB3D_DITHER_CTL_ALPHA_DITHER_MODE_LUT;
}
*/
return (void*)blend;
}