>          unsigned transient_count = 
> ctx->transient_pools[ctx->cmdstream_i].entry_index*ctx->transient_pools[0].entry_size
>  + ctx->transient_pools[ctx->cmdstream_i].entry_offset;
> -     printf("Uploaded transient %d bytes\n", transient_count);
> +     //printf("Uploaded transient %d bytes\n", transient_count);

This will raised an unused variable warning for transient_count, better
comment both or neither.

Other than that, Reviewed-by: Alyssa Rosenzweig <aly...@rosenzweig.io>

I wonder if this will fix some of the memory leaks on non-DRM as well.

Attachment: signature.asc
Description: PGP signature

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

Reply via email to