Lines Matching refs:cbufs
70 if (job->cbufs[i]) { in vc5_job_free()
71 remove_from_ht(vc5->write_jobs, job->cbufs[i]->texture); in vc5_job_free()
72 pipe_surface_reference(&job->cbufs[i], NULL); in vc5_job_free()
201 if (job->cbufs[3] || job->cbufs[2]) in vc5_job_set_tile_buffer_size()
203 else if (job->cbufs[1]) in vc5_job_set_tile_buffer_size()
208 if (job->cbufs[i]) { in vc5_job_set_tile_buffer_size()
209 struct vc5_surface *surf = vc5_surface(job->cbufs[i]); in vc5_job_set_tile_buffer_size()
232 struct pipe_surface **cbufs, struct pipe_surface *zsbuf) in vc5_get_job() argument
236 .cbufs = { in vc5_get_job()
237 cbufs[0], in vc5_get_job()
238 cbufs[1], in vc5_get_job()
239 cbufs[2], in vc5_get_job()
240 cbufs[3], in vc5_get_job()
255 if (cbufs[i]) { in vc5_get_job()
256 vc5_flush_jobs_reading_resource(vc5, cbufs[i]->texture); in vc5_get_job()
257 pipe_surface_reference(&job->cbufs[i], cbufs[i]); in vc5_get_job()
259 if (cbufs[i]->texture->nr_samples > 1) in vc5_get_job()
273 if (cbufs[i]) in vc5_get_job()
275 cbufs[i]->texture, job); in vc5_get_job()
292 struct pipe_surface **cbufs = vc5->framebuffer.cbufs; in vc5_get_job_for_fbo() local
294 struct vc5_job *job = vc5_get_job(vc5, cbufs, zsbuf); in vc5_get_job_for_fbo()
306 if (cbufs[i]) { in vc5_get_job_for_fbo()
307 struct vc5_resource *rsc = vc5_resource(cbufs[i]->texture); in vc5_get_job_for_fbo()