R600: Make ShaderType private
R600: Use range for and fix missing consts.