mesa/st: avoid u_vbuf for GLES
authorRob Clark <robdclark@chromium.org>
Thu, 16 Apr 2020 17:30:16 +0000 (10:30 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Apr 2020 04:49:52 +0000 (04:49 +0000)
commitb88778e2de3a593587e20a8d4f0363a499f91455
treed7fae8ed68d335e28d1ebf60d571df69fe2f5bab
parent7e1b57a6d964ac58e84ec4ece2951e4e643d6b1a
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 <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4619>
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/cso_cache/cso_context.h
src/gallium/auxiliary/util/u_vbuf.c
src/gallium/auxiliary/util/u_vbuf.h
src/mesa/state_tracker/st_context.c