Module: Mesa Branch: master Commit: af35afed0661a6b06b407a49035e3b293bff2df0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af35afed0661a6b06b407a49035e3b293bff2df0
Author: Eric Anholt <e...@anholt.net> Date: Mon Aug 11 15:55:45 2014 -0700 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 4ddc9ac..0841930 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) && _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit