Lines Matching defs:zsbuf
61 surf = lima_surface(job->key.zsbuf);
64 /* We don't have neither cbuf nor zsbuf, use dimensions from ctx */
103 struct pipe_surface *zsbuf)
130 pipe_surface_reference(&s->key.zsbuf, zsbuf);
148 if (job->key.zsbuf && (job->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)))
149 _mesa_hash_table_remove_key(ctx->write_jobs, job->key.zsbuf->texture);
152 pipe_surface_reference(&job->key.zsbuf, NULL);
164 struct pipe_surface *zsbuf)
168 .zsbuf = zsbuf,
175 struct lima_job *job = lima_job_create(ctx, cbuf, zsbuf);
189 return lima_job_get_with_fb(ctx, fb->base.cbufs[0], fb->base.zsbuf);
349 if (!job->key.zsbuf)
352 struct lima_surface *surf = lima_surface(job->key.zsbuf);
417 lima_pack_reload_plbu_cmd(job, job->key.zsbuf);
734 struct pipe_surface *zsbuf = job->key.zsbuf;
735 struct lima_resource *res = lima_resource(zsbuf->texture);
736 int level = zsbuf->u.tex.level;
737 uint32_t format = lima_format_get_pixel(zsbuf->format);
751 unsigned nr_samples = zsbuf->nr_samples ?
752 zsbuf->nr_samples : MAX2(1, zsbuf->texture->nr_samples);
849 if (job->key.zsbuf &&
1006 if (job->key.zsbuf && (job->resolve & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL))) {
1007 struct lima_surface *surf = lima_surface(job->key.zsbuf);