[Mesa-dev] [PATCH] r600c: add evergreen ARL support

Andre Maasikas amaasikas at gmail.com
Thu Jan 20 00:20:47 PST 2011


On Tue, Jan 11, 2011 at 5:01 PM, Alberto Milone
<alberto.milone at 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


More information about the mesa-dev mailing list