Lines Matching defs:desc
364 so->desc = bo;
373 agx_bo_unreference(so->desc);
450 so->desc = agx_bo_create(dev, AGX_TEXTURE_LENGTH,
453 const struct util_format_description *desc =
464 util_format_compose_swizzles(desc->swizzle, view_swizzle, out_swizzle);
474 agx_pack(so->desc->ptr.cpu, TEXTURE, cfg) {
485 cfg.srgb = (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB);
553 agx_bo_unreference(view->desc);
754 const struct util_format_description *desc =
764 cfg.swizzle_r = agx_channel_from_pipe(desc->swizzle[0]);
765 cfg.swizzle_g = agx_channel_from_pipe(desc->swizzle[1]);
766 cfg.swizzle_b = agx_channel_from_pipe(desc->swizzle[2]);
767 cfg.swizzle_a = agx_channel_from_pipe(desc->swizzle[3]);
849 const struct util_format_description *desc =
852 unsigned chan_size = desc->channel[0].size / 8;
855 assert(desc->nr_channels >= 1 && desc->nr_channels <= 4);
861 .nr_comps_minus_1 = desc->nr_channels - 1,
1111 agx_batch_add_bo(ctx->batch, tex->desc);
1118 cfg.buffer = tex->desc->ptr.gpu;
1130 struct agx_bo *bo = sampler->desc;
1247 const struct util_format_description *desc =
1259 cfg.swizzle_r = agx_channel_from_pipe(desc->swizzle[0]);
1260 cfg.swizzle_g = agx_channel_from_pipe(desc->swizzle[1]);
1261 cfg.swizzle_b = agx_channel_from_pipe(desc->swizzle[2]);
1262 cfg.swizzle_a = agx_channel_from_pipe(desc->swizzle[3]);
1266 cfg.srgb = (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB);