mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
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:
parent
2c95d6dac3
commit
362edc868c
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue