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>
This commit is contained in:
Marek Olšák 2016-10-17 01:39:21 +02:00
parent 4e5d076fcf
commit 502dad4dca
2 changed files with 0 additions and 7 deletions

View File

@ -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);

View File

@ -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,