Home
last modified time | relevance | path

Searched refs:pColorAttachments (Results 1 – 25 of 40) sorted by relevance

12

/external/swiftshader/src/Vulkan/
DVkRenderPass.cpp49 subpasses[i].pColorAttachments = nullptr; in RenderPass()
66 subpasses[i].pColorAttachments = reinterpret_cast<VkAttachmentReference*>(hostMemory); in RenderPass()
67 memcpy(const_cast<VkAttachmentReference*>(subpasses[i].pColorAttachments), in RenderPass()
68 pCreateInfo->pSubpasses[i].pColorAttachments, colorAttachmentsSize); in RenderPass()
DVkFramebuffer.cpp81 ASSERT(subpass.pColorAttachments[attachment.colorAttachment].attachment < attachmentCount); in clear()
83 attachments[subpass.pColorAttachments[attachment.colorAttachment].attachment]->clear( in clear()
/external/vulkan-validation-layers/layers/
Dconvert_to_renderpass2.cpp59 out_struct->pColorAttachments = nullptr; in ConvertVkSubpassDescriptionToV2KHR()
70 if (out_struct->colorAttachmentCount && in_struct->pColorAttachments) { in ConvertVkSubpassDescriptionToV2KHR()
71 …out_struct->pColorAttachments = new safe_VkAttachmentReference2KHR[out_struct->colorAttachmentCoun… in ConvertVkSubpassDescriptionToV2KHR()
73 …ConvertVkAttachmentReferenceToV2KHR(&in_struct->pColorAttachments[i], &out_struct->pColorAttachmen… in ConvertVkSubpassDescriptionToV2KHR()
Dbuffer_validation.cpp535 auto &attachment_ref = subpass.pColorAttachments[k]; in VerifyFramebufferAndRenderPassLayouts()
592 … TransitionAttachmentRefLayout(device_data, pCB, framebuffer_state, subpass.pColorAttachments[j]); in TransitionSubpassLayouts()
2838 … color_attachment = subpass_desc->pColorAttachments[clear_desc->colorAttachment].attachment; in PreCallValidateCmdClearAttachments()
3548 used_as_color = (subpass.pColorAttachments[k].attachment == attach_index); in ValidateLayouts()
3562 auto attach_index = subpass.pColorAttachments[j].attachment; in ValidateLayouts()
3568 switch (subpass.pColorAttachments[j].layout) { in ValidateLayouts()
3588 … j, i, string_VkImageLayout(subpass.pColorAttachments[j].layout)); in ValidateLayouts()
3595 string_VkImageLayout(subpass.pColorAttachments[j].layout)); in ValidateLayouts()
3609 …ValidateLayoutVsAttachmentDescription(report_data, rp_version, subpass.pColorAttachments[j].layout, in ValidateLayouts()
Dcore_validation.cpp830 primary_color_attach = primary_desc.pColorAttachments[i].attachment; in ValidateSubpassCompatibility()
833 secondary_color_attach = secondary_desc.pColorAttachments[i].attachment; in ValidateSubpassCompatibility()
1033 const auto attachment = subpass_desc->pColorAttachments[i].attachment; in ValidatePipelineDrawtimeState()
1557 if (subpass_desc->pColorAttachments[i].attachment != VK_ATTACHMENT_UNUSED) { in ValidatePipelineUnlocked()
1598 const auto attachment = subpass_desc->pColorAttachments[i].attachment; in ValidatePipelineUnlocked()
1631 if (subpass_desc->pColorAttachments[i].attachment != VK_ATTACHMENT_UNUSED) { in ValidatePipelineUnlocked()
1634 …pPipeline->rp_state->createInfo.pAttachments[subpass_desc->pColorAttachments[i].attachment].sample… in ValidatePipelineUnlocked()
1727 …const auto color_attachment_ref = subpass_desc->pColorAttachments[coverage_to_color_state->coverag… in ValidatePipelineUnlocked()
7718 … if (sub_desc.pColorAttachments && sub_desc.pColorAttachments[j].attachment == attach_index) { in ValidateImageBarrierImage()
7719 sub_image_layout = sub_desc.pColorAttachments[j].layout; in ValidateImageBarrierImage()
[all …]
Dstateless_validation.h880 …if (pCreateInfo->pSubpasses[subpass].pColorAttachments[i].attachment != VK_ATTACHMENT_UNUSED) uses… in RecordRenderPass()
/external/mesa3d/src/intel/vulkan/
Danv_pass.c140 uint32_t a = desc->pColorAttachments[j].attachment; in anv_CreateRenderPass()
141 subpass->color_attachments[j] = desc->pColorAttachments[j]; in anv_CreateRenderPass()
148 desc->pColorAttachments[j]); in anv_CreateRenderPass()
163 uint32_t color_att = desc->pColorAttachments[j].attachment; in anv_CreateRenderPass()
/external/mesa3d/src/amd/vulkan/
Dradv_pass.c134 = desc->pColorAttachments[j]; in radv_CreateRenderPass()
135 if (desc->pColorAttachments[j].attachment != VK_ATTACHMENT_UNUSED) in radv_CreateRenderPass()
136 pass->attachments[desc->pColorAttachments[j].attachment].view_mask |= subpass->view_mask; in radv_CreateRenderPass()
Dradv_meta_clear.c220 .pColorAttachments = &(VkAttachmentReference) { in create_color_renderpass()
469 .pColorAttachments = NULL, in create_depthstencil_renderpass()
1238 .pColorAttachments = NULL, in radv_clear_image_layer()
1252 subpass_desc.pColorAttachments = &att_ref; in radv_clear_image_layer()
Dradv_meta_blit.c741 .pColorAttachments = &(VkAttachmentReference) { in radv_device_init_meta_blit_color()
903 .pColorAttachments = NULL, in radv_device_init_meta_blit_depth()
1064 .pColorAttachments = NULL, in radv_device_init_meta_blit_stencil()
Dradv_meta_blit2d.c727 .pColorAttachments = &(VkAttachmentReference) { in blit2d_init_color_pipeline()
892 .pColorAttachments = NULL, in blit2d_init_depth_only_pipeline()
1054 .pColorAttachments = NULL, in blit2d_init_stencil_only_pipeline()
Dradv_meta_decompress.c61 .pColorAttachments = NULL, in create_pass()
Dradv_meta_resolve.c83 .pColorAttachments = (VkAttachmentReference[]) { in create_pass()
Dradv_meta_resolve_fs.c236 .pColorAttachments = &(VkAttachmentReference) { in create_resolve_pipeline()
Dradv_meta_fast_clear.c210 .pColorAttachments = (VkAttachmentReference[]) { in create_pass()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderPassUtil.hpp95 const VkAttachmentReference* pColorAttachments,
112 const VkAttachmentReference2KHR* pColorAttachments,
DvktMultiViewRenderPassUtil.cpp136 pColorAttachments = pColorAttachments_; in SubpassDescription1()
164 pColorAttachments = pColorAttachments_; in SubpassDescription2()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTestsUtil.hpp105 const VkAttachmentReference* pColorAttachments,
122 const VkAttachmentReference2KHR* pColorAttachments,
DvktRenderPassTestsUtil.cpp139 pColorAttachments = pColorAttachments_; in SubpassDescription1()
167 pColorAttachments = pColorAttachments_; in SubpassDescription2()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp479 pColorAttachments = DE_NULL; in SubpassDescription()
489 pColorAttachments = &m_colorAttachments[0]; in SubpassDescription()
506 rhs.pColorAttachments, rhs.pColorAttachments + rhs.colorAttachmentCount); in SubpassDescription()
522 pColorAttachments = &m_colorAttachments[0]; in SubpassDescription()
551 pColorAttachments = &m_colorAttachments[0]; in operator =()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl285 …hments, deUint32 colorAttachmentCount, const VkAttachmentReference* pColorAttachments, const VkAtt… argument
293 res.pColorAttachments = pColorAttachments;
/external/skia/src/gpu/vk/
DGrVkRenderPass.cpp98 subpassDesc.pColorAttachments = &colorRef; in init()
/external/skqp/src/gpu/vk/
DGrVkRenderPass.cpp98 subpassDesc.pColorAttachments = &colorRef; in init()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp775 const VkAttachmentReference* pColorAttachments = DE_NULL; in createRenderPass() local
787 pColorAttachments = &attachmentRef; in createRenderPass()
798 pColorAttachments, // const VkAttachmentReference* pColorAttachments; in createRenderPass()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp538 subpass.pColorAttachments = color_references.data(); in InitRenderTarget()
811 subpass.pColorAttachments = &attach; in VkRenderpassObj()

12