glformats: add _mesa_base_format_component_count
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 28 Dec 2012 00:45:13 +0000 (16:45 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 12 Jan 2013 09:44:25 +0000 (01:44 -0800)
commit89e07ccf613e6a5f65acc597ce888d4c12014647
tree2d22d5750da2edcf03667abb982b70d4a3256c93
parent6d63b6e50371afdcfe6dc7a4239380d07bc8e727
glformats: add _mesa_base_format_component_count

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/glformats.c
src/mesa/main/glformats.h