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:
Eric Anholt 2012-11-20 18:53:34 -08:00
parent f189570ccf
commit bd326623ef
1 changed files with 4 additions and 0 deletions

View File

@ -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;
/**