intel: Use _mesa_base_tex_format for FBO texture attachments.
authorEric Anholt <eric@anholt.net>
Sat, 16 Apr 2011 03:28:51 +0000 (20:28 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 18 Apr 2011 18:19:53 +0000 (11:19 -0700)
commitcd3568c329cff16333455fa2228a7c27b261cf05
tree0cec214111b345aa2438e14c50979bfb1cb0891d
parent699ecec58c6925fb174ecf925158df6cce59be59
intel: Use _mesa_base_tex_format for FBO texture attachments.

The _mesa_base_fbo_format variant doesn't handle some texture
internalformats, such as "3".

Fixes:
fbo-blending-formats.
fbo-alphatest-formats
EXT_texture_sRGB/fbo-alphatest-formats

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/intel/intel_fbo.c