Add glsl_type::get_instance method
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 25 Mar 2010 00:11:30 +0000 (17:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 25 Mar 2010 00:11:30 +0000 (17:11 -0700)
commit3209c4e3692eaa9468aadcd21ce402e6b0d5b7dd
tree90f2bd3db967138bfb6620208050b18a53cdf0e3
parent60b54d977a7b3df9612eb9232f6b5d6c3f393e2f
Add glsl_type::get_instance method

Gets the singleton corresponding to a particular scalar, vector, or
matrix type.
glsl_types.cpp
glsl_types.h