summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/vc4
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2018-06-25 12:34:39 -0400
committerMarek Olšák <marek.olsak@amd.com>2018-06-29 15:31:49 -0400
commitea8b55b49f2a2dd155fc0acb2fdd92795d5c548f (patch)
tree7939668507ee3fa496f42c8be0431f32f63ae3e5 /src/gallium/drivers/vc4
parent82bf8a6a820bb7dd78dd3e2fa8965329da6f866e (diff)
gallium/util: remove dummy function util_format_is_supported
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c
index 527ebeb2f48..17776fa4d9b 100644
--- a/src/gallium/drivers/vc4/vc4_screen.c
+++ b/src/gallium/drivers/vc4/vc4_screen.c
@@ -486,8 +486,7 @@ vc4_screen_is_format_supported(struct pipe_screen *pscreen,
if (sample_count > 1 && sample_count != VC4_MAX_SAMPLES)
return FALSE;
- if ((target >= PIPE_MAX_TEXTURE_TYPES) ||
- !util_format_is_supported(format, usage)) {
+ if (target >= PIPE_MAX_TEXTURE_TYPES) {
return FALSE;
}