[Mesa-dev] [PATCH 0/6] glsl_to_tgsi: Further improvement of lifetime tracking for register merge

Gert Wollny gw.fossdev at gmail.com
Thu Oct 5 10:22:09 UTC 2017


I Just wanted to add that the code is now also available from

https://github.com/gerddie/mesa/tree/lifetime-update-v1

re-based against 15e208c4. 

(I waited for "wayland-egl: adds CFLAGS for wayland.egl.h include" 
to have a green board on travis-ci) 

Best, 
Gert
 

Am Mittwoch, den 04.10.2017, 11:45 +0200 schrieb Gert Wollny:
> 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(-)
> 


More information about the mesa-dev mailing list