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 <[email protected]> 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.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
