intel: Set the texture format in the TFP path.
authorEric Anholt <eric@anholt.net>
Fri, 30 Oct 2009 19:26:54 +0000 (12:26 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 30 Oct 2009 19:41:28 +0000 (12:41 -0700)
commit2073006c9566b08888b4338748a843c645bd0db1
tree3c2b66c7841c7af41eebad9dfafa7442b888add4
parentb568a2c808cc2258c354bf14f640bb1f6eaba4ba
intel: Set the texture format in the TFP path.

This fixes a regression in piglit's tfp test as of
11caea687e3f10ae12d33e44edf84635f73047dd.  Additionally, set the texture
format for the RGB textures to MESA_FORMAT_XRGB8888 and support it in the
hw paths so that hopefully sw fallbacks involving TFP get better alpha
behavior.

The radeon drivers appear to need the same fix.

Bug #24803
src/mesa/drivers/dri/intel/intel_tex_image.c