mesa: added gl_shader::SourceChecksum field (for debug purposes)
authorBrian Paul <brianp@vmware.com>
Tue, 4 Aug 2009 21:34:59 +0000 (15:34 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 4 Aug 2009 21:36:28 +0000 (15:36 -0600)
src/mesa/main/mtypes.h

index d0309f5e90dbd7ff92bb224f312a9d45335021f9..48f00b4b0bacf0a972aeaf0358f7424fff475c27 100644 (file)
@@ -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;