Searched refs:new_tex (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_clone.cpp | 213 ir_texture *new_tex = new(mem_ctx) ir_texture(this->op); 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() 226 new_tex->offset = this->offset->clone(mem_ctx, ht); in clone() 236 new_tex->lod_info.bias = this->lod_info.bias->clone(mem_ctx, ht); in clone() 241 new_tex->lod_info.lod = this->lod_info.lod->clone(mem_ctx, ht); in clone() 244 new_tex->lod_info.sample_index = this->lod_info.sample_index->clone(mem_ctx, ht); in clone() [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_texture.c | 413 struct si_texture *new_tex; in si_reallocate_texture_inplace() local 431 new_tex = (struct si_texture *)screen->resource_create(screen, &templ); in si_reallocate_texture_inplace() 432 if (!new_tex) in si_reallocate_texture_inplace() 443 si_resource_copy_region(&sctx->b, &new_tex->buffer.b.b, in si_reallocate_texture_inplace() 455 radeon_bo_reference(sctx->screen->ws, &tex->buffer.buf, new_tex->buffer.buf); in si_reallocate_texture_inplace() 456 tex->buffer.gpu_address = new_tex->buffer.gpu_address; in si_reallocate_texture_inplace() 457 tex->buffer.memory_usage_kb = new_tex->buffer.memory_usage_kb; in si_reallocate_texture_inplace() 458 tex->buffer.bo_size = new_tex->buffer.bo_size; in si_reallocate_texture_inplace() 459 tex->buffer.bo_alignment_log2 = new_tex->buffer.bo_alignment_log2; in si_reallocate_texture_inplace() 460 tex->buffer.domains = new_tex->buffer.domains; in si_reallocate_texture_inplace() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 361 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 …]
|