gallium: bypass u_vbuf if it's not needed (no fallbacks and no user VBOs)
authorMarek Olšák <marek.olsak@amd.com>
Mon, 30 Dec 2019 04:00:53 +0000 (23:00 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 8 Jan 2020 18:40:59 +0000 (13:40 -0500)
commiteb1e10d0be90c7aee9d88c1a18be803a643715dc
tree71bedf5e2698d6ddc53aa1395b656c556328787d
parent9f6020abc6beaab9c8f43f483ef84b54c28e50a2
gallium: bypass u_vbuf if it's not needed (no fallbacks and no user VBOs)

This decreases CPU overhead, because u_vbuf is completely bypassed
in those cases.

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
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_atom.h
src/mesa/state_tracker/st_atom_array.c
src/mesa/state_tracker/st_draw_feedback.c