Searched refs:new_tex (Results 1 – 3 of 3) sorted by relevance
/external/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 …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_texture.c | 447 struct si_texture *new_tex; in si_reallocate_texture_inplace() local 465 new_tex = (struct si_texture *)screen->resource_create(screen, &templ); in si_reallocate_texture_inplace() 466 if (!new_tex) in si_reallocate_texture_inplace() 477 sctx->dma_copy(&sctx->b, &new_tex->buffer.b.b, i, 0, 0, 0, &tex->buffer.b.b, i, &box); in si_reallocate_texture_inplace() 488 pb_reference(&tex->buffer.buf, new_tex->buffer.buf); in si_reallocate_texture_inplace() 489 tex->buffer.gpu_address = new_tex->buffer.gpu_address; in si_reallocate_texture_inplace() 490 tex->buffer.vram_usage = new_tex->buffer.vram_usage; in si_reallocate_texture_inplace() 491 tex->buffer.gart_usage = new_tex->buffer.gart_usage; in si_reallocate_texture_inplace() 492 tex->buffer.bo_size = new_tex->buffer.bo_size; in si_reallocate_texture_inplace() 493 tex->buffer.bo_alignment = new_tex->buffer.bo_alignment; in si_reallocate_texture_inplace() [all …]
|
/external/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 …]
|