Lines Matching defs:key
64 const struct pipe_framebuffer_state *key,
80 util_copy_framebuffer_state(&batch->key, key);
94 for (unsigned i = 0; i < batch->key.nr_cbufs; ++i)
95 panfrost_batch_add_surface(batch, batch->key.cbufs[i]);
97 panfrost_batch_add_surface(batch, batch->key.zsbuf);
126 struct panfrost_resource *rsrc = (void *) entry->key;
142 util_unreference_framebuffer_state(&batch->key);
156 const struct pipe_framebuffer_state *key)
162 util_framebuffer_state_equal(&ctx->batches.slots[i].key, key)) {
180 panfrost_batch_init(ctx, key, batch);
196 assert(util_framebuffer_state_equal(&ctx->batch->key,
480 fb->width = batch->key.width;
481 fb->height = batch->key.height;
486 fb->nr_samples = util_framebuffer_get_num_samples(&batch->key);
487 fb->rt_count = batch->key.nr_cbufs;
496 struct pipe_surface *surf = batch->key.cbufs[i];
535 if (batch->key.zsbuf) {
536 struct pipe_surface *surf = batch->key.zsbuf;
768 if (batch->key.nr_cbufs < 1 || !batch->key.cbufs[0])
771 struct pipe_surface *surf = batch->key.cbufs[0];
796 if (batch->key.zsbuf && panfrost_has_fragment_job(batch)) {
797 struct pipe_surface *surf = batch->key.zsbuf;
847 for (unsigned i = 0; i < batch->key.nr_cbufs; i++) {
848 if (!batch->key.cbufs[i])
852 batch->key.cbufs[i]->texture,