From 3a8a5e77e8f992aaa3539e060885138c2fcddad1 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 28 Sep 2017 14:16:18 -0700 Subject: gallium: Remove util_format_s3tc_enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle Reviewed-by: Emil Velikov --- src/gallium/drivers/softpipe/sp_screen.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gallium/drivers/softpipe') diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 7e9d9e6592f..50eefe65af7 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -460,10 +460,6 @@ softpipe_is_format_supported( struct pipe_screen *screen, * All other operations (sampling, transfer, etc). */ - if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC) { - return util_format_s3tc_enabled; - } - /* * Everything else should be supported by u_format. */ -- cgit v1.2.3