mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
freedreno/ir3: remove unused helper
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4272>
This commit is contained in:
parent
c6a8792753
commit
1b4b455739
1 changed files with 0 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue