svga: Remove some remaining fake S3TC rendering support.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 21 Feb 2011 18:24:36 +0000 (18:24 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 21 Feb 2011 18:36:51 +0000 (18:36 +0000)
src/gallium/drivers/svga/svga_sampler_view.c

index 49cae2d44f698264210856356f5bebcc30370d3b..4f1f4b597e844e27cf3140c8164d6b2d3f4a4d3b 100644 (file)
@@ -79,10 +79,6 @@ svga_get_tex_sampler_view(struct pipe_context *pipe,
       if (min_lod == 0 && max_lod >= pt->last_level)
          view = FALSE;
 
-      if (util_format_is_s3tc(pt->format) && view) {
-         format = svga_translate_format_render(pt->format);
-      }
-
       if (ss->debug.no_sampler_view)
          view = FALSE;