aux/cso: add flag to disable vbuf
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 27 May 2021 15:19:38 +0000 (11:19 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 11 Jun 2021 17:19:36 +0000 (17:19 +0000)
commit3b66d70fba68496ba26b7d535da5979f36bd424d
treedbf689cd933ef7b9382ec6cc9a00ffe511d343e0
parent377936ee7646a147ed642d9e68a083b2a5f2bc18
aux/cso: add flag to disable vbuf

it may be known in advance that vbuf shouldn't be used, so allow users
to skip this in case caps would otherwise enable it

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11071>
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/cso_cache/cso_context.h