summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-08-04 15:34:59 -0600
committerBrian Paul <brianp@vmware.com>2009-08-04 15:36:28 -0600
commitb501263bf5965aa89c408cb8f0db3688847a8384 (patch)
tree3708b0d4032d9a026d7a3e216ff9e322c9082a89 /src
parent9f8110adcc5a6f47b5db0915bb9265925d520856 (diff)
mesa: added gl_shader::SourceChecksum field (for debug purposes)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index d0309f5e90..48f00b4b0b 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2004,6 +2004,7 @@ struct gl_shader
GLboolean Main; /**< shader defines main() */
GLboolean UnresolvedRefs;
const GLchar *Source; /**< Source code string */
+ GLuint SourceChecksum; /**< for debug/logging purposes */
struct gl_program *Program; /**< Post-compile assembly code */
GLchar *InfoLog;
struct gl_sl_pragmas Pragmas;