Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkFramebuffer.cpp54 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()
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
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPassCache.cpp143 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()
DCommandBufferVk.cpp236 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/
Dvn_render_pass.c60 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/
Dvk_framebuffer.c48 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()
Dvk_render_pass.c56 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 …]
Dvk_graphics_state.c831 assert(cb_info->attachmentCount <= MESA_VK_MAX_COLOR_ATTACHMENTS); in vk_color_blend_state_init()
832 cb->attachment_count = cb_info->attachmentCount; in vk_color_blend_state_init()
833 for (uint32_t a = 0; a < cb_info->attachmentCount; a++) { in vk_color_blend_state_init()
855 assert(cb_info->attachmentCount == cw_info->attachmentCount); in vk_color_blend_state_init()
856 for (uint32_t a = 0; a < cw_info->attachmentCount; a++) { in vk_color_blend_state_init()
861 cb->color_write_enables = BITFIELD_MASK(cb_info->attachmentCount); in vk_color_blend_state_init()
2113 uint32_t attachmentCount, in vk_common_CmdSetColorWriteEnableEXT() argument
2119 assert(attachmentCount <= MESA_VK_MAX_COLOR_ATTACHMENTS); in vk_common_CmdSetColorWriteEnableEXT()
2122 for (uint32_t a = 0; a < attachmentCount; a++) { in vk_common_CmdSetColorWriteEnableEXT()
/third_party/skia/src/gpu/vk/
DGrVkRenderTarget.cpp386 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/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_framebuffer.h189 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()
Dvn_protocol_driver_render_pass.h393 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/vk-gl-cts/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 …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp688 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/mesa3d/src/panfrost/vulkan/
Dpanvk_pass.c50 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/vulkan/multiview/
DvktMultiViewRenderPassUtil.hpp152 deUint32 attachmentCount,
170 deUint32 attachmentCount,
DvktMultiViewRenderPassUtil.cpp235 attachmentCount = attachmentCount_; in RenderPassCreateInfo1()
264 attachmentCount = attachmentCount_; in RenderPassCreateInfo2()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DFramebuffer.cpp38 framebufferCreateInfo.attachmentCount = static_cast<uint32_t>(attachments.size()); in Framebuffer()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dframebuffer.txt75 * 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/broadcom/vulkan/
Dv3dv_pass.c150 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in v3dv_CreateRenderPass2()
158 pass->attachment_count = pCreateInfo->attachmentCount; in v3dv_CreateRenderPass2()
163 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) in v3dv_CreateRenderPass2()
Dv3dv_meta_clear.c608 .attachmentCount = color_count, in create_color_clear_pipeline()
667 .attachmentCount = pass->subpasses[subpass_idx].color_count, in create_depth_clear_pipeline()
719 .attachmentCount = 1, in create_color_clear_render_pass()
1185 uint32_t attachmentCount, in v3dv_CmdClearAttachments() argument
1193 assert(attachmentCount <= 5); /* 4 color + D/S */ in v3dv_CmdClearAttachments()
1207 for (uint32_t i = 0; i < attachmentCount; i++) { in v3dv_CmdClearAttachments()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pass.c343 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in radv_CreateRenderPass2()
353 pass->attachment_count = pCreateInfo->attachmentCount; in radv_CreateRenderPass2()
357 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in radv_CreateRenderPass2()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTestsUtil.hpp169 deUint32 attachmentCount,
187 deUint32 attachmentCount,
DvktRenderPassMultisampleResolveTests.cpp117 deUint32 attachmentCount; member
215 , m_attachmentsCount (config.attachmentCount) in MultisampleRenderPassTestBase()
2713 for (deUint32 attIdx = 0; attIdx < config.attachmentCount; ++attIdx) in init()
2771 deUint32 halfAttachments = config.attachmentCount / 2; in init()
2772 for (deUint32 attIdx = 0; attIdx < config.attachmentCount; ++attIdx) in init()
2792 std::string namePostfix = de::toString(config.attachmentCount); in init()
2826 if (config.attachmentCount > properties.limits.maxColorAttachments) in checkSupport()
2962 deUint32 attachmentCount = 1 << power; in initTests() local
2963 … std::string maxAttName = "max_attachments_" + de::toString(attachmentCount) + "_" + testName; in initTests()
2967 maxAttachmentsTestConfig.attachmentCount = attachmentCount; in initTests()
[all …]

123456