[Mesa-dev] [PATCH] glsl: fix error message on uniform block mismatch

Anuj Phogat anuj.phogat at gmail.com
Wed May 25 22:10:20 UTC 2016


On Wed, May 25, 2016 at 2:42 PM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This looks like a cut-paste from above.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/compiler/glsl/link_interface_blocks.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compiler/glsl/link_interface_blocks.cpp b/src/compiler/glsl/link_interface_blocks.cpp
> index 4eda097..5858eee 100644
> --- a/src/compiler/glsl/link_interface_blocks.cpp
> +++ b/src/compiler/glsl/link_interface_blocks.cpp
> @@ -409,7 +409,7 @@ validate_interstage_uniform_blocks(struct gl_shader_program *prog,
>               * shaders are in the same shader stage).
>               */
>              if (!intrastage_match(old_def, var, prog)) {
> -               linker_error(prog, "definitions of interface block `%s' do not "
> +               linker_error(prog, "definitions of uniform block `%s' do not "
>                              "match\n", var->get_interface_type()->name);
>                 return;
>              }
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list