[Mesa-stable] [Mesa-dev] [PATCH] glsl: fix interface block error message

Ilia Mirkin imirkin at alum.mit.edu
Mon Jan 18 19:43:53 PST 2016


Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Mon, Jan 18, 2016 at 10:41 PM, Timothy Arceri
<timothy.arceri at collabora.com> wrote:
> Print the stream value not the pointer to the expression,
> also use the unsigned format specifier.
>
> Cc: 11.1 <mesa-stable at lists.freedesktop.org>
> ---
>  src/glsl/ast_to_hir.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
> index 38b2fef..d03cbcc 100644
> --- a/src/glsl/ast_to_hir.cpp
> +++ b/src/glsl/ast_to_hir.cpp
> @@ -6392,7 +6392,7 @@ ast_process_struct_or_iface_block_members(exec_list *instructions,
>               qual_stream != block_stream) {
>              _mesa_glsl_error(&loc, state, "stream layout qualifier on "
>                               "interface block member does not match "
> -                             "the interface block (%d vs %d)", qual->stream,
> +                             "the interface block (%u vs %u)", qual_stream,
>                               block_stream);
>           }
>        }
> --
> 2.4.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-stable mailing list