Home
last modified time | relevance | path

Searched refs:new_tex (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dir_clone.cpp213 ir_texture *new_tex = new(mem_ctx) ir_texture(this->op, this->is_sparse); in clone() local
214 new_tex->type = this->type; in clone()
216 new_tex->sampler = this->sampler->clone(mem_ctx, ht); in clone()
218 new_tex->coordinate = this->coordinate->clone(mem_ctx, ht); in clone()
220 new_tex->projector = this->projector->clone(mem_ctx, ht); in clone()
222 new_tex->shadow_comparator = this->shadow_comparator->clone(mem_ctx, ht); in clone()
224 new_tex->clamp = this->clamp->clone(mem_ctx, ht); in clone()
227 new_tex->offset = this->offset->clone(mem_ctx, ht); in clone()
237 new_tex->lod_info.bias = this->lod_info.bias->clone(mem_ctx, ht); in clone()
242 new_tex->lod_info.lod = this->lod_info.lod->clone(mem_ctx, ht); in clone()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c431 struct si_texture *new_tex; in si_reallocate_texture_inplace() local
449 new_tex = (struct si_texture *)screen->resource_create(screen, &templ); in si_reallocate_texture_inplace()
450 if (!new_tex) in si_reallocate_texture_inplace()
461 si_resource_copy_region(&sctx->b, &new_tex->buffer.b.b, in si_reallocate_texture_inplace()
473 radeon_bo_reference(sctx->screen->ws, &tex->buffer.buf, new_tex->buffer.buf); in si_reallocate_texture_inplace()
474 tex->buffer.gpu_address = new_tex->buffer.gpu_address; in si_reallocate_texture_inplace()
475 tex->buffer.memory_usage_kb = new_tex->buffer.memory_usage_kb; in si_reallocate_texture_inplace()
476 tex->buffer.bo_size = new_tex->buffer.bo_size; in si_reallocate_texture_inplace()
477 tex->buffer.bo_alignment_log2 = new_tex->buffer.bo_alignment_log2; in si_reallocate_texture_inplace()
478 tex->buffer.domains = new_tex->buffer.domains; in si_reallocate_texture_inplace()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c361 struct r600_texture *new_tex; in r600_reallocate_texture_inplace() local
384 new_tex = (struct r600_texture*)screen->resource_create(screen, &templ); in r600_reallocate_texture_inplace()
385 if (!new_tex) in r600_reallocate_texture_inplace()
397 rctx->dma_copy(&rctx->b, &new_tex->resource.b.b, i, 0, 0, 0, in r600_reallocate_texture_inplace()
408 pb_reference(&rtex->resource.buf, new_tex->resource.buf); in r600_reallocate_texture_inplace()
409 rtex->resource.gpu_address = new_tex->resource.gpu_address; in r600_reallocate_texture_inplace()
410 rtex->resource.vram_usage = new_tex->resource.vram_usage; in r600_reallocate_texture_inplace()
411 rtex->resource.gart_usage = new_tex->resource.gart_usage; in r600_reallocate_texture_inplace()
412 rtex->resource.bo_size = new_tex->resource.bo_size; in r600_reallocate_texture_inplace()
413 rtex->resource.bo_alignment = new_tex->resource.bo_alignment; in r600_reallocate_texture_inplace()
[all …]