From: Brian Paul Date: Tue, 4 Aug 2009 21:34:59 +0000 (-0600) Subject: mesa: added gl_shader::SourceChecksum field (for debug purposes) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b501263bf5965aa89c408cb8f0db3688847a8384;p=mesa.git mesa: added gl_shader::SourceChecksum field (for debug purposes) --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index d0309f5e90d..48f00b4b0ba 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;