util: rename list_empty() to list_is_empty()
[mesa.git] / src / compiler / spirv / vtn_cfg.c
index 843966f86b5fc80627225de41bbff9be03271939..a645149008125af87499d6d9f7d6831ca0d0a6f6 100644 (file)
@@ -1002,7 +1002,7 @@ vtn_emit_cf_list(struct vtn_builder *b, struct list_head *cf_list,
 
          vtn_emit_cf_list(b, &vtn_loop->body, NULL, NULL, handler);
 
-         if (!list_empty(&vtn_loop->cont_body)) {
+         if (!list_is_empty(&vtn_loop->cont_body)) {
             /* If we have a non-trivial continue body then we need to put
              * it at the beginning of the loop with a flag to ensure that
              * it doesn't get executed in the first iteration.