From ea8b55b49f2a2dd155fc0acb2fdd92795d5c548f Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 25 Jun 2018 12:34:39 -0400 Subject: gallium/util: remove dummy function util_format_is_supported Reviewed-by: Eric Engestrom --- src/gallium/drivers/radeonsi/si_state.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/gallium/drivers/radeonsi') diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index a27b244c834..1214f446fc1 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2142,9 +2142,6 @@ static boolean si_is_format_supported(struct pipe_screen *screen, return false; } - if (!util_format_is_supported(format, usage)) - return false; - if (sample_count > 1) { if (!screen->get_param(screen, PIPE_CAP_TEXTURE_MULTISAMPLE)) return false; -- cgit v1.2.3