commit | 9addb82148c487d6660aecea1af370c2d21d1788 | [log] [tgz] |
---|---|---|
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Tue Jul 14 17:08:54 2020 -0400 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Jul 16 19:59:43 2020 +0000 |
tree | f794fa86c389b1b3e78631edda30325d3f8e8c3b | |
parent | 77bb19eebd1d59c7fc48b41c0f356114f5eab2ef [diff] |
panfrost: Avoid integer underflow in rt_count_1 If rt_count = 0, this underflows to MAX_MRT. The hw doesn't seem to care but it's semantically incorrect and confuses pandecode. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5858>