[Piglit] [PATCH] ext_transform_feedback-interleaved: disable unneeded printfs()
Brian Paul
brianp at vmware.com
Mon Dec 18 22:23:52 UTC 2017
No need to print passing cases. Reduced log noise.
---
tests/spec/ext_transform_feedback/interleaved.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/spec/ext_transform_feedback/interleaved.c b/tests/spec/ext_transform_feedback/interleaved.c
index a52474c..0d237d7 100644
--- a/tests/spec/ext_transform_feedback/interleaved.c
+++ b/tests/spec/ext_transform_feedback/interleaved.c
@@ -189,7 +189,8 @@ enum piglit_result piglit_display(void)
if (fabs(ptr[i] - expected[i]) > 0.01) {
printf("Buffer[%i]: %f, Expected: %f\n", i, ptr[i], expected[i]);
pass = GL_FALSE;
- } else {
+ } else if (0) {
+ /* debug */
printf("Buffer[%i]: %f, Expected: %f -- OK\n", i, ptr[i], expected[i]);
}
}
--
1.9.1
More information about the Piglit
mailing list