projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f189570
)
glsl: Add a note about a surprising feature of gl_uniform_storage->type.
author
Eric Anholt
<eric@anholt.net>
Wed, 21 Nov 2012 02:53:34 +0000
(18:53 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 28 Dec 2012 18:53:42 +0000
(10:53 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_uniform.h
patch
|
blob
|
history
diff --git
a/src/glsl/ir_uniform.h
b/src/glsl/ir_uniform.h
index 913c5377359d4a831c47d54fce5ee5953eb3d449..30e6f260d75eec9b72c1311d5d9c687d2fc112d3 100644
(file)
--- a/
src/glsl/ir_uniform.h
+++ b/
src/glsl/ir_uniform.h
@@
-80,6
+80,10
@@
struct gl_uniform_driver_storage {
struct gl_uniform_storage {
char *name;
+ /** Type of this uniform data stored.
+ *
+ * In the case of an array, it's the type of a single array element.
+ */
const struct glsl_type *type;
/**