projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31819c
)
glsl: fix interface block error message
author
Timothy Arceri
<timothy.arceri@collabora.com>
Tue, 19 Jan 2016 03:35:50 +0000
(14:35 +1100)
committer
Timothy Arceri
<timothy.arceri@collabora.com>
Tue, 19 Jan 2016 03:51:31 +0000
(14:51 +1100)
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>
src/glsl/ast_to_hir.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ast_to_hir.cpp
b/src/glsl/ast_to_hir.cpp
index 0f51c54bfe3e2ac2461279c33ce28232617157f3..cb57c16f0894ac90ea27acc433eeb815c85c4735 100644
(file)
--- 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);
}
}