mesa: Make _mesa_get_format_bytes handle array formats.
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 7 Oct 2017 04:11:59 +0000 (21:11 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Oct 2017 22:06:17 +0000 (15:06 -0700)
commit51e7879544728e22bed74ea46437638856c8eb55
tree1ec7d6be43d42ee699acc4c19fe56d618f403a1a
parent96f80c8d4d97771b5450d6d15ddb3b172c7d69cf
mesa: Make _mesa_get_format_bytes handle array formats.

This is easier than making callers handle a bunch of special cases.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/formats.c