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}, {}
> > +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
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 +
.
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