Mesa (master): glsl: fix interface block error message
Timothy Arceri
tarceri at kemper.freedesktop.org
Tue Jan 19 03:51:40 UTC 2016
Module: Mesa
Branch: master
Commit: d018619d7f52b9a72d7c010d4afb70653d674f12
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d018619d7f52b9a72d7c010d4afb70653d674f12
Author: Timothy Arceri <timothy.arceri at collabora.com>
Date: Tue Jan 19 14:35:50 2016 +1100
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 at lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/glsl/ast_to_hir.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
}
More information about the mesa-commit
mailing list