draw: fix division-by-zero for empty geometry shaders
authorMarek Olšák <marek.olsak@amd.com>
Sun, 1 Mar 2015 10:18:42 +0000 (11:18 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 2 Mar 2015 11:46:36 +0000 (12:46 +0100)
commit27a34f62baa991eadd040302748c48b31ec21a0c
tree9e85b491fdce44e8430167f68c8701497bb3386c
parentb51ff50a767cc78d678ed3d2c25995f5c4194fea
draw: fix division-by-zero for empty geometry shaders

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

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/draw/draw_pt_emit.c