[Mesa-dev] [PATCH 1/4] glsl: remove trailing spaces in ast_to_hir.cpp

Kenneth Graunke kenneth at whitecape.org
Tue Nov 24 11:27:35 PST 2015


On Tuesday, November 24, 2015 12:47:35 PM Iago Toral Quiroga wrote:
> ---
>  src/glsl/ast_to_hir.cpp | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
> index 81cde73..8fcda63 100644
> --- a/src/glsl/ast_to_hir.cpp
> +++ b/src/glsl/ast_to_hir.cpp
> @@ -1824,7 +1824,7 @@ ast_expression::do_hir(exec_list *instructions,
>         * tree.  This particular use must be at location specified in the grammar
>         * as 'variable_identifier'.
>         */
> -      ir_variable *var = 
> +      ir_variable *var =
>           state->symbols->get_variable(this->primary_expression.identifier);
>  
>        if (var != NULL) {
> @@ -5557,8 +5557,8 @@ ast_switch_statement::hir(exec_list *instructions,
>  
>     /* From page 66 (page 55 of the PDF) of the GLSL 1.50 spec:
>      *
> -    *    "The type of init-expression in a switch statement must be a 
> -    *     scalar integer." 
> +    *    "The type of init-expression in a switch statement must be a
> +    *     scalar integer."
>      */
>     if (!test_expression->type->is_scalar() ||
>         !test_expression->type->is_integer()) {
> 

Series is:
Acked-by: Kenneth Graunke <kenneth at whitecape.org>

Though I think nobody would have minded if you just pushed these trivial
patches without sending them for review :)

Squash or don't squash, I don't really mind either way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151124/f079340d/attachment.sig>


More information about the mesa-dev mailing list