Lines Matching refs:attachment
18 void setup_vk_attachment_description(VkAttachmentDescription* attachment, in setup_vk_attachment_description() argument
21 attachment->flags = 0; in setup_vk_attachment_description()
22 attachment->format = desc.fFormat; in setup_vk_attachment_description()
23 SkAssertResult(GrSampleCountToVkSampleCount(desc.fSamples, &attachment->samples)); in setup_vk_attachment_description()
26 attachment->loadOp = desc.fLoadStoreOps.fLoadOp; in setup_vk_attachment_description()
27 attachment->storeOp = desc.fLoadStoreOps.fStoreOp; in setup_vk_attachment_description()
28 attachment->stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
29 attachment->stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; in setup_vk_attachment_description()
32 attachment->loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
33 attachment->storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; in setup_vk_attachment_description()
34 attachment->stencilLoadOp = desc.fLoadStoreOps.fLoadOp; in setup_vk_attachment_description()
35 attachment->stencilStoreOp = desc.fLoadStoreOps.fStoreOp; in setup_vk_attachment_description()
41 attachment->initialLayout = layout; in setup_vk_attachment_description()
42 attachment->finalLayout = layout; in setup_vk_attachment_description()
84 colorRef.attachment = currentAttachment++; in init()
94 colorRef.attachment = VK_ATTACHMENT_UNUSED; in init()
107 stencilRef.attachment = currentAttachment++; in init()
113 stencilRef.attachment = VK_ATTACHMENT_UNUSED; in init()