diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-05 09:14:19 -0700 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-05 09:14:19 -0700 |
commit | 2ff46366030e3fee918c4be9e82335617435c42a (patch) | |
tree | 8674d74f3bfe3911dd558462363fdc96c3a5d39a /src/mesa/shader/prog_uniform.h | |
parent | 05a17f83b0a6549fde41540f9075505e81ab08d3 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_uniform.h b/src/mesa/shader/prog_uniform.h index 735de28705..deea732991 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) */ |