On Thursday, November 24, 2016 8:26:38 AM PST Dave Airlie wrote:
> From: Dave Airlie <airl...@redhat.com>
> 
> This only useful for spir-v shaders, but I keep finding myself
> having to add it.
> 
> Signed-off-by: Dave Airlie <airl...@redhat.com>
> ---
>  src/compiler/nir/nir_print.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
> index ed02435..a5b2909 100644
> --- a/src/compiler/nir/nir_print.c
> +++ b/src/compiler/nir/nir_print.c
> @@ -432,7 +432,7 @@ print_var_decl(nir_variable *var, print_state *state)
>           loc = buf;
>        }
>  
> -      fprintf(fp, " (%s, %u)%s", loc, var->data.driver_location,
> +      fprintf(fp, " (%s, %u, %u)%s", loc, var->data.driver_location, 
> var->data.binding,
>                var->data.compact ? " compact" : "");
>     }
>  
> 

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to