summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2018-06-05 22:26:35 +0200
committerGert Wollny <[email protected]>2018-08-11 12:32:42 +0200
commitb1cead3add3eb47be2505430051c51f5a7a803b8 (patch)
tree44dd54d1b776e91bcc30d48d4a953bd897f400e1 /src/glx
parentbe95ca9be7b2a067b900979f7c01c1f2355509f5 (diff)
mesa/st/glsl_to_tgsi: Add method to collect some TGSI statistics
When mesa is compiled in debug mode then this adds the possibility to print out some statistics about the translated and optimized TGSI shaders to a file. The functionality is enabled by setting the environment variable GLSL_TO_TGSI_PRINT_STATS to the file name where the statistics should be collected. The file is opened in append mode so that statistics from various runs will be accumulated. v4: Make accress to log file thread save (thanks for pointing this out Nicolai Hähnle) Signed-off-by: Gert Wollny <[email protected]> Acked-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx')
0 files changed, 0 insertions, 0 deletions