Re: [Mesa-dev] [PATCH v5 3/6] mesa/st: glsl_to_tgsi: add tests for the new temporary lifetime tracker

2017-06-27 Thread Ilia Mirkin
On Tue, Jun 27, 2017 at 8:10 AM, Gert Wollny wrote: >> > +TEST_F(LifetimeEvaluatorExactTest, SimpleMoveAddMoveTexoffset) >> > +{ >> > + const vector code = { >> > + { TGSI_OPCODE_MOV, {1}, {in0}, {}}, >> > + { TGSI_OPCODE_MOV, {2}, {in1}, {}}, >> > + { TGSI_OPCODE_UADD, {out0}, {}

Re: [Mesa-dev] [PATCH v5 3/6] mesa/st: glsl_to_tgsi: add tests for the new temporary lifetime tracker

2017-06-27 Thread Gert Wollny
> > +TEST_F(LifetimeEvaluatorExactTest, SimpleMoveAddMoveTexoffset) > > +{ > > +   const vector code = { > > +  { TGSI_OPCODE_MOV, {1}, {in0}, {}}, > > +  { TGSI_OPCODE_MOV, {2}, {in1}, {}}, > > +  { TGSI_OPCODE_UADD, {out0}, {},  {1,2}}, > > UADD doesn't have texoffsets. The test jus

Re: [Mesa-dev] [PATCH v5 3/6] mesa/st: glsl_to_tgsi: add tests for the new temporary lifetime tracker

2017-06-26 Thread Nicolai Hähnle
On 25.06.2017 09:22, Gert Wollny wrote: This patch adds a set of unit tests for the new lifetime tracker. --- configure.ac | 1 + src/mesa/Makefile.am | 2 +- src/mesa/state_tracker/tests/Makefile.am | 36 + .

[Mesa-dev] [PATCH v5 3/6] mesa/st: glsl_to_tgsi: add tests for the new temporary lifetime tracker

2017-06-25 Thread Gert Wollny
This patch adds a set of unit tests for the new lifetime tracker. --- configure.ac | 1 + src/mesa/Makefile.am | 2 +- src/mesa/state_tracker/tests/Makefile.am | 36 + .../tests/test_glsl_to_tgsi_lifetime.cpp