mesa/src
Mathias Fröhlich 195bb990ed vbo: Use _DrawVAO for array type draw commands.
Switch over to use the _DrawVAO for all the array type draws.
The _DrawVAO needs to be set before we enter _mesa_update_state, so move
setting the draw method in front of the first call to _mesa_update_state
which is in turn called from the *validate*Draw* calls. Using the
gl_vertex_array_object::_Enabled bitmask, gl_vertex_program_state::_VPMode
and gl_vertex_array_object::_AttributeMapMode we can already set
varying_vp_inputs before we call _mesa_update_state the first time.
Thus remove duplicate state validation.

v2: Update comments.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
2018-02-23 05:33:50 +01:00
..
amd radv: Fix autotools build. 2018-02-23 01:54:12 +01:00
broadcom broadcom/vc5: Fix "hardwrae" typo in a field name in XML. 2018-02-05 13:53:38 +00:00
compiler nir: lower fexp2(fmul(flog2(a), 2)) to fmul(a, a) 2018-02-22 20:40:45 +01:00
egl loader_dri3/glx/egl: Reinstate the loader_dri3_vtable get_dri_screen callback 2018-02-20 10:36:53 +01:00
gallium nv50,nvc0: fix integer MS resolves using 2d engine 2018-02-22 20:47:48 -05:00
gbm dri: fromPlanar() can return NULL as a valid result 2018-02-15 11:58:17 +00:00
getopt
glx loader_dri3/glx/egl: Reinstate the loader_dri3_vtable get_dri_screen callback 2018-02-20 10:36:53 +01:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel anv/blorp: multisample resolve all attachment layers 2018-02-22 08:23:39 +01:00
loader x11/dri3: Store raw present completion mode 2018-02-21 21:57:38 +00:00
mapi meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
mesa vbo: Use _DrawVAO for array type draw commands. 2018-02-23 05:33:50 +01:00
util disk cache: move path creation back to constructor 2018-02-09 11:33:25 +02:00
vulkan vulkan/wsi/x11: Consistently update and return swapchain status 2018-02-21 22:37:10 +00:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00