mesa: extract need_xfb_remaining_prims_check
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 13 Apr 2017 19:06:11 +0000 (21:06 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 19 Apr 2017 06:09:57 +0000 (08:09 +0200)
commit756e9ebbdd84018382908d3556973a62dbda09ca
treef67357b52d8425cf3b7f9d02cc9840e29922862e
parentea9a8940cadb30ac8d72a26b82bdb54872c0e199
mesa: extract need_xfb_remaining_prims_check

The same logic needs to be applied to glMultiDrawArrays.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/api_validate.c