Add glsl_type::get_base_type query
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 24 Mar 2010 00:31:39 +0000 (17:31 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 24 Mar 2010 00:31:39 +0000 (17:31 -0700)
commitbb7e00a1cd63f3012226253bb0121922419a5f23
treee9960d9eb03d90bc41be2acc39f5a7822baf9030
parent7aeb6abda7da155d81fc4bda5c0c03ff28e5ed0c
Add glsl_type::get_base_type query

Retreives the glsl_type that corresponds to the base type of a numeric scalar /
vector / matrix type.  So vec4 returns float, etc.
glsl_types.cpp
glsl_types.h