Add inline funtion to comput format size based on code in st_format.c.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 11 Dec 2007 00:46:44 +0000 (00:46 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 11 Dec 2007 00:51:12 +0000 (00:51 +0000)
commit609538f57c93c6b6166777a329d80c46fef86f0b
tree6f3baf48ae2bbc884758e8680f1327780defeade
parent7d1894c6558c5cc7f503142cda11b8a12ea24e65
Add inline funtion to comput format size based on code in st_format.c.

Including state_tracker/st_format.h from pipe drivers is not an option
since it uses GL* types and pipe/p_util.h will clash with main/imports.h.
src/mesa/pipe/p_format.h