mesa st: Change the preferred internal format for some RGB formats.
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 30 Jul 2009 10:39:26 +0000 (12:39 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 30 Jul 2009 10:43:35 +0000 (12:43 +0200)
commit98ba6cfb4cc7440f0fb4f101ff714143720e175e
tree747927b9c2ed4715a181648cd964ff4ae2983ed6
parentf583745519b2b99ca637cdfa6201fd653c848fd6
mesa st: Change the preferred internal format for some RGB formats.

For GL_RGB5, GL_RGB4 and GL_R3_G3_B2, prefer
PIPE_FORMAT_R5G6B5_UNORM over PIPE_FORMAT_A1R5G5B5_UNORM, since hardware
is more likely to support the previous format for rendering.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/mesa/state_tracker/st_format.c