diff options
author | Marek Olšák <[email protected]> | 2016-07-01 00:10:15 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-07-05 00:47:13 +0200 |
commit | 027ad71b57a0bec882c604027dc83f42eb2eb54c (patch) | |
tree | 75437fa7e38855d3ab68738ac8d5d98d52ea5915 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 28a03be06b183caa433de03c9bf35ba5dbd8c77a (diff) |
radeonsi: print LLVM IRs to ddebug logs
Getting LLVM IRs of hanging shaders have never been easier.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 9d15cbf2225..fc7e73e01a7 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -87,6 +87,7 @@ struct si_screen { /* Whether shaders are monolithic (1-part) or separate (3-part). */ bool use_monolithic_shaders; + bool record_llvm_ir; pipe_mutex shader_parts_mutex; struct si_shader_part *vs_prologs; |