st/mesa: Make feedback draw and rasterpos use _DrawVAO.
authorMathias Fröhlich <mathias.froehlich@web.de>
Thu, 26 Apr 2018 21:17:20 +0000 (23:17 +0200)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Thu, 10 May 2018 05:06:16 +0000 (07:06 +0200)
commit4c77f0d065d1690f1fd0265a07ac9f6e5d40ea68
tree3a7a3fa23d646f98c6476eff4e89ea058e166826
parent19a91841c347107d877bc750371c5fa4e9b4de19
st/mesa: Make feedback draw and rasterpos use _DrawVAO.

Instead of playing with Array._DrawArrays, make the feedback draw
path use Array._DrawVAO. Also st_RasterPos needs to use the VAO then.

v2: Use helper methods to get the offset values for array and binding.
    Update comments.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/state_tracker/st_cb_rasterpos.c
src/mesa/state_tracker/st_draw_feedback.c