st/mesa: fix missing setting of _ElementSize in new_draw_rasterpos_stage
authorCharmaine Lee <charmainel@vmware.com>
Thu, 26 Apr 2018 16:21:52 +0000 (09:21 -0700)
committerCharmaine Lee <charmainel@vmware.com>
Thu, 26 Apr 2018 17:29:02 +0000 (10:29 -0700)
commit8aef7fccb70d64f7764a5d6346ee142417fa0b2c
tree344c1bced9f67dc7afc0311269838cf705ff4352
parente923e8151dc5f69174012ff15cdb53cb134b5785
st/mesa: fix missing setting of _ElementSize in new_draw_rasterpos_stage

With this patch, _ElementSize is initialized along with the rest
of the vertex array attributes in new_draw_rasterpos_stage().
This fixes a crash in st_pipe_vertex_format() when running
topogun-1.06-orc-84k-resize trace file with VMware svga driver.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_rasterpos.c