st/mesa: skip draw calls with pipe_draw_info::count == 0
authorMarek Olšák <marek.olsak@amd.com>
Fri, 1 Sep 2017 21:27:35 +0000 (23:27 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 7 Sep 2017 10:34:28 +0000 (12:34 +0200)
commite4018fdd85d8b58250c2cff8cdf4edd6b2b3c70b
treee48982ab25616672de03da5dcab87508fa058ae6
parent6c2e0527ea7a387d3e19e87f96a9ba3a8421d7f6
st/mesa: skip draw calls with pipe_draw_info::count == 0

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102502

Cc: 17.2 <mesa-stable@lists.freedesktop.org>
Tested-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_draw.c