Reviewed-by: Marek Olšák <marek.ol...@amd.com>

Marek

On Sat, Apr 7, 2018 at 10:17 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote:

> ping
>
> On Tue, Feb 27, 2018 at 12:19 AM, Ilia Mirkin <imir...@alum.mit.edu>
> wrote:
> > Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu>
> > ---
> >  src/gallium/drivers/trace/tr_dump_state.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/src/gallium/drivers/trace/tr_dump_state.c
> b/src/gallium/drivers/trace/tr_dump_state.c
> > index e7e32237c4c..2d12720ddd9 100644
> > --- a/src/gallium/drivers/trace/tr_dump_state.c
> > +++ b/src/gallium/drivers/trace/tr_dump_state.c
> > @@ -724,7 +724,7 @@ void trace_dump_image_view(const struct
> pipe_image_view *state)
> >     if (!trace_dumping_enabled_locked())
> >        return;
> >
> > -   if(!state) {
> > +   if (!state || !state->resource) {
> >        trace_dump_null();
> >        return;
> >     }
> > --
> > 2.16.1
> >
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to