[Mesa-dev] [PATCH 3/9] glsl: Fix indentation of switch code.

Kenneth Graunke kenneth at whitecape.org
Tue May 15 10:44:52 PDT 2012


On 05/14/2012 05:36 PM, Eric Anholt wrote:
> I managed to completely trash it in 22d81f15.
> ---
>   src/glsl/ast_to_hir.cpp |  545 +++++++++++++++++++++++------------------------
>   1 file changed, 263 insertions(+), 282 deletions(-)
>
> diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
> index 86bb874..01b1025 100644
> --- a/src/glsl/ast_to_hir.cpp
> +++ b/src/glsl/ast_to_hir.cpp
[snip]
> -     if (rest_expression != NULL)
> -	rest_expression->hir(&  stmt->body_instructions, state);
> +   /* For-loops and while-loops start a new scope, but do-while loops do not.
> +    `*/

Extraneous accent-grave here.  (Yes, I actually reviewed your whitespace 
patch. :))

Otherwise,
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list