The new make-revision script regenerates glslang/Include/revision.h, used as it always has been, but made with a git-tag version and the the number of commits on master. I have a pre-commit hook that will automatically do this on master, likely often enough to work in practice, without needing pull requests to include it.
6 lines
279 B
C
6 lines
279 B
C
// This header is generated by the make-revision script.
|
|
// For the version, it uses the latest git tag followed by the number of commits.
|
|
// For the date, it uses the current date (when then script is run).
|
|
|
|
#define GLSLANG_REVISION "2.1.686"
|
|
#define GLSLANG_DATE "02-Aug-2015"
|