commit | 5306b662dd59ac8accccf25b81ee97742ce71849 | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Sat Feb 29 22:08:14 2020 -0500 |
committer | Marge Bot <eric+marge@anholt.net> | Sun Mar 01 23:16:36 2020 +0000 |
tree | a994d3e8cc45c79a6135de059dbf3c9a258da58c | |
parent | a86662c44d7cb2541c3f613805533064219ad11f [diff] |
mesa: fix _mesa_draw_nonzero_divisor_bits to return nonzero divisors The bitmask is _EffEnabledNonZeroDivisor, so no need to invert it before returning. Fixes: fd6636ebc06d (st/mesa: simplify determination whether a draw needs min/max index) Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <maraeo@gmail.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4009> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4009>