mesa/st/glsl_to_tgsi: add array life range evaluation into tracking code
authorGert Wollny <gw.fossdev@gmail.com>
Tue, 5 Jun 2018 20:26:46 +0000 (22:26 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Sat, 11 Aug 2018 10:32:42 +0000 (12:32 +0200)
commitc317d0ab54fdc2f25bd4460034d3a375654c40cb
treea89ae97bde97b1c9908fe4896e9d9618d5c9c6fe
parent5e58eb37f1380876fbb58280727fcdc16d32e293
mesa/st/glsl_to_tgsi: add array life range evaluation into tracking code

v4: Also track the register given in inst->resource. (thanks: Benedikt Schemmer
    for testing the patches on radeonsi, which revealed that I was missing
    tracking this)
Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Acked-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi_temprename.cpp