mesa/st/tests: Add tests for lifetime tracking with indirect addressing
authorGert Wollny <gw.fossdev@gmail.com>
Thu, 7 Dec 2017 12:57:21 +0000 (13:57 +0100)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Jan 2018 17:34:00 +0000 (10:34 -0700)
commitf2040fbe4890224b5f2b0b78318a4f5c7643b3dd
tree7a8782dafd75b0f5e0d8f6eb009a04a9a479db2d
parent51c0cee267206ae9de215b8e4f75c04a2fa251b2
mesa/st/tests: Add tests for lifetime tracking with indirect addressing

Add a code line type that accepts one layer of indirect addressing and
add tests to check that temporary register access used for indirect
addressing is accounted for in the lifetime estimation.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
src/mesa/state_tracker/tests/st_tests_common.cpp
src/mesa/state_tracker/tests/st_tests_common.h
src/mesa/state_tracker/tests/test_glsl_to_tgsi_lifetime.cpp