aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-11 15:55:45 -0700
committerEric Anholt <[email protected]>2014-08-12 14:03:35 -0700
commitaf35afed0661a6b06b407a49035e3b293bff2df0 (patch)
tree5c652fc143f5f5dd4ce6824df8a62bd5bb28a758 /src/gallium
parent3e9a09415e84a2ae71eec8db65e58c3ea648c305 (diff)
vc4: Texture format support has nothing to do with VBO format support.
This was inherited from freedreno, but doesn't apply to us.
Diffstat (limited to 'src/gallium')
-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 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) &&