glsl: Convert glsl_type::base_type from #define'd constants to an enum.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 11 Nov 2010 07:20:47 +0000 (23:20 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 15 Nov 2010 21:33:57 +0000 (13:33 -0800)
commit5dc74e9c77de7d30ac08c25f224ffa93006d8d7c
treed5484fc625ac88cb5d65c2bb48210f38227f66ef
parentee36f14fa54723f2da3cf6054f822ebf05cca247
glsl: Convert glsl_type::base_type from #define'd constants to an enum.

This is nice because printing type->base_type in GDB will now give you a
readable name instead of a number.
src/glsl/glsl_types.cpp
src/glsl/glsl_types.h