Lines Matching defs:cbuf
58 struct lima_surface *surf = lima_surface(job->key.cbuf);
64 /* We don't have neither cbuf nor zsbuf, use dimensions from ctx */
102 struct pipe_surface *cbuf,
129 pipe_surface_reference(&s->key.cbuf, cbuf);
146 if (job->key.cbuf && (job->resolve & PIPE_CLEAR_COLOR0))
147 _mesa_hash_table_remove_key(ctx->write_jobs, job->key.cbuf->texture);
151 pipe_surface_reference(&job->key.cbuf, NULL);
163 struct pipe_surface *cbuf,
167 .cbuf = cbuf,
175 struct lima_job *job = lima_job_create(ctx, cbuf, zsbuf);
316 if (!(job->key.cbuf && (job->resolve & PIPE_CLEAR_COLOR0)))
319 struct lima_surface *surf = lima_surface(job->key.cbuf);
327 if (!job->key.cbuf)
330 struct lima_surface *surf = lima_surface(job->key.cbuf);
413 lima_pack_reload_plbu_cmd(job, job->key.cbuf);
764 struct pipe_surface *cbuf = job->key.cbuf;
765 struct lima_resource *res = lima_resource(cbuf->texture);
766 int level = cbuf->u.tex.level;
767 unsigned layer = cbuf->u.tex.first_layer;
768 uint32_t format = lima_format_get_pixel(cbuf->format);
769 bool swap_channels = lima_format_get_pixel_swap_rb(cbuf->format);
772 frame->channel_layout = lima_format_get_channel_layout(cbuf->format);
786 unsigned nr_samples = cbuf->nr_samples ?
787 cbuf->nr_samples : MAX2(1, cbuf->texture->nr_samples);
800 struct pipe_surface *cbuf = job->key.cbuf;
807 if (cbuf && util_format_is_float(cbuf->format)) {
846 if (cbuf && (job->resolve & PIPE_CLEAR_COLOR0))
1001 if (job->key.cbuf && (job->resolve & PIPE_CLEAR_COLOR0)) {
1002 struct lima_surface *surf = lima_surface(job->key.cbuf);