[Piglit] [PATCH] ext_transform_feedback-interleaved: disable unneeded printfs()

Timothy Arceri tarceri at itsqueeze.com
Tue Dec 19 01:58:27 UTC 2017


Probably should just remove it but I don't really care either way so:

Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>

On 19/12/17 09:23, Brian Paul wrote:
> 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]);
>   		}
>   	}
> 


More information about the Piglit mailing list