[Piglit] [PATCH] compressedteximage: bump the texture size to reproduce a radeonsi bug (v2)

Brian Paul brianp at vmware.com
Mon Jul 27 10:48:15 PDT 2015


On 07/27/2015 11:42 AM, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> v2: for some reason, the bigger size has more precision issues
> ---
>   tests/texturing/compressedteximage.c | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tests/texturing/compressedteximage.c b/tests/texturing/compressedteximage.c
> index e2ed202..5b8aaad 100644
> --- a/tests/texturing/compressedteximage.c
> +++ b/tests/texturing/compressedteximage.c
> @@ -34,7 +34,7 @@
>
>   #include "piglit-util-gl.h"
>
> -#define SIZE 128
> +#define SIZE 256
>
>   PIGLIT_GL_TEST_CONFIG_BEGIN
>
> @@ -282,4 +282,7 @@ piglit_init(int argc, char **argv)
>
>   	for (i = 0; format->extension[i]; i++)
>   		piglit_require_extension(format->extension[i]);
> +
> +	if (format->token == GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT)
> +		piglit_set_tolerance_for_bits(7, 7, 7, 7);
>   }
>

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the Piglit mailing list