glsl: Change _mesa_glsl_parse_state ctor to use gl_shader_stage enum.
authorPaul Berry <stereotype441@gmail.com>
Tue, 7 Jan 2014 17:46:10 +0000 (09:46 -0800)
committerPaul Berry <stereotype441@gmail.com>
Wed, 8 Jan 2014 15:31:49 +0000 (07:31 -0800)
commit911007820962d78a60c8056f64c0bde1ea724149
treeb77acc4b703a9a9f2404295ef6efc116dfacdd55
parente3b86f07da4ba9a4db6b8aae4072af6f1638b7cc
glsl: Change _mesa_glsl_parse_state ctor to use gl_shader_stage enum.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
v2: Also rename "target" param to "stage".

Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h
src/glsl/main.cpp
src/glsl/test_optpass.cpp
src/glsl/tests/builtin_variable_test.cpp
src/mesa/main/ff_fragment_shader.cpp