• Home
  • Raw
  • Download

Lines Matching refs:pass

57    struct anv_render_pass *pass;  in anv_CreateRenderPass()  local
63 anv_multialloc_add(&ma, &pass, 1); in anv_CreateRenderPass()
83 memset(pass, 0, ma.size); in anv_CreateRenderPass()
84 pass->attachment_count = pCreateInfo->attachmentCount; in anv_CreateRenderPass()
85 pass->subpass_count = pCreateInfo->subpassCount; in anv_CreateRenderPass()
86 pass->attachments = attachments; in anv_CreateRenderPass()
87 pass->subpass_flushes = subpass_flushes; in anv_CreateRenderPass()
90 struct anv_render_pass_attachment *att = &pass->attachments[i]; in anv_CreateRenderPass()
106 struct anv_subpass *subpass = &pass->subpasses[i]; in anv_CreateRenderPass()
123 pass->attachments[a].usage |= VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT; in anv_CreateRenderPass()
124 pass->attachments[a].last_subpass_idx = i; in anv_CreateRenderPass()
126 init_first_subpass_layout(&pass->attachments[a], in anv_CreateRenderPass()
144 pass->attachments[a].usage |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in anv_CreateRenderPass()
145 pass->attachments[a].last_subpass_idx = i; in anv_CreateRenderPass()
147 init_first_subpass_layout(&pass->attachments[a], in anv_CreateRenderPass()
164 pass->attachments[color_att].usage |= in anv_CreateRenderPass()
166 pass->attachments[a].usage |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; in anv_CreateRenderPass()
167 pass->attachments[a].last_subpass_idx = i; in anv_CreateRenderPass()
169 init_first_subpass_layout(&pass->attachments[a], in anv_CreateRenderPass()
181 pass->attachments[a].usage |= in anv_CreateRenderPass()
183 pass->attachments[a].last_subpass_idx = i; in anv_CreateRenderPass()
185 init_first_subpass_layout(&pass->attachments[a], in anv_CreateRenderPass()
197 pass->subpass_flushes[pass->subpass_count] |= in anv_CreateRenderPass()
200 assert(dep->dstSubpass < pass->subpass_count); in anv_CreateRenderPass()
201 pass->subpass_flushes[dep->dstSubpass] |= in anv_CreateRenderPass()
206 pass->subpass_flushes[0] |= in anv_CreateRenderPass()
209 assert(dep->srcSubpass < pass->subpass_count); in anv_CreateRenderPass()
210 pass->subpass_flushes[dep->srcSubpass + 1] |= in anv_CreateRenderPass()
263 pass->subpass_flushes[0] |= in anv_CreateRenderPass()
267 pass->subpass_flushes[pass->subpass_count] |= in anv_CreateRenderPass()
271 pass->subpass_flushes[pass->subpass_count] |= in anv_CreateRenderPass()
281 pass->subpasses[i].view_mask = mv->pViewMasks[i]; in anv_CreateRenderPass()
291 *pRenderPass = anv_render_pass_to_handle(pass); in anv_CreateRenderPass()
302 ANV_FROM_HANDLE(anv_render_pass, pass, _pass); in anv_DestroyRenderPass()
304 vk_free2(&device->alloc, pAllocator, pass); in anv_DestroyRenderPass()
312 ANV_FROM_HANDLE(anv_render_pass, pass, renderPass); in anv_GetRenderAreaGranularity()
317 for (unsigned i = 0; i < pass->subpass_count; ++i) { in anv_GetRenderAreaGranularity()
318 if (pass->subpasses[i].depth_stencil_attachment.attachment != in anv_GetRenderAreaGranularity()