OSDN Git Service

svga: remove unneeded memset() call in draw_vgpu10()
authorBrian Paul <brianp@vmware.com>
Mon, 1 Aug 2016 22:31:13 +0000 (16:31 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Aug 2016 14:24:52 +0000 (08:24 -0600)
commitdcf2126f90a1daf226417bde71a62ccf0305adea
treed8aa66174c9e827f674630c5a57d3237b091bfff
parentced0dd0e9575c3eacd9a618c34175dde0463f393
svga: remove unneeded memset() call in draw_vgpu10()

All three fields of the vbuffer_attrs[] array are assigned in the following
loop.  The remaining elements of the array are not used.

Tested with full Piglit run, Heaven 4.0, etc.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_draw.c