From e9a4bd90a86b6c25aec388394af3a888f1184e7c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 7 May 2020 13:06:26 -0400 Subject: [PATCH] pan/mdg: Remove mir_get_alu_src Unused. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/mir.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/panfrost/midgard/mir.c b/src/panfrost/midgard/mir.c index 63665ddfe91..e77908947ed 100644 --- a/src/panfrost/midgard/mir.c +++ b/src/panfrost/midgard/mir.c @@ -38,13 +38,6 @@ void mir_rewrite_index_dst_single(midgard_instruction *ins, unsigned old, unsign ins->dest = new; } -static midgard_vector_alu_src -mir_get_alu_src(midgard_instruction *ins, unsigned idx) -{ - unsigned b = (idx == 0) ? ins->alu.src1 : ins->alu.src2; - return vector_alu_from_unsigned(b); -} - static void mir_rewrite_index_src_single_swizzle(midgard_instruction *ins, unsigned old, unsigned new, unsigned *swizzle) { -- 2.30.2