summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2016-10-17 01:39:21 +0200
committerMarek Olšák <marek.olsak@amd.com>2016-10-18 18:41:01 +0200
commit502dad4dca2a80030ac92a645b0244c9327221b5 (patch)
treef97b8b1304511a007a1713729c082b422528d3a2 /src/gallium
parent4e5d076fcf8aae76c553531d713a3c9213fb419d (diff)
downloadexternal_mesa3d-502dad4dca2a80030ac92a645b0244c9327221b5.zip
external_mesa3d-502dad4dca2a80030ac92a645b0244c9327221b5.tar.gz
external_mesa3d-502dad4dca2a80030ac92a645b0244c9327221b5.tar.bz2
gallium/radeon: remove unused radeon_llvm_reg_index_soa
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Diffstat (limited to 'src/gallium')
-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 367e4c0..b4b968b 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 2713cc6..2d424d5 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,