diff options
author | Matt Turner <[email protected]> | 2017-09-28 14:16:18 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-10-02 19:41:22 -0700 |
commit | 3a8a5e77e8f992aaa3539e060885138c2fcddad1 (patch) | |
tree | 2eebf1d1150bee8d2d285a5f7dd761999f1700e2 /src/gallium/drivers/llvmpipe | |
parent | f6c56e07fc5a8e81fd90688c9fee239f18c3480e (diff) |
gallium: Remove util_format_s3tc_enabled
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_test_format.c | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 53171162a54..7b694b57551 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -532,10 +532,6 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen, format != PIPE_FORMAT_ETC1_RGB8) return FALSE; - if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC) { - return util_format_s3tc_enabled; - } - /* * Everything can be supported by u_format * (those without fetch_rgba_float might be not but shouldn't hit that) diff --git a/src/gallium/drivers/llvmpipe/lp_test_format.c b/src/gallium/drivers/llvmpipe/lp_test_format.c index 9b16162131f..fd79087287e 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_format.c +++ b/src/gallium/drivers/llvmpipe/lp_test_format.c @@ -383,11 +383,6 @@ test_all(unsigned verbose, FILE *fp) if (util_format_is_pure_integer(format)) continue; - if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC && - !util_format_s3tc_enabled) { - continue; - } - /* only have util fetch func for etc1 */ if (format_desc->layout == UTIL_FORMAT_LAYOUT_ETC && format != PIPE_FORMAT_ETC1_RGB8) { |