[Mesa-dev] [PATCH 0/6] glsl_to_tgsi: Further improvement of lifetime tracking for register merge
Gert Wollny
gw.fossdev at gmail.com
Wed Oct 4 09:45:24 UTC 2017
Dear all,
this set of patches fixes some memory leak in mesa/st/tests, enhances the
debugging output used in the temporary register lifetime estimation, and
further improves the lifetime tracking by handling if-else path in more detail
and by also tracking the registers used for indirect access. The latter is a
feat that is currently not needed, but will become relevant when Mareks patches
land, that allow any 1D register as a TGSI address operand, and when that
request merge_registers want to make use of this feature.
My tests showed no changes in piglit "quick" and "shader".
many thanks for any comments,
Gert
--
submitter has no write access to mesa-git.
Gert Wollny (6):
mesa/st/tests: Fix zero-byte allocation leaks
mesa/st/glsl_to_tgsi: Correct debug output for indirect access
mesa/st/glsl_to_tgsi: Add tracking of ifelse writes in register
merging
mesa/st/tests: Add tests for improved tracking of temporaries
mesa/st/glsl_to_tgsi: Add tracking of indirect addressing registers
mesa/st/tests: Add tests for liefetime tracking with indirect
addressing
.../state_tracker/st_glsl_to_tgsi_temprename.cpp | 368 +++++++++---
.../tests/test_glsl_to_tgsi_lifetime.cpp | 651 ++++++++++++++++++++-
2 files changed, 943 insertions(+), 76 deletions(-)
--
2.13.6
More information about the mesa-dev
mailing list