glsl: remove glsl_type::get_vec4_type()
authorBryan Cain <bryancain3@gmail.com>
Wed, 15 Jun 2011 22:31:51 +0000 (17:31 -0500)
committerBryan Cain <bryancain3@gmail.com>
Mon, 1 Aug 2011 22:59:08 +0000 (17:59 -0500)
commit1141c3f4c4014e3c2834db65b96a3ba7cc78744a
treea21e1fcda00cc07160985d6ae98e261958b84e04
parentb30bbd7436bdb9727d3766ba9c07abd610e6dda8
glsl: remove glsl_type::get_vec4_type()

Thanks to Kenneth Graunke for pointing out that glsl_type::get_instance(base, 4, 1)
is the same as glsl_type::get_vec4_type(base).

The function was only used in st_glsl_to_tgsi, and this commit replaces that usage
with get_instance.
src/glsl/glsl_types.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp