On Sat, 2010-12-11 at 04:22 -0800, Jose Fonseca wrote: > Looks good to me FWIW. > > Usually one uses a union for avoid breaking strict-aliasing rules, but your > memcpy approach should produce just as good code with less typing. > > The only proper fix here would be to make struct tgsi_token an union of all > possible token types.
Having such a union would have been useful in other cases too... Keith _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev