aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/link_interface_blocks.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/link_interface_blocks.cpp b/src/glsl/link_interface_blocks.cpp
index ffb44530f5d..928a88ee262 100644
--- a/src/glsl/link_interface_blocks.cpp
+++ b/src/glsl/link_interface_blocks.cpp
@@ -105,7 +105,8 @@ validate_interstage_interface_blocks(struct gl_shader_program *prog,
continue;
if (var->interface_type != expected_type) {
- linker_error(prog, "interface block mismatch between shader stages\n");
+ linker_error(prog, "definitions of interface block `%s' do not "
+ "match\n", var->interface_type->name);
return;
}
}