commit | 664355f05b39303fa0995b72160c82f5bf50e95e | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Tue Mar 27 10:29:04 2012 -0700 |
committer | Eric Anholt <eric@anholt.net> | Mon Apr 09 14:34:44 2012 -0700 |
tree | 798002a9cd150b73123ceaa435fcdf4221715b1b | |
parent | dcf42dbd066fe633c28afa36820da9e9430038df [diff] |
mesa: Track a gl_format for the texture buffer format. There was a function full of unused mappings from the GLenum to datatype/comps, but that wasn't all the information a driver would want, which includes the other fields that a gl_format has. Given that all the texture buffer formats were represented in gl_format, just use that as our description. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>