projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a8792
)
freedreno/ir3: remove unused helper
author
Rob Clark
<robdclark@chromium.org>
Thu, 12 Mar 2020 21:16:38 +0000
(14:16 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Fri, 27 Mar 2020 22:41:36 +0000
(22:41 +0000)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4272>
src/freedreno/ir3/ir3.h
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3.h
b/src/freedreno/ir3/ir3.h
index 5cde264a580058713f370f5221da3387831a7261..c8abd50b0343d5bc0b2b0bded8ba94ae24c4fea9 100644
(file)
--- 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