i965: add support for EXT_texture_sRGB_decode
authorDave Airlie <airlied@gmail.com>
Thu, 13 Jan 2011 05:54:29 +0000 (15:54 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 16 Jan 2011 02:54:06 +0000 (12:54 +1000)
commit9b1a15e1cb42247703422d1d25c7150214778f84
treeb8195ecd32feef1c071d3f9749fd66643b3ca0aa
parentedc2dd8e4788e556d445c9f59974ed95b33c2bbc
i965: add support for EXT_texture_sRGB_decode

We just choose the texture format depending on the srgb decode bit
for the sRGB formats.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/intel/intel_extensions.c