[Mesa-dev] [PATCH v8 0/7] mesa/st: glsl_to_tgsi: improved temp-reg lifetime estimation

Gert Wollny gw.fossdev at gmail.com
Mon Aug 7 07:10:16 UTC 2017


Dear all, 

This is mostly a resend of version 7 of the patch rebased to 1e696b962b72. 

The only other notable change is that I added Dave Airlie's patch for 
register renaming (slightly changed to account for the inst->resource_index). 
My code makes use of his renaming methods, and since my mapping evaluator 
doesn't make use of a recursive renaming strategy, the problem that made Dave
revert this patch does not occure after applying the series. 
If prefered I could also merge that patch with my series, but personally I 
prefer to keep it seperate. 

Many thanks for any reviews, 
Gert 


Dave Airlie (1):
  st_glsl_to_tgsi: rewrite rename registers to use array fully.

Gert Wollny (6):
  mesa/st: glsl_to_tgsi move some helper classes to extra files
  mesa/st: glsl_to_tgsi: implement new temporary register lifetime tracker
  mesa/st: glsl_to_tgsi: add tests for the new temporary lifetime tracker
  mesa/st: glsl_to_tgsi: add register rename mapping evaluator
  mesa/st: glsl_to_tgsi: Add test set for evaluation of rename mapping
  mesa/st: glsl_to_tgsi: tie in new temporary register merge approach

 configure.ac                                       |    1 +
 src/mesa/Makefile.am                               |    2 +-
 src/mesa/Makefile.sources                          |    4 +
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp         |  390 +----
 src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp |  196 +++
 src/mesa/state_tracker/st_glsl_to_tgsi_private.h   |  168 ++
 .../state_tracker/st_glsl_to_tgsi_temprename.cpp   |  998 ++++++++++++
 .../state_tracker/st_glsl_to_tgsi_temprename.h     |   67 +
 src/mesa/state_tracker/tests/Makefile.am           |   36 +
 .../tests/test_glsl_to_tgsi_lifetime.cpp           | 1597 ++++++++++++++++++++
 10 files changed, 3101 insertions(+), 358 deletions(-)
 create mode 100644 src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp
 create mode 100644 src/mesa/state_tracker/st_glsl_to_tgsi_private.h
 create mode 100644 src/mesa/state_tracker/st_glsl_to_tgsi_temprename.cpp
 create mode 100644 src/mesa/state_tracker/st_glsl_to_tgsi_temprename.h
 create mode 100644 src/mesa/state_tracker/tests/Makefile.am
 create mode 100644 src/mesa/state_tracker/tests/test_glsl_to_tgsi_lifetime.cpp

-- 
2.13.0



More information about the mesa-dev mailing list