commit | 19895dde909dd065cc6ac4d01c95523fa0d8b47f | [log] [tgz] |
---|---|---|
author | Connor Abbott <cwabbott0@gmail.com> | Fri Jul 17 15:15:42 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Jul 21 14:26:18 2020 +0000 |
tree | 4ea35f02316300172c6af6adc68b1367bddc1255 | |
parent | 86a65977140c89148b1ea32ab06a38c95b26322c [diff] |
freedreno: Add a helper for computing guardband sizes This should be much better than the previous method that was more guesswork-based than anything else. It returns a value within 1 of the blob for every input value I've tested, and it seems like it returns slightly better (but still legal) answers when it differs. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5950>