projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8181866
)
radv: dump LLVM IR when a hang is detected
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Wed, 14 Mar 2018 09:36:20 +0000
(10:36 +0100)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 15 Mar 2018 16:20:07 +0000
(17:20 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_debug.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_debug.c
b/src/amd/vulkan/radv_debug.c
index ce582312c5e4b0b1ca54d2051d7a7305786ed035..a0d01b2489749ddfee5ba7044901931e55123e8d 100644
(file)
--- a/
src/amd/vulkan/radv_debug.c
+++ b/
src/amd/vulkan/radv_debug.c
@@
-508,6
+508,7
@@
radv_dump_shader(struct radv_pipeline *pipeline,
nir_print_shader(shader->nir, f);
}
+ fprintf(f, "LLVM IR:\n%s\n", shader->llvm_ir_string);
fprintf(f, "DISASM:\n%s\n", shader->disasm_string);
radv_shader_dump_stats(pipeline->device, shader, stage, f);