<div dir="ltr"><div>Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>><br><br></div>Marek<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 7, 2018 at 10:17 PM, Ilia Mirkin <span dir="ltr"><<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ping<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Feb 27, 2018 at 12:19 AM, Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>> wrote:<br>
> Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>><br>
> ---<br>
>  src/gallium/drivers/trace/tr_<wbr>dump_state.c | 2 +-<br>
>  1 file changed, 1 insertion(+), 1 deletion(-)<br>
><br>
> diff --git a/src/gallium/drivers/trace/<wbr>tr_dump_state.c b/src/gallium/drivers/trace/<wbr>tr_dump_state.c<br>
> index e7e32237c4c..2d12720ddd9 100644<br>
> --- a/src/gallium/drivers/trace/<wbr>tr_dump_state.c<br>
> +++ b/src/gallium/drivers/trace/<wbr>tr_dump_state.c<br>
> @@ -724,7 +724,7 @@ void trace_dump_image_view(const struct pipe_image_view *state)<br>
>     if (!trace_dumping_enabled_<wbr>locked())<br>
>        return;<br>
><br>
> -   if(!state) {<br>
> +   if (!state || !state->resource) {<br>
>        trace_dump_null();<br>
>        return;<br>
>     }<br>
> --<br>
> 2.16.1<br>
><br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div>