Searched refs:old_res (Results 1 – 1 of 1) sorted by relevance
1546 struct iris_resource *old_res, in iris_reallocate_resource_inplace() argument1551 if (iris_bo_is_external(old_res->bo)) in iris_reallocate_resource_inplace()1554 assert(old_res->mod_info == NULL); in iris_reallocate_resource_inplace()1555 assert(old_res->bo == old_res->aux.bo || old_res->aux.bo == NULL); in iris_reallocate_resource_inplace()1556 assert(old_res->bo == old_res->aux.clear_color_bo || in iris_reallocate_resource_inplace()1557 old_res->aux.clear_color_bo == NULL); in iris_reallocate_resource_inplace()1558 assert(old_res->external_format == PIPE_FORMAT_NONE); in iris_reallocate_resource_inplace()1560 struct pipe_resource templ = old_res->base.b; in iris_reallocate_resource_inplace()1570 if (old_res->base.b.target == PIPE_BUFFER) { in iris_reallocate_resource_inplace()1572 .width = old_res->base.b.width0, in iris_reallocate_resource_inplace()[all …]