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/v3d/v3d_screen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gallium/drivers/v3d/v3d_screen.c') diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c index 2eba557a64f..c0f70d0a92e 100644 --- a/src/gallium/drivers/v3d/v3d_screen.c +++ b/src/gallium/drivers/v3d/v3d_screen.c @@ -446,8 +446,7 @@ v3d_screen_is_format_supported(struct pipe_screen *pscreen, if (sample_count > 1 && sample_count != VC5_MAX_SAMPLES) return FALSE; - if ((target >= PIPE_MAX_TEXTURE_TYPES) || - !util_format_is_supported(format, usage)) { + if (target >= PIPE_MAX_TEXTURE_TYPES) { return FALSE; } -- cgit v1.2.3