glsl: fix error message on uniform block mismatch
authorDave Airlie <airlied@redhat.com>
Wed, 25 May 2016 21:42:16 +0000 (07:42 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 26 May 2016 02:40:41 +0000 (12:40 +1000)
This looks like a cut-paste from above.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/link_interface_blocks.cpp

index 4eda09774efc5d8c78ccff63b942d074314b496c..5858eeedc2dd373991c2cdadd23eaa481eeb108d 100644 (file)
@@ -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;
             }