From: Eric Anholt Date: Wed, 21 Nov 2012 02:53:34 +0000 (-0800) Subject: glsl: Add a note about a surprising feature of gl_uniform_storage->type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd326623ef5f5ed51a843c33cc72007ff178de13;p=mesa.git glsl: Add a note about a surprising feature of gl_uniform_storage->type. Reviewed-by: Kenneth Graunke --- diff --git a/src/glsl/ir_uniform.h b/src/glsl/ir_uniform.h index 913c5377359..30e6f260d75 100644 --- 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; /**