mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
ir3: use generic INSTR0 implementation for ir3_NOP
Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32088>
This commit is contained in:
parent
af92e4934e
commit
6c38402e9a
1 changed files with 1 additions and 6 deletions
|
|
@ -2549,12 +2549,6 @@ ir3_BALLOT_MACRO(struct ir3_block *block, struct ir3_instruction *src,
|
|||
return instr;
|
||||
}
|
||||
|
||||
static inline struct ir3_instruction *
|
||||
ir3_NOP(struct ir3_block *block)
|
||||
{
|
||||
return ir3_instr_create(block, OPC_NOP, 0, 0);
|
||||
}
|
||||
|
||||
/* clang-format off */
|
||||
#define __INSTR0(flag, name, opc) \
|
||||
static inline struct ir3_instruction *ir3_##name(struct ir3_block *block) \
|
||||
|
|
@ -2751,6 +2745,7 @@ static inline struct ir3_instruction *ir3_##name( \
|
|||
#define INSTR6NODST(name) __INSTR6((ir3_instruction_flags)0, 0, name, OPC_##name)
|
||||
|
||||
/* cat0 instructions: */
|
||||
INSTR0(NOP)
|
||||
INSTR1NODST(BR)
|
||||
INSTR1NODST(BALL)
|
||||
INSTR1NODST(BANY)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue