From 04903d1f639d21e1476552adf4de7f4edc35b489 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 16 Feb 2011 16:09:43 +1000 Subject: r600g: add L8A8 SRGB formats. this fixes the piglit mipmap generation sRGB on my rv730. Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600_texture.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/drivers/r600/r600_texture.c') diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 86de005031..cc36d94cd7 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -859,8 +859,6 @@ uint32_t r600_translate_texformat(enum pipe_format format, case UTIL_FORMAT_COLORSPACE_SRGB: word4 |= S_038010_FORCE_DEGAMMA(1); - if (format == PIPE_FORMAT_L8A8_SRGB || format == PIPE_FORMAT_L8_SRGB) - goto out_unknown; /* fails for some reason - TODO */ break; default: -- cgit v1.2.3