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

Brian Paul brianp at vmware.com
Tue Aug 28 14:16:57 PDT 2012


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<brian.e.paul at gmail.com>  wrote:
>> 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
>>
>> _______________________________________________
>> Piglit mailing list
>> Piglit at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/piglit
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit



More information about the Piglit mailing list