[Mesa-dev] [PATCH] nir: fix validation message

Alejandro Piñeiro apinheiro at igalia.com
Tue Aug 2 08:41:41 UTC 2016


Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>


On 02/08/16 09:46, Timothy Arceri wrote:
> Looks like a copy and paste error from f752effa087
>
> Cc: Jason Ekstrand <jason.ekstrand at intel.com>
> ---
>  src/compiler/nir/nir_validate.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/compiler/nir/nir_validate.c b/src/compiler/nir/nir_validate.c
> index 2d3f7a7..4182a68 100644
> --- a/src/compiler/nir/nir_validate.c
> +++ b/src/compiler/nir/nir_validate.c
> @@ -964,7 +964,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);
> @@ -979,7 +979,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);



More information about the mesa-dev mailing list