Add some missing 'const' and texture-op guards, for future change to enum-based textu...
authorJohn Kessenich <cepheus@frii.com>
Sat, 11 Jul 2015 19:37:02 +0000 (13:37 -0600)
committerJohn Kessenich <cepheus@frii.com>
Sat, 11 Jul 2015 19:37:02 +0000 (13:37 -0600)
commit73fcdefaac6a5f1499be0e7e34336ca8e244b7f9
tree08dd6ed9e7decfd8dc530ce9490128be97cd3c39
parente6f7988adec197e0590fb8274b0412811456d3e6
Add some missing 'const' and texture-op guards, for future change to enum-based texture calls.

The infrastructure is in place to not do text comparisons for "texture" ... for deducing type of
texture call.  But, it is not yet turned on, as it could break some consumers.  Am soliciting
any feedback on that.

See in Initialize.cpp: const bool PureOperatorBuiltins = false;  // could break backward compatibility; pending feedback
glslang/Include/intermediate.h