Lines Matching defs:texture
433 default: unreachable("Unsupported texture dimension");
439 struct pipe_resource *texture,
443 struct agx_resource *rsrc = agx_resource(texture);
482 cfg.width = u_minify(texture->width0, level);
483 cfg.height = u_minify(texture->height0, level);
491 cfg.depth = u_minify(texture->depth0, level);
502 so->base.texture = NULL;
503 pipe_resource_reference(&so->base.texture, texture);
552 pipe_resource_reference(&view->base.texture, NULL);
559 struct pipe_resource *texture,
567 pipe_resource_reference(&surface->texture, texture);
570 surface->width = texture->width0;
571 surface->height = texture->height0;
572 surface->texture = texture;
753 struct agx_resource *tex = agx_resource(surf->texture);
811 pipe_resource_reference(&surface->texture, NULL);
1112 agx_batch_add_bo(ctx->batch, agx_resource(tex->base.texture)->bo);
1229 struct agx_ptr texture = agx_pool_alloc_aligned(&ctx->batch->pool, AGX_TEXTURE_LENGTH, 64);
1243 agx_pack(texture.cpu, TEXTURE, cfg) {
1244 struct agx_resource *rsrc = agx_resource(surf->texture);
1250 /* To reduce shader variants, we always use a non-mipmapped 2D texture.
1277 cfg.buffer = texture.gpu;