[Piglit] [PATCH] compressedteximage: bump the texture size to reproduce a radeonsi bug (v2)
Marek Olšák
maraeo at gmail.com
Mon Jul 27 10:42:53 PDT 2015
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);
}
--
2.1.4
More information about the Piglit
mailing list