vc4: Texture format support has nothing to do with VBO format support.

This was inherited from freedreno, but doesn't apply to us.
This commit is contained in:
Eric Anholt 2014-08-11 15:55:45 -07:00
parent 3e9a09415e
commit af35afed06
1 changed files with 1 additions and 2 deletions

View File

@ -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) &&