glsl: add gl_linked_shader::SourceChecksum
authorMarek Olšák <marek.olsak@amd.com>
Fri, 18 Nov 2016 18:49:55 +0000 (19:49 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 22 Nov 2016 17:05:51 +0000 (18:05 +0100)
commitb818df1e714ed8bd2f1c3a68ee842cd81a0d7cf4
treeec681ad62ab1b0322c8dab0244b2032fa226d5bf
parent6dfdf52b6af416fccf28420d64585d809d745b0a
glsl: add gl_linked_shader::SourceChecksum

for debugging

v2: wrap all checksums in #ifdef DEBUG

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/glsl/linker.cpp
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c
src/mesa/program/prog_print.c