Lines Matching defs:ctx
72 lima_texture_desc_set_res(struct lima_context *ctx, lima_tex_desc *desc,
153 lima_update_tex_desc(struct lima_context *ctx, struct lima_sampler_state *sampler,
260 lima_texture_desc_set_res(ctx, desc, texture->base.texture,
287 lima_update_textures(struct lima_context *ctx)
289 struct lima_job *job = lima_job_get(ctx);
290 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj;
304 lima_flush_previous_job_writing_resource(ctx, texture->base.texture);
309 if (!(ctx->dirty & LIMA_CONTEXT_DIRTY_TEXTURES))
319 lima_ctx_buff_alloc(ctx, lima_ctx_buff_pp_tex_desc, size);
327 descs[i] = lima_ctx_buff_va(ctx, lima_ctx_buff_pp_tex_desc) + offset;
328 lima_update_tex_desc(ctx, sampler, texture, (void *)descs + offset, desc_size);
334 lima_ctx_buff_va(ctx, lima_ctx_buff_pp_tex_desc));
338 lima_ctx_buff_va(ctx, lima_ctx_buff_pp_tex_desc) + lima_tex_list_size,