On Thu, Jul 17, 2014 at 4:21 AM, Thorsten Glaser <t.gla...@tarent.de> wrote: > On Thu, 17 Jul 2014, Eero Tamminen wrote: > >> While effect of unaligned accesses is normally invisible, > > No, the compiler is inserting padding here silently. > We call this “implicit padding”. The problem with it
[ strip excellent explanation of the problem ] Yes, implicit padding is definitely bad. I didn't realize I even had it in there, although I'm glad my STATIC_ASSERT did its job. There are various references to patches, however I haven't seen any. Perhaps they're lost in my inbox, or they were never sent to mesa-dev, or something else. Could the patch author (or another interested party) send it as a proper patch to mesa-dev? Assuming it doesn't break x86, happy to check it in. Cheers, -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev