On Tue, Jan 11, 2011 at 5:01 PM, Alberto Milone <alberto.mil...@canonical.com> wrote: > Hi all, > > The attached patch adds ARL support in r600c. I followed the code in > the equivalent commit in r600g: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=98b3f27439ba3a48286ed0d6a4467e5482b41fec > > Thanks a lot to Alex Deucher for the help. + pAsm->D.dst.opcode = EG_OP2_INST_FLT_TO_INT_FLOOR; + setaddrmode_PVSDST(&(pAsm->D.dst), ADDR_ABSOLUTE); + pAsm->D.dst.rtype = DST_REG_TEMPORARY; + pAsm->D.dst.reg = 0; + pAsm->D.dst.writex = 0; + pAsm->D.dst.writey = 0; + pAsm->D.dst.writez = 0; + pAsm->D.dst.writew = 0;
Are you sure this works - i didn't test or disassemble the output but i have a feeling that you need to set correct dst register and write at least something to it for this instruction. Andre _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev