commit | 66d8bbd822914f27814d05d2d21196072f41284b | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Mon Aug 03 12:59:11 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Mon Aug 03 23:28:49 2020 +0000 |
tree | d8c7cc91d20e80d60d7edf67ae16ddd39cdd01bc | |
parent | ba6cdb275c3bfbf8c9990674c5c44d58d9747f49 [diff] |
freedreno: Fix "Offset of packed bitfield changed" warnings: Example: ../src/freedreno/ir2/instr-a2xx.h:384:1: note: offset of packed bit-field ‘const_index’ has changed in GCC 4.4 384 | } instr_fetch_vtx_t; It's apparently due to bitfields that would cross the width of their type. Just expand the types of the affected fields so that the compiler quiets down. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6165>