Lines Matching refs:attachment
65 const uint32_t attachment = subpass->input_attachments[i];
67 if (pCreateInfo->pAttachments[attachment].samples > 1)
100 * initialized with the result of the load op. Since the input attachment
365 /* Copy attachment descriptions. */
368 struct pvr_render_pass_attachment *attachment = &pass->attachments[i];
372 attachment->load_op = desc->loadOp;
373 attachment->store_op = desc->storeOp;
375 attachment->has_stencil = vk_format_has_stencil(attachment->vk_format);
376 if (attachment->has_stencil) {
377 attachment->stencil_load_op = desc->stencilLoadOp;
378 attachment->stencil_store_op = desc->stencilStoreOp;
381 attachment->vk_format = desc->format;
382 attachment->sample_count = desc->samples;
383 attachment->initial_layout = desc->initialLayout;
384 attachment->is_pbe_downscalable =
385 pvr_format_is_pbe_downscalable(attachment->vk_format);
386 attachment->index = i;
388 if (attachment->sample_count > pass->max_sample_count)
389 pass->max_sample_count = attachment->sample_count;
424 desc->pColorAttachments[j].attachment;
435 desc->pDepthStencilAttachment->attachment !=
437 index = desc->pDepthStencilAttachment->attachment;
448 desc->pResolveAttachments[j].attachment;
459 desc->pInputAttachments[j].attachment;
466 desc->pDepthStencilAttachment->attachment;