diff options
author | Marek Olšák <[email protected]> | 2016-07-14 22:07:46 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-07-14 22:15:08 +0200 |
commit | f84e9d749fbb6da73a60fb70e6725db773c9b8f8 (patch) | |
tree | 5fa8b86a34a07da84450e604de5d0b433d6592fa /src/gallium/drivers/radeon/radeon_llvm.h | |
parent | 489bb5473b96a22ae445107297b66bc38b4701f7 (diff) |
Revert "radeon/llvm: Use alloca instructions for larger arrays"
This reverts commit 513fccdfb68e6a71180e21827f071617c93fd09b.
Bioshock Infinite hangs with that.
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_llvm.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm.h | 7 |
1 files changed, 1 insertions, 6 deletions
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; |