panfrost/decode: Copy embedded structs before using
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 12 Jul 2019 15:45:51 +0000 (08:45 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 12 Jul 2019 23:23:52 +0000 (16:23 -0700)
commit9ffe061c5e2375a816da54fdfa9e5ebcd48dcd65
tree3f7d12076c033a5089de3aec1a2e31058900f873
parent23b230d72ff4c367050ae0fcc11a2eb5542600f5
panfrost/decode: Copy embedded structs before using

Fixes some, but not all, warnings from -Waddress-of-packed-member

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/pandecode/decode.c