Reviewed-by: Christian Gmeiner <christian.gmei...@gmail.com> 2016-12-06 17:17 GMT+01:00 Philipp Zabel <p.za...@pengutronix.de>: > Imported resources already have contents that we want to be copied to > texture resources derived from them. Set initial seqno of imported > resources to 1, just as if it had already been rendered to. > > Signed-off-by: Philipp Zabel <p.za...@pengutronix.de> > --- > src/gallium/drivers/etnaviv/etnaviv_resource.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/gallium/drivers/etnaviv/etnaviv_resource.c > b/src/gallium/drivers/etnaviv/etnaviv_resource.c > index aefe65b..a8858c5 100644 > --- a/src/gallium/drivers/etnaviv/etnaviv_resource.c > +++ b/src/gallium/drivers/etnaviv/etnaviv_resource.c > @@ -325,6 +325,8 @@ etna_resource_from_handle(struct pipe_screen *pscreen, > if (!rsc->bo) > goto fail; > > + rsc->seqno = 1; > + > level->width = tmpl->width0; > level->height = tmpl->height0; > > -- > 2.10.2 >
greets -- Christian Gmeiner, MSc https://www.youtube.com/user/AloryOFFICIAL https://soundcloud.com/christian-gmeiner _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev