[Piglit] [PATCH 2/2] fbo-blending-formats: Disable dithering
Ian Romanick
idr at freedesktop.org
Tue Jan 17 16:00:42 PST 2012
From: Ian Romanick <ian.d.romanick at intel.com>
With A1 and A2 formats, dithering causes changes of a single bit to
result in errors that are large enough (e.g., 0.443889 may dither to
0) for the pixel probes to reject.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43328
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
tests/fbo/fbo-blending-formats.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tests/fbo/fbo-blending-formats.c b/tests/fbo/fbo-blending-formats.c
index 9637210..5ea1b05 100644
--- a/tests/fbo/fbo-blending-formats.c
+++ b/tests/fbo/fbo-blending-formats.c
@@ -335,4 +335,5 @@ enum piglit_result piglit_display(void)
void piglit_init(int argc, char **argv)
{
fbo_formats_init(argc, argv, GL_TRUE);
+ glDisable(GL_DITHER);
}
--
1.7.6.4
More information about the Piglit
mailing list