On 08/28/2012 03:01 PM, Marek Olšák wrote:
Interesting, I have the same patch here, except that I need the
tolerance to be 5,5,5,5 for r300g (COMPRESSED_RED is fetched with 4
bits of precision, but 5 is good enough for the test). Could you
please change it to 5,5,5,5?

Sure.  And I'll assume that's a Reviewed-by.

-Brian


Marek

On Tue, Aug 28, 2012 at 10:32 PM, Brian Paul<[email protected]>  wrote:
From: Brian Paul<[email protected]>

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

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to