summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_uniform.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-05 09:17:55 -0700
committerBrian Paul <[email protected]>2008-11-05 09:17:55 -0700
commit949e7383b597563b5603ba9b63fcfa4b1f45cf42 (patch)
tree65aac238d8665137d7da1f9a61a9b56313f968d6 /src/mesa/shader/prog_uniform.h
parentaab429c8df228271786890691a43786baf091b37 (diff)
mesa: add Initialized field to gl_uniform struct, for debugging purposes only
Diffstat (limited to 'src/mesa/shader/prog_uniform.h')
-rw-r--r--src/mesa/shader/prog_uniform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_uniform.h b/src/mesa/shader/prog_uniform.h
index 735de28705a..deea7329912 100644
--- a/src/mesa/shader/prog_uniform.h
+++ b/src/mesa/shader/prog_uniform.h
@@ -50,6 +50,7 @@ struct gl_uniform
const char *Name; /**< Null-terminated string */
GLint VertPos;
GLint FragPos;
+ GLboolean Initialized; /**< For debug. Has this uniform been set? */
#if 0
GLenum DataType; /**< GL_FLOAT, GL_FLOAT_VEC2, etc */
GLuint Size; /**< Number of components (1..4) */