diff options
author | Rob Clark <[email protected]> | 2020-04-16 10:30:16 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-23 04:49:52 +0000 |
commit | b88778e2de3a593587e20a8d4f0363a499f91455 (patch) | |
tree | d7fae8ed68d335e28d1ebf60d571df69fe2f5bab /src/gallium/auxiliary/util/u_vbuf.h | |
parent | 7e1b57a6d964ac58e84ec4ece2951e4e643d6b1a (diff) |
mesa/st: avoid u_vbuf for GLES
64b VBO types are not required for GLES. So avoid u_vbuf if that was
otherwise the only reason it was used.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4619>
Diffstat (limited to 'src/gallium/auxiliary/util/u_vbuf.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_vbuf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_vbuf.h b/src/gallium/auxiliary/util/u_vbuf.h index 81dac2caf33..1b09bf02e2d 100644 --- a/src/gallium/auxiliary/util/u_vbuf.h +++ b/src/gallium/auxiliary/util/u_vbuf.h @@ -62,7 +62,8 @@ struct u_vbuf_caps { }; -void u_vbuf_get_caps(struct pipe_screen *screen, struct u_vbuf_caps *caps); +void u_vbuf_get_caps(struct pipe_screen *screen, struct u_vbuf_caps *caps, + bool needs64b); struct u_vbuf * u_vbuf_create(struct pipe_context *pipe, struct u_vbuf_caps *caps); |