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:
parent
4e5d076fcf
commit
502dad4dca
|
@ -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);
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue