glsl: Change do_set_program_inouts' is_fragment_shader arg to shader_type.
authorPaul Berry <stereotype441@gmail.com>
Wed, 31 Jul 2013 03:49:56 +0000 (20:49 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:18:42 +0000 (20:18 -0700)
commit906eff09e374c75b0486011b73b7048f6070456e
tree6b11fe03d732cb0aaaa04d09dce1735bea8669c2
parente7ed70a52e2d0efc11d1e9fe19938bc431f947c1
glsl: Change do_set_program_inouts' is_fragment_shader arg to shader_type.

This will allow us to add geometry shader support without having to
add another boolean argument.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir.h
src/glsl/ir_set_program_inouts.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp