diff options
author | Gert Wollny <[email protected]> | 2018-06-05 22:26:35 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-08-11 12:32:42 +0200 |
commit | b1cead3add3eb47be2505430051c51f5a7a803b8 (patch) | |
tree | 44dd54d1b776e91bcc30d48d4a953bd897f400e1 /src/broadcom/compiler/vir_opt_copy_propagate.c | |
parent | be95ca9be7b2a067b900979f7c01c1f2355509f5 (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/broadcom/compiler/vir_opt_copy_propagate.c')
0 files changed, 0 insertions, 0 deletions