commit | 884f8699925b51f7032b4cd0e8d6ef1a8d48bc8c | [log] [tgz] |
---|---|---|
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Thu Apr 30 16:17:04 2020 -0400 |
committer | Marge Bot <eric+marge@anholt.net> | Fri May 01 00:27:23 2020 +0000 |
tree | 5f74b7b55eff389ae689e4f671bd017a33d9f516 | |
parent | d04be375ccdd5612f07689f9c883c4e8c3f159c3 [diff] |
panfrost: Fix texture field size I have to imagine this was UB. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4844>
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 924c4e4..051fe27 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h
@@ -1264,7 +1264,7 @@ unsigned swizzle : 12; enum mali_texture_layout layout : 4; uint8_t levels : 8; /* Number of levels-1 if mipmapped, 0 if not */ - unsigned unk1 : 4; + unsigned unk1 : 8; unsigned levels_unk : 24; /* 0 */ unsigned level_2 : 8; /* Number of levels, again? */