From f84e9d749fbb6da73a60fb70e6725db773c9b8f8 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 14 Jul 2016 22:07:46 +0200 Subject: Revert "radeon/llvm: Use alloca instructions for larger arrays" This reverts commit 513fccdfb68e6a71180e21827f071617c93fd09b. Bioshock Infinite hangs with that. --- src/gallium/drivers/radeon/radeon_llvm.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/gallium/drivers/radeon/radeon_llvm.h') diff --git a/src/gallium/drivers/radeon/radeon_llvm.h b/src/gallium/drivers/radeon/radeon_llvm.h index 13f33363147..d456a92bc27 100644 --- a/src/gallium/drivers/radeon/radeon_llvm.h +++ b/src/gallium/drivers/radeon/radeon_llvm.h @@ -50,11 +50,6 @@ struct radeon_llvm_loop { LLVMBasicBlockRef endloop_block; }; -struct radeon_llvm_array { - struct tgsi_declaration_range range; - LLVMValueRef alloca; -}; - struct radeon_llvm_context { struct lp_build_tgsi_soa_context soa; @@ -101,7 +96,7 @@ struct radeon_llvm_context { unsigned loop_depth; unsigned loop_depth_max; - struct radeon_llvm_array *arrays; + struct tgsi_declaration_range *arrays; LLVMValueRef main_fn; LLVMTypeRef return_type; -- cgit v1.2.3