aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/ir/gp/gpir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/lima/ir/gp/gpir.h')
-rw-r--r--src/gallium/drivers/lima/ir/gp/gpir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/lima/ir/gp/gpir.h b/src/gallium/drivers/lima/ir/gp/gpir.h
index 4d11fb1eaa7..26d0fd9ffa7 100644
--- a/src/gallium/drivers/lima/ir/gp/gpir.h
+++ b/src/gallium/drivers/lima/ir/gp/gpir.h
@@ -454,12 +454,12 @@ void gpir_node_print_prog_seq(gpir_compiler *comp);
static inline bool gpir_node_is_root(gpir_node *node)
{
- return list_empty(&node->succ_list);
+ return list_is_empty(&node->succ_list);
}
static inline bool gpir_node_is_leaf(gpir_node *node)
{
- return list_empty(&node->pred_list);
+ return list_is_empty(&node->pred_list);
}
#define gpir_node_to_alu(node) ((gpir_alu_node *)(node))