pan/decode: Fix tiler warning
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 26 May 2020 22:10:39 +0000 (18:10 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 22:58:21 +0000 (22:58 +0000)
commitc2c8b1ac5791348977fed3d6056ae50af1721649
tree84673d3ecae2f39401a7a69cc9436199c569a544
parent4bc7d521b13ab64bdc6d2a75ac79a0964955125d
pan/decode: Fix tiler warning

../src/panfrost/pandecode/decode.c:1176:60: warning: taking address of
packed member of â€˜struct mali_framebuffer’ may result in an unaligned
pointer value [-Waddress-of-packed-member]
 1176 |
      pandecode_midgard_tiler_descriptor(&fb->tiler, fb->width1 + 1,
fb->height1 + 1, is_fragment, true);

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5219>
src/panfrost/pandecode/decode.c