diff options
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm.h b/src/gallium/drivers/radeon/radeon_llvm.h index 367e4c00f67..b4b968b26b7 100644 --- a/src/gallium/drivers/radeon/radeon_llvm.h +++ b/src/gallium/drivers/radeon/radeon_llvm.h @@ -121,8 +121,6 @@ void radeon_llvm_create_func(struct radeon_llvm_context *ctx, void radeon_llvm_dispose(struct radeon_llvm_context *ctx); -unsigned radeon_llvm_reg_index_soa(unsigned index, unsigned chan); - void radeon_llvm_finalize_module(struct radeon_llvm_context *ctx, bool run_verifier); diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c index 2713cc64e81..2d424d5ff24 100644 --- a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c +++ b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c @@ -152,11 +152,6 @@ push_flow(struct radeon_llvm_context *ctx) return flow; } -unsigned radeon_llvm_reg_index_soa(unsigned index, unsigned chan) -{ - return (index * 4) + chan; -} - static LLVMValueRef emit_swizzle(struct lp_build_tgsi_context *bld_base, LLVMValueRef value, unsigned swizzle_x, |