From 502dad4dca2a80030ac92a645b0244c9327221b5 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 17 Oct 2016 01:39:21 +0200 Subject: gallium/radeon: remove unused radeon_llvm_reg_index_soa MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle Reviewed-by: Emil Velikov Acked-by: Edward O'Callaghan --- src/gallium/drivers/radeon/radeon_llvm.h | 2 -- src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 5 ----- 2 files changed, 7 deletions(-) (limited to 'src/gallium') 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, -- cgit v1.2.3