On Mon, Feb 20, 2012 at 8:51 PM, <jfons...@vmware.com> wrote: > From: José Fonseca <jfons...@vmware.com> > > Like TGSI_OPCODE_ARL, destination should be an integer. > > This fixes invalid LLVM IR on an internal state tracker (currently Mesa > never emits this opcode). > > In the future consider making ADDR register also a integer-as-float array, > like all other register kinds, or simply replace ADDR & ARR/ARL with > integer temp and instructions.
Reviewed-by: Dave Airlie <airl...@redhat.com> Just seems better to take the hit of doing the FPtoSI once rather than each index access taking an FPtoSI. When we turn on the integer opcodes properly, mesa st will product UARL anyways, and I won't see any FP->SI at all. Dave. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev