On 17 February 2015 at 06:01, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> On Tue, Feb 10, 2015 at 6:58 AM, Ilia Mirkin <imir...@alum.mit.edu> 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 <imir...@alum.mit.edu>

This seems like the correct solution, hopefully Ian can further examine this,
but it seems to fix the problems seen.

Reviewed-by: Dave Airlie <airl...@redhat.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to