summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-01-19 14:35:50 +1100
committerTimothy Arceri <timothy.arceri@collabora.com>2016-01-19 14:51:31 +1100
commitd018619d7f52b9a72d7c010d4afb70653d674f12 (patch)
tree0b98fae41e8ebf2234fe2dd9c17c9ce7b77a3b4b /src/glsl
parenta31819cff8f4560786d731f5f1de6ba814368a2f (diff)
downloadexternal_mesa3d-d018619d7f52b9a72d7c010d4afb70653d674f12.zip
external_mesa3d-d018619d7f52b9a72d7c010d4afb70653d674f12.tar.gz
external_mesa3d-d018619d7f52b9a72d7c010d4afb70653d674f12.tar.bz2
glsl: fix interface block error message
Print the stream value not the pointer to the expression, also use the unsigned format specifier. Cc: 11.1 <mesa-stable@lists.freedesktop.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/ast_to_hir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 0f51c54..cb57c16 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -6358,7 +6358,7 @@ ast_process_struct_or_iface_block_members(exec_list *instructions,
qual_stream != block_stream) {
_mesa_glsl_error(&loc, state, "stream layout qualifier on "
"interface block member does not match "
- "the interface block (%d vs %d)", qual->stream,
+ "the interface block (%u vs %u)", qual_stream,
block_stream);
}
}