Home
last modified time | relevance | path

Searched refs:attachmentCount (Results 1 – 25 of 138) sorted by relevance

123456

/external/swiftshader/src/Vulkan/
DVkFramebuffer.cpp51 attachmentCount = attachmentsCreateInfo->attachmentImageInfoCount;
52 for(uint32_t i = 0; i < attachmentCount; i++)
59 attachmentCount = pCreateInfo->attachmentCount;
60 for(uint32_t i = 0; i < attachmentCount; i++)
74 ASSERT(attachmentCount == renderPass->getAttachmentCount()); in clear()
76 const uint32_t count = std::min(clearValueCount, attachmentCount); in clear()
115 ASSERT(attachmentIndex < attachmentCount); in clearAttachment()
135 ASSERT(attachmentIndex < attachmentCount); in clearAttachment()
153 ASSERT(index < attachmentCount); in setAttachment()
225 return pCreateInfo->attachmentCount * sizeof(void *); in ComputeRequiredAllocationSize()
DVkRenderPass.cpp24 …ize_t attachmentSize = pCreateInfo->attachmentCount * sizeof(VkAttachmentDescription) + pCreateInf… in ComputeRequiredAllocationSizeT()
25 …+ pCreateInfo->attachmentCount * sizeof(uint32_t); … in ComputeRequiredAllocationSizeT()
128 : attachmentCount(pCreateInfo->attachmentCount) in RenderPass()
136 : attachmentCount(pCreateInfo->attachmentCount) in RenderPass()
221 if(attachmentCount > 0) in init()
223 size_t attachmentSize = pCreateInfo->attachmentCount * sizeof(VkAttachmentDescription); in init()
225 CopyAttachmentDescriptions(attachments, pCreateInfo->pAttachments, pCreateInfo->attachmentCount); in init()
228 size_t firstUseSize = pCreateInfo->attachmentCount * sizeof(int); in init()
233 hostMemory += pCreateInfo->attachmentCount * sizeof(uint32_t); in init()
234 for(auto i = 0u; i < pCreateInfo->attachmentCount; i++) in init()
DVkRenderPass.hpp38 return attachmentCount; in getAttachmentCount()
97 uint32_t attachmentCount = 0; member in vk::RenderPass
DVkFramebuffer.hpp42 uint32_t attachmentCount = 0; member in vk::Framebuffer
/external/vulkan-validation-layers/layers/
Dconvert_to_renderpass2.cpp114 out_struct->attachmentCount = in_struct->attachmentCount; in ConvertVkRenderPassCreateInfoToV2KHR()
122 if (out_struct->attachmentCount && in_struct->pAttachments) { in ConvertVkRenderPassCreateInfoToV2KHR()
123 … out_struct->pAttachments = new safe_VkAttachmentDescription2KHR[out_struct->attachmentCount]; in ConvertVkRenderPassCreateInfoToV2KHR()
124 for (uint32_t i = 0; i < out_struct->attachmentCount; ++i) { in ConvertVkRenderPassCreateInfoToV2KHR()
185 … attachment_ref.attachment < out_struct->attachmentCount && out_struct->pAttachments) { in ConvertVkRenderPassCreateInfoToV2KHR()
/external/skia/src/gpu/vk/
DGrVkRenderTarget.cpp348 uint32_t attachmentCount = 1; in getAttachmentsDescriptor() local
354 ++attachmentCount; in getAttachmentsDescriptor()
365 ++attachmentCount; in getAttachmentsDescriptor()
367 desc->fAttachmentCount = attachmentCount; in getAttachmentsDescriptor()
380 uint32_t attachmentCount = 1; in ReconstructAttachmentsDescriptor() local
386 ++attachmentCount; in ReconstructAttachmentsDescriptor()
396 ++attachmentCount; in ReconstructAttachmentsDescriptor()
398 desc->fAttachmentCount = attachmentCount; in ReconstructAttachmentsDescriptor()
/external/vulkan-validation-layers/tests/
Dvklayertests_imageless_framebuffer.cpp83 renderPassCreateInfo.attachmentCount = 1; in TEST_F()
108 framebufferCreateInfo.attachmentCount = 1; in TEST_F()
149 renderPassAttachmentBeginInfo.attachmentCount = 1; in TEST_F()
170 renderPassAttachmentBeginInfo.attachmentCount = 2; in TEST_F()
174 renderPassAttachmentBeginInfo.attachmentCount = 1; in TEST_F()
179 renderPassAttachmentBeginInfo.attachmentCount = 2; in TEST_F()
183 renderPassAttachmentBeginInfo.attachmentCount = 1; in TEST_F()
358 renderPassCreateInfo.attachmentCount = 1; in TEST_F()
384 framebufferCreateInfo.attachmentCount = 1; in TEST_F()
456 renderPassCreateInfo.attachmentCount = 1; in TEST_F()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp265 attachmentCount = static_cast<deUint32>(atachments.size()); in FramebufferCreateInfo()
267 if (attachmentCount) in FramebufferCreateInfo()
292 attachmentCount = static_cast<deUint32>(m_attachments.size()); in RenderPassCreateInfo()
320 attachmentCount = static_cast<deUint32>(m_attachments.size()); in RenderPassCreateInfo()
322 if (attachmentCount) { in RenderPassCreateInfo()
357 attachmentCount = static_cast<deUint32>(m_attachments.size()); in addAttachment()
901 attachmentCount = static_cast<deUint32>(m_attachments.size()); in ColorBlendState()
916 attachmentCount = static_cast<deUint32>(m_attachments.size()); in ColorBlendState()
921 : m_attachments (createInfo.pAttachments, createInfo.pAttachments + createInfo.attachmentCount) in ColorBlendState()
928 attachmentCount = static_cast<deUint32>(m_attachments.size()); in ColorBlendState()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp659 for (uint32_t index = 0; index < createInfo.attachmentCount; ++index) in CreateRenderPass2()
774 createInfo2.attachmentCount = createInfo.attachmentCount; in CreateRenderPass2()
962 PackedAttachmentIndex attachmentCount(0); in InitializeRenderPassFromDesc() local
985 colorRef.attachment = attachmentCount.get(); in InitializeRenderPassFromDesc()
989 static_cast<ImageLayout>(ops[attachmentCount].initialLayout)); in InitializeRenderPassFromDesc()
992 UnpackAttachmentDesc(&attachmentDescs[attachmentCount.get()], format, attachmentSamples, in InitializeRenderPassFromDesc()
993 ops[attachmentCount]); in InitializeRenderPassFromDesc()
1008 attachmentDescs[attachmentCount.get()].format = in InitializeRenderPassFromDesc()
1010 ASSERT(attachmentDescs[attachmentCount.get()].format != VK_FORMAT_UNDEFINED); in InitializeRenderPassFromDesc()
1012 isColorInvalidated.set(colorIndexGL, ops[attachmentCount].isInvalidated); in InitializeRenderPassFromDesc()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_pass.c253 anv_multialloc_add(&ma, &attachments, pCreateInfo->attachmentCount); in anv_CreateRenderPass()
273 pass->attachment_count = pCreateInfo->attachmentCount; in anv_CreateRenderPass()
278 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in anv_CreateRenderPass()
492 anv_multialloc_add(&ma, &attachments, pCreateInfo->attachmentCount); in anv_CreateRenderPass2()
512 pass->attachment_count = pCreateInfo->attachmentCount; in anv_CreateRenderPass2()
517 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in anv_CreateRenderPass2()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderPassUtil.hpp152 deUint32 attachmentCount,
170 deUint32 attachmentCount,
DvktMultiViewRenderPassUtil.cpp235 attachmentCount = attachmentCount_; in RenderPassCreateInfo1()
264 attachmentCount = attachmentCount_; in RenderPassCreateInfo2()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pass.c161 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in lvp_CreateRenderPass()
175 pass->attachment_count = pCreateInfo->attachmentCount; in lvp_CreateRenderPass()
179 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in lvp_CreateRenderPass()
/external/mesa3d/src/freedreno/vulkan/
Dtu_legacy.c232 VkAttachmentDescription2 attachments[pCreateInfo->attachmentCount]; in tu_CreateRenderPass()
255 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in tu_CreateRenderPass()
333 .attachmentCount = pCreateInfo->attachmentCount, in tu_CreateRenderPass()
Dtu_pass.c323 for (unsigned i = 0; i < info->attachmentCount; i++) { in tu_render_pass_add_implicit_deps()
494 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in tu_CreateRenderPass2()
501 pass->attachment_count = pCreateInfo->attachmentCount; in tu_CreateRenderPass2()
505 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in tu_CreateRenderPass2()
/external/mesa3d/src/amd/vulkan/
Dradv_pass.c330 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in radv_CreateRenderPass()
342 pass->attachment_count = pCreateInfo->attachmentCount; in radv_CreateRenderPass()
356 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in radv_CreateRenderPass()
516 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in radv_CreateRenderPass2()
528 pass->attachment_count = pCreateInfo->attachmentCount; in radv_CreateRenderPass2()
532 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in radv_CreateRenderPass2()
Dradv_meta_decompress.c65 .attachmentCount = 1, in create_pass()
221 .attachmentCount = 0, in create_pipeline()
437 .attachmentCount = 1, in radv_process_depth_image_layer()
Dradv_meta_blit2d.c198 .attachmentCount = 1, in blit2d_bind_dst()
800 .attachmentCount = 1, in blit2d_init_color_pipeline()
881 .attachmentCount = 1, in blit2d_init_color_pipeline()
994 .attachmentCount = 1, in blit2d_init_depth_only_pipeline()
1071 .attachmentCount = 0, in blit2d_init_depth_only_pipeline()
1184 .attachmentCount = 1, in blit2d_init_stencil_only_pipeline()
1261 .attachmentCount = 0, in blit2d_init_stencil_only_pipeline()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_clear.c396 .attachmentCount = color_count, in create_color_clear_pipeline()
453 .attachmentCount = pass->subpasses[subpass_idx].color_count, in create_depth_clear_pipeline()
502 .attachmentCount = 1, in create_color_clear_render_pass()
887 .attachmentCount = 1, in emit_color_clear_rect()
1606 uint32_t attachmentCount, in handle_deferred_clear_attachments() argument
1633 job->cpu.clear_attachments.attachment_count = attachmentCount; in handle_deferred_clear_attachments()
1635 sizeof(VkClearAttachment) * attachmentCount); in handle_deferred_clear_attachments()
1660 uint32_t attachmentCount, in v3dv_CmdClearAttachments() argument
1668 assert(attachmentCount <= 5); /* 4 color + D/S */ in v3dv_CmdClearAttachments()
1690 attachmentCount, pAttachments, in v3dv_CmdClearAttachments()
[all …]
Dv3dv_pass.c118 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in v3dv_CreateRenderPass()
126 pass->attachment_count = pCreateInfo->attachmentCount; in v3dv_CreateRenderPass()
131 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) in v3dv_CreateRenderPass()
/external/swiftshader/tests/VulkanWrapper/
DFramebuffer.cpp38 framebufferCreateInfo.attachmentCount = static_cast<uint32_t>(attachments.size()); in Framebuffer()
/external/skqp/src/gpu/vk/
DGrVkFramebuffer.cpp36 createInfo.attachmentCount = numAttachments; in Create()
DGrVkRenderTarget.cpp270 uint32_t attachmentCount = 1; in getAttachmentsDescriptor() local
280 ++attachmentCount; in getAttachmentsDescriptor()
282 desc->fAttachmentCount = attachmentCount; in getAttachmentsDescriptor()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTestsUtil.hpp168 deUint32 attachmentCount,
186 deUint32 attachmentCount,
DvktRenderPassMultisampleResolveTests.cpp117 deUint32 attachmentCount; member
196 , m_attachmentsCount (config.attachmentCount) in MultisampleRenderPassTestBase()
422 if (config.attachmentCount > properties.limits.maxColorAttachments) in featuresSupported()
2489 for (deUint32 attIdx = 0; attIdx < config.attachmentCount; ++attIdx) in init()
2547 deUint32 halfAttachments = config.attachmentCount / 2; in init()
2548 for (deUint32 attIdx = 0; attIdx < config.attachmentCount; ++attIdx) in init()
2568 std::string namePostfix = de::toString(config.attachmentCount); in init()
2707 deUint32 attachmentCount = 1 << power; in initTests() local
2708 … std::string maxAttName = "max_attachments_" + de::toString(attachmentCount) + "_" + testName; in initTests()
2712 maxAttachmentsTestConfig.attachmentCount = attachmentCount; in initTests()
[all …]

123456