/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkFramebuffer.cpp | 54 attachmentCount = attachmentsCreateInfo->attachmentImageInfoCount; 55 for(uint32_t i = 0; i < attachmentCount; i++) 62 attachmentCount = pCreateInfo->attachmentCount; 63 for(uint32_t i = 0; i < attachmentCount; i++) 81 ASSERT(attachmentCount == renderPass->getAttachmentCount()); in executeLoadOp() 83 const uint32_t count = std::min(clearValueCount, attachmentCount); in executeLoadOp() 148 ASSERT(attachmentIndex < attachmentCount); in clearAttachment() 168 ASSERT(attachmentIndex < attachmentCount); in clearAttachment() 188 ASSERT(index < attachmentCount); in setAttachment() 263 return pCreateInfo->attachmentCount * sizeof(void *); in ComputeRequiredAllocationSize()
|
D | VkRenderPass.cpp | 24 …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()
|
D | VkRenderPass.hpp | 38 return attachmentCount; in getAttachmentCount() 97 uint32_t attachmentCount = 0; member in vk::RenderPass
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | RenderPassCache.cpp | 119 uint32_t attachmentCount = colorAttachmentIndex; in CreateRenderPassForQuery() local 122 auto& attachmentDesc = attachmentDescs[attachmentCount]; in CreateRenderPassForQuery() 126 depthStencilAttachmentRef.attachment = attachmentCount; in CreateRenderPassForQuery() 139 ++attachmentCount; in CreateRenderPassForQuery() 145 auto& attachmentDesc = attachmentDescs[attachmentCount]; in CreateRenderPassForQuery() 147 attachmentRef.attachment = attachmentCount; in CreateRenderPassForQuery() 158 ++attachmentCount; in CreateRenderPassForQuery() 183 createInfo.attachmentCount = attachmentCount; in CreateRenderPassForQuery()
|
D | CommandBufferVk.cpp | 250 uint32_t attachmentCount = 0; in RecordBeginRenderPass() local 259 attachments[attachmentCount] = view->GetHandle(); in RecordBeginRenderPass() 261 clearValues[attachmentCount].color.float32[0] = attachmentInfo.clearColor.r; in RecordBeginRenderPass() 262 clearValues[attachmentCount].color.float32[1] = attachmentInfo.clearColor.g; in RecordBeginRenderPass() 263 clearValues[attachmentCount].color.float32[2] = attachmentInfo.clearColor.b; in RecordBeginRenderPass() 264 clearValues[attachmentCount].color.float32[3] = attachmentInfo.clearColor.a; in RecordBeginRenderPass() 266 attachmentCount++; in RecordBeginRenderPass() 273 attachments[attachmentCount] = view->GetHandle(); in RecordBeginRenderPass() 275 clearValues[attachmentCount].depthStencil.depth = attachmentInfo.clearDepth; in RecordBeginRenderPass() 276 clearValues[attachmentCount].depthStencil.stencil = attachmentInfo.clearStencil; in RecordBeginRenderPass() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | RenderPassCache.cpp | 143 uint32_t attachmentCount = colorAttachmentIndex; in CreateRenderPassForQuery() local 146 auto& attachmentDesc = attachmentDescs[attachmentCount]; in CreateRenderPassForQuery() 150 depthStencilAttachmentRef.attachment = attachmentCount; in CreateRenderPassForQuery() 169 ++attachmentCount; in CreateRenderPassForQuery() 175 auto& attachmentDesc = attachmentDescs[attachmentCount]; in CreateRenderPassForQuery() 177 attachmentRef.attachment = attachmentCount; in CreateRenderPassForQuery() 188 ++attachmentCount; in CreateRenderPassForQuery() 220 createInfo.attachmentCount = attachmentCount; in CreateRenderPassForQuery()
|
D | CommandBufferVk.cpp | 236 uint32_t attachmentCount = 0; in RecordBeginRenderPass() local 246 attachments[attachmentCount] = view->GetHandle(); in RecordBeginRenderPass() 253 clearValues[attachmentCount].color.float32[i] = in RecordBeginRenderPass() 262 clearValues[attachmentCount].color.uint32[i] = appliedClearColor[i]; in RecordBeginRenderPass() 270 clearValues[attachmentCount].color.int32[i] = appliedClearColor[i]; in RecordBeginRenderPass() 278 attachmentCount++; in RecordBeginRenderPass() 285 attachments[attachmentCount] = view->GetHandle(); in RecordBeginRenderPass() 287 clearValues[attachmentCount].depthStencil.depth = attachmentInfo.clearDepth; in RecordBeginRenderPass() 288 clearValues[attachmentCount].depthStencil.stencil = attachmentInfo.clearStencil; in RecordBeginRenderPass() 290 attachmentCount++; in RecordBeginRenderPass() [all …]
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_render_pass.c | 60 COUNT_PRESENT_SRC(create_info->pAttachments, create_info->attachmentCount, in vn_render_pass_count_present_src() 69 COUNT_PRESENT_SRC(create_info->pAttachments, create_info->attachmentCount, in vn_render_pass_count_present_src2() 79 create_info->attachmentCount, out_atts); in vn_render_pass_replace_present_src() 88 create_info->attachmentCount, out_atts); in vn_render_pass_replace_present_src2() 164 vk_alloc(alloc, sizeof(*temp_atts) * pCreateInfo->attachmentCount, in vn_CreateRenderPass() 214 vk_alloc(alloc, sizeof(*temp_atts) * pCreateInfo->attachmentCount, in vn_CreateRenderPass2() 293 const uint32_t view_count = imageless ? 0 : pCreateInfo->attachmentCount; in vn_CreateFramebuffer()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_framebuffer.c | 48 size += sizeof(VkImageView) * pCreateInfo->attachmentCount; in vk_common_CreateFramebuffer() 61 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) in vk_common_CreateFramebuffer() 63 framebuffer->attachment_count = pCreateInfo->attachmentCount; in vk_common_CreateFramebuffer()
|
D | vk_render_pass.c | 56 assert(reference2[i].attachment < pass_info->attachmentCount); in translate_references() 87 pCreateInfo->attachmentCount); in vk_common_CreateRenderPass() 117 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in vk_common_CreateRenderPass() 220 .attachmentCount = pCreateInfo->attachmentCount, in vk_common_CreateRenderPass() 430 pCreateInfo->attachmentCount); in vk_common_CreateRenderPass2() 455 pass->attachment_count = pCreateInfo->attachmentCount; in vk_common_CreateRenderPass2() 462 for (uint32_t a = 0; a < pCreateInfo->attachmentCount; a++) { in vk_common_CreateRenderPass2() 655 if (ref->attachment >= pCreateInfo->attachmentCount) { in vk_common_CreateRenderPass2() 677 if (ref->attachment < pCreateInfo->attachmentCount) { in vk_common_CreateRenderPass2() 2205 if (attach_begin && attach_begin->attachmentCount != 0) { in vk_common_CmdBeginRenderPass2() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkRenderTarget.cpp | 386 uint32_t attachmentCount = 1; in getAttachmentsDescriptor() local 392 ++attachmentCount; in getAttachmentsDescriptor() 404 ++attachmentCount; in getAttachmentsDescriptor() 406 desc->fAttachmentCount = attachmentCount; in getAttachmentsDescriptor() 419 uint32_t attachmentCount = 1; in ReconstructAttachmentsDescriptor() local 425 ++attachmentCount; in ReconstructAttachmentsDescriptor() 435 ++attachmentCount; in ReconstructAttachmentsDescriptor() 437 desc->fAttachmentCount = attachmentCount; in ReconstructAttachmentsDescriptor()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineColorWriteEnableTests.cpp | 1138 deUint32 attachmentCount; member 1214 const deUint32 attachmentCount, 1278 DE_ASSERT(m_params.attachmentCount >= 1); in checkSupport() 1280 if ((m_params.attachmentCount + m_params.attachmentMore) > maxColorAttachments) in checkSupport() 1285 …ss << "Sum of color attachments (" << m_params.attachmentCount << " + " << m_params.attachmentMore… in checkSupport() 1289 ss << "Color attachment count of " << m_params.attachmentCount; in checkSupport() 1305 const deUint32 ac = m_params.attachmentCount; in initPrograms() 1601 const deUint32 attachmentCount, in verifyAttachment() argument 1611 const Vec4 source (powf(0.5f, static_cast<float>(attachmentCount - attachmentIndex))); in verifyAttachment() 1636 const deUint32 attachmentCount = m_params.attachmentCount; in iterate() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineColorWriteEnableTests.cpp | 1138 deUint32 attachmentCount; member 1214 const deUint32 attachmentCount, 1278 DE_ASSERT(m_params.attachmentCount >= 1); in checkSupport() 1280 if ((m_params.attachmentCount + m_params.attachmentMore) > maxColorAttachments) in checkSupport() 1285 …ss << "Sum of color attachments (" << m_params.attachmentCount << " + " << m_params.attachmentMore… in checkSupport() 1289 ss << "Color attachment count of " << m_params.attachmentCount; in checkSupport() 1305 const deUint32 ac = m_params.attachmentCount; in initPrograms() 1601 const deUint32 attachmentCount, in verifyAttachment() argument 1611 const Vec4 source (powf(0.5f, static_cast<float>(attachmentCount - attachmentIndex))); in verifyAttachment() 1636 const deUint32 attachmentCount = m_params.attachmentCount; in iterate() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkPlatform.cpp | 547 …checkRenderPassSupport(pCreateInfo->attachmentCount, pCreateInfo->subpassCount, pCreateInfo->depen… in createRenderPassHandlerNorm() 566 …checkRenderPassSupport(pCreateInfo->attachmentCount, pCreateInfo->subpassCount, pCreateInfo->depen… in createRenderPassHandlerStat() 572 DDSTAT_HANDLE_CREATE(attachmentDescriptionRequestCount, pCreateInfo->attachmentCount); in createRenderPassHandlerStat() 587 …checkRenderPassSupport(pCreateInfo->attachmentCount, pCreateInfo->subpassCount, pCreateInfo->depen… in createRenderPass2HandlerNorm() 606 …checkRenderPassSupport(pCreateInfo->attachmentCount, pCreateInfo->subpassCount, pCreateInfo->depen… in createRenderPass2HandlerStat() 612 DDSTAT_HANDLE_CREATE(attachmentDescriptionRequestCount, pCreateInfo->attachmentCount); in createRenderPass2HandlerStat() 633 DDSTAT_HANDLE_DESTROY(attachmentDescriptionRequestCount, it->second.attachmentCount); in destroyRenderPassHandler() 643 DDSTAT_HANDLE_DESTROY(attachmentDescriptionRequestCount, it2->second.attachmentCount); in destroyRenderPassHandler() 818 if (pCreateInfo->attachmentCount > m_physicalDeviceVulkanSC10Properties.maxFramebufferAttachments) in checkFramebufferSupport() 820 …tring msg = "Requested framebuffer attachment count (" + de::toString(pCreateInfo->attachmentCount) in checkFramebufferSupport() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawCreateInfoUtil.cpp | 265 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() 917 attachmentCount = static_cast<deUint32>(m_attachments.size()); in ColorBlendState() 923 : m_attachments (createInfo.pAttachments, createInfo.pAttachments + createInfo.attachmentCount) in ColorBlendState() 930 attachmentCount = static_cast<deUint32>(m_attachments.size()); in ColorBlendState() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawCreateInfoUtil.cpp | 265 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() 917 attachmentCount = static_cast<deUint32>(m_attachments.size()); in ColorBlendState() 923 : m_attachments (createInfo.pAttachments, createInfo.pAttachments + createInfo.attachmentCount) in ColorBlendState() 930 attachmentCount = static_cast<deUint32>(m_attachments.size()); in ColorBlendState() [all …]
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_framebuffer.h | 189 size += vn_sizeof_uint32_t(&val->attachmentCount); in vn_sizeof_VkFramebufferCreateInfo_self() 191 size += vn_sizeof_array_size(val->attachmentCount); in vn_sizeof_VkFramebufferCreateInfo_self() 192 for (uint32_t i = 0; i < val->attachmentCount; i++) in vn_sizeof_VkFramebufferCreateInfo_self() 244 vn_encode_uint32_t(enc, &val->attachmentCount); in vn_encode_VkFramebufferCreateInfo_self() 246 vn_encode_array_size(enc, val->attachmentCount); in vn_encode_VkFramebufferCreateInfo_self() 247 for (uint32_t i = 0; i < val->attachmentCount; i++) in vn_encode_VkFramebufferCreateInfo_self()
|
D | vn_protocol_driver_render_pass.h | 393 size += vn_sizeof_uint32_t(&val->attachmentCount); in vn_sizeof_VkRenderPassCreateInfo_self() 395 size += vn_sizeof_array_size(val->attachmentCount); in vn_sizeof_VkRenderPassCreateInfo_self() 396 for (uint32_t i = 0; i < val->attachmentCount; i++) in vn_sizeof_VkRenderPassCreateInfo_self() 466 vn_encode_uint32_t(enc, &val->attachmentCount); in vn_encode_VkRenderPassCreateInfo_self() 468 vn_encode_array_size(enc, val->attachmentCount); in vn_encode_VkRenderPassCreateInfo_self() 469 for (uint32_t i = 0; i < val->attachmentCount; i++) in vn_encode_VkRenderPassCreateInfo_self() 1135 size += vn_sizeof_uint32_t(&val->attachmentCount); in vn_sizeof_VkRenderPassCreateInfo2_self() 1137 size += vn_sizeof_array_size(val->attachmentCount); in vn_sizeof_VkRenderPassCreateInfo2_self() 1138 for (uint32_t i = 0; i < val->attachmentCount; i++) in vn_sizeof_VkRenderPassCreateInfo2_self() 1193 vn_encode_uint32_t(enc, &val->attachmentCount); in vn_encode_VkRenderPassCreateInfo2_self() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_cache_utils.cpp | 688 for (uint32_t index = 0; index < createInfo.attachmentCount; ++index) in CreateRenderPass2() 803 createInfo2.attachmentCount = createInfo.attachmentCount; in CreateRenderPass2() 989 PackedAttachmentIndex attachmentCount(0); in InitializeRenderPassFromDesc() local 1011 colorRef.attachment = attachmentCount.get(); in InitializeRenderPassFromDesc() 1015 static_cast<ImageLayout>(ops[attachmentCount].initialLayout)); in InitializeRenderPassFromDesc() 1018 UnpackAttachmentDesc(&attachmentDescs[attachmentCount.get()], attachmentFormatID, in InitializeRenderPassFromDesc() 1019 attachmentSamples, ops[attachmentCount]); in InitializeRenderPassFromDesc() 1032 attachmentDescs[attachmentCount.get()].format = GetVkFormatFromFormatID(attachmentFormatID); in InitializeRenderPassFromDesc() 1033 ASSERT(attachmentDescs[attachmentCount.get()].format != VK_FORMAT_UNDEFINED); in InitializeRenderPassFromDesc() 1035 isColorInvalidated.set(colorIndexGL, ops[attachmentCount].isInvalidated); in InitializeRenderPassFromDesc() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/ |
D | framebuffer.adoc | 75 * pname:attachmentCount is the number of 111 If pname:attachmentCount is not `0`, and any of 116 pname:attachmentCount valid slink:VkPipelineColorBlendAttachmentState 121 If pname:attachmentCount is not `0`, pname:pAttachments must: be a valid 122 pointer to an array of pname:attachmentCount valid 293 * pname:attachmentCount the number of color blending enables in the 327 * pname:attachmentCount the number of slink:VkColorBlendEquationEXT 454 * pname:attachmentCount the number of tlink:VkColorComponentFlags values 910 * pname:attachmentCount is the number of basetype:VkBool32 elements in 920 to specifying this structure with pname:attachmentCount equal to the [all …]
|
D | framebuffer.txt | 75 * pname:attachmentCount is the number of 91 The value of pname:attachmentCount must: be greater than the index of all 664 * pname:attachmentCount is the number of basetype:VkBool32 elements in 674 to specifying this structure with pname:attachmentCount equal to the 675 pname:attachmentCount member of slink:VkPipelineColorBlendStateCreateInfo, 697 * [[VUID-VkPipelineColorWriteCreateInfoEXT-attachmentCount-04802]] 698 pname:attachmentCount must: be equal to the pname:attachmentCount member 715 * pname:attachmentCount is the number of basetype:VkBool32 elements in 734 * [[VUID-vkCmdSetColorWriteEnableEXT-attachmentCount-04804]] 735 pname:attachmentCount must: be equal to the pname:attachmentCount member
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_pass.c | 50 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in panvk_CreateRenderPass2() 57 pass->attachment_count = pCreateInfo->attachmentCount; in panvk_CreateRenderPass2() 71 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in panvk_CreateRenderPass2()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/ |
D | vktMultiViewRenderPassUtil.hpp | 152 deUint32 attachmentCount, 170 deUint32 attachmentCount,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderPassUtil.hpp | 152 deUint32 attachmentCount, 170 deUint32 attachmentCount,
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkRenderTarget.cpp | 272 uint32_t attachmentCount = 1; in getAttachmentsDescriptor() local 282 ++attachmentCount; in getAttachmentsDescriptor() 284 desc->fAttachmentCount = attachmentCount; in getAttachmentsDescriptor()
|