On 17 February 2015 at 06:01, Ilia Mirkin <[email protected]> wrote: > On Tue, Feb 10, 2015 at 6:58 AM, Ilia Mirkin <[email protected]> wrote: >> Add a enter/leave record callback so that the offset may be aligned to >> the proper value. Otherwise only leaf fields are called, and the first >> field needs to be aligned to the outer struct's base alignment while the >> last field needs to be aligned to the inner struct's base alignment. >> >> This removes most usage of the last field/record type values passed into >> visit_field. >> >> Signed-off-by: Ilia Mirkin <[email protected]>
This seems like the correct solution, hopefully Ian can further examine this, but it seems to fix the problems seen. Reviewed-by: Dave Airlie <[email protected]> _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
