vbo: process buffer binding state changes on draw when recording
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 1 Feb 2017 21:11:41 +0000 (16:11 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 3 Feb 2017 01:28:27 +0000 (20:28 -0500)
commite73f87fcbdcb12b0b8d28c4ca3444bfb7669bca5
treee64c2a5f11c08fcf541f7368df25b09169721373
parent6cc3c46f58255839d3fe25303225dc3b41d4a2d3
vbo: process buffer binding state changes on draw when recording

The VBO module keeps track of any vbo buffers. It updates this list when
receiving an InvalidateState call, however this never happens when
recording draws right now. Make sure that we do all the usual state
updates when recording draws so that the VBO list may be kept up to
date.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99631
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
src/mesa/vbo/vbo_save_api.c