[Mesa-dev] [PATCH 1/6] radeon/ac: add llvm_ir_string to ac_shader_binary struct

Timothy Arceri tarceri at itsqueeze.com
Mon Feb 27 00:49:50 UTC 2017


---
 src/amd/common/ac_binary.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/common/ac_binary.h b/src/amd/common/ac_binary.h
index 06fd855..df945b2 100644
--- a/src/amd/common/ac_binary.h
+++ b/src/amd/common/ac_binary.h
@@ -56,20 +56,21 @@ struct ac_shader_binary {
 
 	/** List of symbol offsets for the shader */
 	uint64_t *global_symbol_offsets;
 	unsigned global_symbol_count;
 
 	struct ac_shader_reloc *relocs;
 	unsigned reloc_count;
 
 	/** Disassembled shader in a string. */
 	char *disasm_string;
+	char *llvm_ir_string;
 };
 
 struct ac_shader_config {
 	unsigned num_sgprs;
 	unsigned num_vgprs;
 	unsigned spilled_sgprs;
 	unsigned spilled_vgprs;
 	unsigned lds_size;
 	unsigned spi_ps_input_ena;
 	unsigned spi_ps_input_addr;
-- 
2.9.3



More information about the mesa-dev mailing list