commit | 4080f8bf2b02441f637bc3f0c00c96060e2f02f0 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Fri Jul 17 10:48:56 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Fri Jul 17 21:47:32 2020 +0000 |
tree | 52e01db30bf6c21c803224a4292e25105a250ea0 | |
parent | cf55abe750f04c8287014b459a1b318582fab950 [diff] |
freedreno/a2xx: Fix compiler warning in disasm. warning: converting a packed ‘instr_cf_t’ {aka ‘union <anonymous>’} pointer (alignment 1) to a ‘uint16_t’ {aka ‘short unsigned int’} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] We may know that we'll only ever have aligned instr_cf_ts, but gcc doesn't. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5955>