glsl: Remove pointless uses of glsl_type::get_base_type().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 25 Oct 2011 19:55:54 +0000 (12:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Oct 2011 18:12:33 +0000 (11:12 -0700)
commit3b4d2eac6001b464df11b175bd14fd4d3c4e412f
tree95ce88691d1f06eca22611c3397e4af07d49033c
parent1e1a7011ee8f7e954b9f77985665495e53efae22
glsl: Remove pointless uses of glsl_type::get_base_type().

These are effectively doing type->get_base_type()->base_type, which is
equivalent to type->base_type.  Just use that, as it's simpler.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir_print_visitor.cpp
src/glsl/ir_reader.cpp