On Tue, Jun 27, 2017 at 8:10 AM, Gert Wollny <gw.foss...@gmail.com> wrote:
>> > +TEST_F(LifetimeEvaluatorExactTest, SimpleMoveAddMoveTexoffset)
>> > +{
>> > +   const vector<MockCodeline> code = {
>> > +      { TGSI_OPCODE_MOV, {1}, {in0}, {}},
>> > +      { TGSI_OPCODE_MOV, {2}, {in1}, {}},
>> > +      { TGSI_OPCODE_UADD, {out0}, {},  {1,2}},
>>
>> UADD doesn't have texoffsets.
>
> The test just checks that src from textoffsets are picked up, but I
> would appreciate if you could give me a well formed TGSI instruction
> line that takes a texoffset, (I guess that TGSI_OPCODE_TEX would be the
> opcode, but the TGSI documentation doesn't give a real example).

TEX, TXF, TXD - basically all the texturing operations.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to