From af35afed0661a6b06b407a49035e3b293bff2df0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 11 Aug 2014 15:55:45 -0700 Subject: [PATCH] vc4: Texture format support has nothing to do with VBO format support. This was inherited from freedreno, but doesn't apply to us. --- src/gallium/drivers/vc4/vc4_screen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index 4ddc9acba93..08419306f43 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -356,8 +356,7 @@ vc4_screen_is_format_supported(struct pipe_screen *pscreen, if ((usage & PIPE_BIND_SAMPLER_VIEW) && (vc4_get_texture_format(format) != ~0)) { - retval |= usage & (PIPE_BIND_SAMPLER_VIEW | - PIPE_BIND_VERTEX_BUFFER); + retval |= PIPE_BIND_SAMPLER_VIEW; } if ((usage & PIPE_BIND_DEPTH_STENCIL) &&