commit | d5b4ab2c5f700087ac09238e3cf8252aa3d31d54 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Wed May 18 13:05:48 2016 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Mon May 23 19:12:34 2016 -0700 |
tree | 2a3d032cec8044e7dc88a7e585b5092ec735e796 | |
parent | ad42ab473cb327e9f0498bda9d92cccc4279a0e8 [diff] |
i965/draw: Properly handle rounding when dividing by InstanceDivisor The old code always divided rounded down and then subtracted 1. What we wanted was to divide rounded up and then subtract 1 which is equivalent to subtracting 1 and then dividing rounded down. Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>