[Piglit] [PATCH] copyteximage: loosen the tolerance for compressed formats

Brian Paul brian.e.paul at gmail.com
Tue Aug 28 13:32:17 PDT 2012


From: Brian Paul <brianp at vmware.com>

Allows the test to pass with the VMware svaga driver (and might help
with other drivers too).
---
 tests/texturing/copyteximage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/texturing/copyteximage.c b/tests/texturing/copyteximage.c
index 6d4ee38..c08c3c4 100644
--- a/tests/texturing/copyteximage.c
+++ b/tests/texturing/copyteximage.c
@@ -432,7 +432,7 @@ test_target_and_format(GLint x, GLint y, GLenum target, GLenum format,
 	 * formats
 	 */
 	if (is_compressed_format(format))
-		piglit_set_tolerance_for_bits(7, 7, 7, 7);
+		piglit_set_tolerance_for_bits(6, 6, 6, 6);
 	else
 		piglit_set_tolerance_for_bits(8, 8, 8, 8);
 
-- 
1.7.4.1



More information about the Piglit mailing list