glsl: Make the standalone compiler accept '.glsl' files.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 16 Apr 2012 21:40:45 +0000 (14:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 17 Apr 2012 23:04:57 +0000 (16:04 -0700)
commit7e35d97a02cf139746ce9e85b78fe0c651139074
tree5fabf27ffc377a59d406cb0ecf629814e844db94
parenta5e95a419e4f6ad93e35a960113d97ae2de27476
glsl: Make the standalone compiler accept '.glsl' files.

These ought to be treated as 'any stage', but for now, they're just
treated as vertex shaders.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/main.cpp