projects
/
platform
/
upstream
/
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
913c537
..
30e6f26
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;
/**