[Piglit] [PATCH 1/6] shader_runner: Trivial whitespace fixes

Tapani Pälli tapani.palli at intel.com
Tue Jul 26 10:51:57 UTC 2016


Patches 1..5

(I sent small proposal to patch 5)

Reviewed-by: Tapani Pälli <tapani.palli at intel.com>


On 07/21/2016 10:04 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
>  tests/shaders/shader_runner.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
> index 5834585..0d7b593 100644
> --- a/tests/shaders/shader_runner.c
> +++ b/tests/shaders/shader_runner.c
> @@ -400,7 +400,7 @@ compile_glsl(GLenum target)
>  		char *shader_strings[2];
>  		char version_string[100];
>  		GLint shader_string_sizes[2];
> -		
> +
>  		/* Add a #version directive based on the GLSL requirement. */
>  		sprintf(version_string, "#version %d", glsl_req_version.num);
>  		if (glsl_req_version.es && glsl_req_version.num != 100) {
> @@ -411,7 +411,7 @@ compile_glsl(GLenum target)
>  		shader_string_sizes[0] = strlen(version_string);
>  		shader_strings[1] = shader_string;
>  		shader_string_sizes[1] = shader_string_size;
> -		
> +
>  		glShaderSource(shader, 2,
>  				    (const GLchar **) shader_strings,
>  				    shader_string_sizes);
>


More information about the Piglit mailing list