util: simplify util_format_get_nr_components helper
authorRoland Scheidegger <sroland@vmware.com>
Tue, 9 Mar 2010 16:27:45 +0000 (17:27 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 9 Mar 2010 16:28:27 +0000 (17:28 +0100)
commite0f10a6fca34619f61c3533b68d89dcb1ff2627c
tree0e7aa17a8e40045a1fd7a3eececa81bf16264e13
parent09a7c25e7661887be31f3cd340010b99b407ef16
util: simplify util_format_get_nr_components helper

since the number of components is now stored in the pipe format description,
we obviously no longer need to figure this out ourselves.
src/gallium/auxiliary/util/u_format.h