This fixes a regression in some piglit tests since commit
5e5d5f1a2eb.
I think I mis-resolved the merge conflict when cherry-picking that
commit to master.
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
goto done;
s->backed = svga_surface(backed_view);
+
+ SVGA_STATS_TIME_POP(svga_sws(svga));
}
else if (s->backed->age < tex->age) {
/*
bs->key.numMipLevels,
bs->key.numFaces * bs->key.arraySize,
zslice, s->base.u.tex.level, layer);
-
- svga_mark_surface_dirty(&s->backed->base);
-
- SVGA_STATS_TIME_POP(svga_sws(svga));
}
+ svga_mark_surface_dirty(&s->backed->base);
s->backed->age = tex->age;
done: