nir: fix validation message
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 2 Aug 2016 07:46:19 +0000 (17:46 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 2 Aug 2016 23:31:57 +0000 (09:31 +1000)
Looks like a copy and paste error from f752effa087

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/compiler/nir/nir_validate.c

index 63e85cf6037b3706df49b4f27331e7f5b89c8d56..d0c9be2d8a9a29f18db3f9aa412e8e42f205bdf4 100644 (file)
@@ -970,7 +970,7 @@ postvalidate_ssa_def(nir_ssa_def *def, void *void_state)
    }
 
    if (def_state->uses->entries != 0) {
-      printf("extra entries in register uses:\n");
+      printf("extra entries in SSA def uses:\n");
       struct set_entry *entry;
       set_foreach(def_state->uses, entry)
          printf("%p\n", entry->key);
@@ -985,7 +985,7 @@ postvalidate_ssa_def(nir_ssa_def *def, void *void_state)
    }
 
    if (def_state->if_uses->entries != 0) {
-      printf("extra entries in register uses:\n");
+      printf("extra entries in SSA def uses:\n");
       struct set_entry *entry;
       set_foreach(def_state->if_uses, entry)
          printf("%p\n", entry->key);