gallium/radeon: remove unused radeon_llvm_reg_index_soa
authorMarek Olšák <marek.olsak@amd.com>
Sun, 16 Oct 2016 23:39:21 +0000 (01:39 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 18 Oct 2016 16:41:01 +0000 (18:41 +0200)
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>
src/gallium/drivers/radeon/radeon_llvm.h
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c

index 367e4c00f673990c248db5ececae21c3c40d4709..b4b968b26b738dc3b27e8828328149a3e6130504 100644 (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);
 
index 2713cc64e8191d46b01e000398bd2d043cb1e063..2d424d5ff2495d144eda3b70cf9dcd2a34500aba 100644 (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,