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

Dave Airlie airlied at gmail.com
Wed May 25 21:42:50 UTC 2016


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



More information about the mesa-dev mailing list