Module: Mesa
Branch: master
Commit: 1b4b455739dec43fea669509dc8585f6fbaa0487
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b4b455739dec43fea669509dc8585f6fbaa0487

Author: Rob Clark <[email protected]>
Date:   Thu Mar 12 14:16:38 2020 -0700

freedreno/ir3: remove unused helper

Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4272>

---

 src/freedreno/ir3/ir3.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/freedreno/ir3/ir3.h b/src/freedreno/ir3/ir3.h
index 5cde264a580..c8abd50b034 100644
--- a/src/freedreno/ir3/ir3.h
+++ b/src/freedreno/ir3/ir3.h
@@ -593,16 +593,6 @@ void ir3_clear_mark(struct ir3 *shader);
 
 unsigned ir3_count_instructions(struct ir3 *ir);
 
-static inline int ir3_instr_regno(struct ir3_instruction *instr,
-               struct ir3_register *reg)
-{
-       unsigned i;
-       for (i = 0; i < instr->regs_count; i++)
-               if (reg == instr->regs[i])
-                       return i;
-       return -1;
-}
-
 
 #define MAX_ARRAYS 16
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to