Lines Matching defs:surf
752 struct pipe_surface *surf = state->cbufs[i];
753 struct agx_resource *tex = agx_resource(surf->texture);
755 util_format_description(surf->format);
756 unsigned level = surf->u.tex.level;
757 unsigned layer = surf->u.tex.first_layer;
759 assert(surf->u.tex.last_layer == layer);
763 cfg.format = agx_pixel_format[surf->format].hw;
770 cfg.level = surf->u.tex.level;
1023 struct pipe_surface *surf = ctx->batch->cbufs[i];
1025 if (surf) {
1026 enum pipe_format fmt = surf->format;
1219 agx_build_reload_pipeline(struct agx_context *ctx, uint32_t code, struct pipe_surface *surf)
1244 struct agx_resource *rsrc = agx_resource(surf->texture);
1245 unsigned level = surf->u.tex.level;
1246 unsigned layer = surf->u.tex.first_layer;
1248 util_format_description(surf->format);
1258 cfg.format = agx_pixel_format[surf->format].hw;
1263 cfg.width = u_minify(surf->width, level);
1264 cfg.height = u_minify(surf->height, level);