Module: Mesa
Branch: master
Commit: dcb21d8b1cc3962faac600dabc87f3038acb5c5d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcb21d8b1cc3962faac600dabc87f3038acb5c5d

Author: José Fonseca <jfons...@vmware.com>
Date:   Mon Feb 21 18:24:36 2011 +0000

svga: Remove some remaining fake S3TC rendering support.

---

 src/gallium/drivers/svga/svga_sampler_view.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_sampler_view.c 
b/src/gallium/drivers/svga/svga_sampler_view.c
index 49cae2d..4f1f4b5 100644
--- a/src/gallium/drivers/svga/svga_sampler_view.c
+++ b/src/gallium/drivers/svga/svga_sampler_view.c
@@ -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;
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to