glsl: Add a note about a surprising feature of gl_uniform_storage->type.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
f189570ccf
commit
bd326623ef
|
@ -80,6 +80,10 @@ struct gl_uniform_driver_storage {
|
||||||
|
|
||||||
struct gl_uniform_storage {
|
struct gl_uniform_storage {
|
||||||
char *name;
|
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;
|
const struct glsl_type *type;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue