Searched refs:dup_res (Results 1 – 1 of 1) sorted by relevance
1049 struct d3d12_resource *dup_res; in d3d12_resource_make_writeable() local1054 dup_res = d3d12_resource(pipe_buffer_create(pres->screen, in d3d12_resource_make_writeable()1069 d3d12_direct_copy(ctx, dup_res, 0, &box, res, 0, &box, PIPE_MASK_RGBAZS); in d3d12_resource_make_writeable()1074 res->bo = dup_res->bo; in d3d12_resource_make_writeable()1077 d3d12_resource_destroy(dup_res->base.screen, &dup_res->base); in d3d12_resource_make_writeable()