etnaviv: initialize seqno of imported resources
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.zabel@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
This commit is contained in:
committed by
Lucas Stach
parent
2c95d6dac3
commit
362edc868c
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user