summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-10-17 01:39:21 +0200
committerMarek Olšák <[email protected]>2016-10-18 18:41:01 +0200
commit502dad4dca2a80030ac92a645b0244c9327221b5 (patch)
treef97b8b1304511a007a1713729c082b422528d3a2 /src
parent4e5d076fcf8aae76c553531d713a3c9213fb419d (diff)
gallium/radeon: remove unused radeon_llvm_reg_index_soa
Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Acked-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/radeon_llvm.h2
-rw-r--r--src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c5
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,