summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.h
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2013-07-27 14:58:43 -0700
committerPaul Berry <stereotype441@gmail.com>2013-07-30 10:10:26 -0700
commit659ec1c958b59b77b5334d1121722ea0c80dddf8 (patch)
treec8b7fa1e656c7402e0069ead94d3c4f61999b9ef /src/glsl/linker.h
parent4682b9b7bfffff0caa7bd0f6af3ae820a1df08af (diff)
downloadexternal_mesa3d-659ec1c958b59b77b5334d1121722ea0c80dddf8.zip
external_mesa3d-659ec1c958b59b77b5334d1121722ea0c80dddf8.tar.gz
external_mesa3d-659ec1c958b59b77b5334d1121722ea0c80dddf8.tar.bz2
glsl: Add error message for intrastage interface block mismatch.
Previously we failed to link (which is correct), but we did not output an error message, which could have been confusing for users. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r--src/glsl/linker.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h
index 85a6817..9f5deb5 100644
--- a/src/glsl/linker.h
+++ b/src/glsl/linker.h
@@ -61,7 +61,8 @@ link_uniform_blocks(void *mem_ctx,
struct gl_uniform_block **blocks_ret);
bool
-validate_intrastage_interface_blocks(const gl_shader **shader_list,
+validate_intrastage_interface_blocks(struct gl_shader_program *prog,
+ const gl_shader **shader_list,
unsigned num_shaders);
bool