From: Eric Anholt Date: Mon, 11 Aug 2014 22:55:45 +0000 (-0700) Subject: vc4: Texture format support has nothing to do with VBO format support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af35afed0661a6b06b407a49035e3b293bff2df0;p=mesa.git vc4: Texture format support has nothing to do with VBO format support. This was inherited from freedreno, but doesn't apply to us. --- 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) &&