glsl: Add method ast_type_qualifier::interpolation_string()
authorChad Versace <chad.versace@intel.com>
Wed, 12 Jan 2011 00:59:24 +0000 (16:59 -0800)
committerChad Versace <chad.versace@intel.com>
Mon, 17 Jan 2011 17:41:24 +0000 (09:41 -0800)
commit0e2f8936c8ef872cb464e54a9f09ae0324487147
tree8dc8259289ca4067512c5c73bac027d91232bdfe
parent5a64626ee57183a404827e2cda8359db3529b180
glsl: Add method ast_type_qualifier::interpolation_string()

If an interpolation qualifier is present, then the method returns that
qualifier's string representation. For example, if the noperspective bit
is set, then it returns "noperspective".
src/glsl/ast.h
src/glsl/ast_type.cpp