t_dd_dmatmp: Pull out common 'count -= count & 3' code
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 14 Sep 2015 18:56:20 +0000 (11:56 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 Sep 2015 16:56:43 +0000 (09:56 -0700)
commitc0b3b2f7603eab210acdb2e654e5411fe912ca34
tree7b136bf8b89eace7aea7873c972c7521b1172143
parent0d475ee2b989ac1697720ca391913e9158156bdc
t_dd_dmatmp: Pull out common 'count -= count & 3' code

This was missing in the HAVE_TRIANGLES path, and that could cause
incorrect rendering.

No piglit regressions on i915 (G33) or radeon (Radeon 7500).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38109
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: Marius Predut <marius.predut@intel.com>
Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
src/mesa/tnl_dd/t_dd_dmatmp.h