mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
lima/ppir: Rename ppir_op_dummy to ppir_op_undef
Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de> Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com> Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
This commit is contained in:
parent
3976c86e70
commit
4ddadd6370
3 changed files with 5 additions and 5 deletions
|
|
@ -151,12 +151,12 @@ static void ppir_node_add_src(ppir_compiler *comp, ppir_node *node,
|
|||
child = comp->var_nodes[(reg->index << 2) + comp->reg_base + swizzle];
|
||||
/* Reg is read before it was written, create a dummy node for it */
|
||||
if (!child) {
|
||||
child = ppir_node_create_reg(node->block, ppir_op_dummy, reg,
|
||||
child = ppir_node_create_reg(node->block, ppir_op_undef, reg,
|
||||
u_bit_consecutive(0, 4));
|
||||
comp->var_nodes[(reg->index << 2) + comp->reg_base + swizzle] = child;
|
||||
}
|
||||
/* Don't add dummies or recursive deps for ops like r1 = r1 + ssa1 */
|
||||
if (child && node != child && child->op != ppir_op_dummy)
|
||||
if (child && node != child && child->op != ppir_op_undef)
|
||||
ppir_node_add_dep(node, child);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -335,8 +335,8 @@ const ppir_op_info ppir_op_infos[] = {
|
|||
PPIR_INSTR_SLOT_BRANCH, PPIR_INSTR_SLOT_END
|
||||
},
|
||||
},
|
||||
[ppir_op_dummy] = {
|
||||
.name = "dummy",
|
||||
[ppir_op_undef] = {
|
||||
.name = "undef",
|
||||
.type = ppir_node_type_alu,
|
||||
.slots = (int []) {
|
||||
},
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ typedef enum {
|
|||
ppir_op_discard,
|
||||
ppir_op_branch,
|
||||
|
||||
ppir_op_dummy,
|
||||
ppir_op_undef,
|
||||
|
||||
ppir_op_num,
|
||||
} ppir_op;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue