aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_resource_texture.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-09-21 11:46:20 +0100
committerJosé Fonseca <[email protected]>2011-02-16 16:50:24 +0000
commit697a3eb832c5440051445bd315b63738a13dc3fd (patch)
treef2ae50c0d4b8b5960d2a8e35fc233afd36cc6fd6 /src/gallium/drivers/svga/svga_resource_texture.c
parent3903e25a2cd6c198581021242897b1952d2afea0 (diff)
svga: Don't fake DXT compression ability.
Diffstat (limited to 'src/gallium/drivers/svga/svga_resource_texture.c')
-rw-r--r--src/gallium/drivers/svga/svga_resource_texture.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c
index b63c84eee71..3d430737e02 100644
--- a/src/gallium/drivers/svga/svga_resource_texture.c
+++ b/src/gallium/drivers/svga/svga_resource_texture.c
@@ -146,16 +146,6 @@ svga_translate_format_render(enum pipe_format format)
case PIPE_FORMAT_L8_UNORM:
return svga_translate_format(format);
-#if 1
- /* For on host conversion */
- case PIPE_FORMAT_DXT1_RGB:
- return SVGA3D_X8R8G8B8;
- case PIPE_FORMAT_DXT1_RGBA:
- case PIPE_FORMAT_DXT3_RGBA:
- case PIPE_FORMAT_DXT5_RGBA:
- return SVGA3D_A8R8G8B8;
-#endif
-
default:
return SVGA3D_FORMAT_INVALID;
}