Home
last modified time | relevance | path

Searched refs:subpasses (Results 1 – 25 of 63) sorted by relevance

123

/third_party/mesa3d/src/vulkan/util/
Dvk_render_pass.c79 VK_MULTIALLOC_DECL(&ma, VkSubpassDescription2, subpasses, in vk_common_CreateRenderPass()
129 subpasses[i] = (VkSubpassDescription2) { in vk_common_CreateRenderPass()
143 subpasses[i].viewMask = multiview_info->pViewMasks[i]; in vk_common_CreateRenderPass()
146 subpasses[i].pInputAttachments = reference_ptr; in vk_common_CreateRenderPass()
148 subpasses[i].inputAttachmentCount, in vk_common_CreateRenderPass()
151 subpasses[i].pColorAttachments = reference_ptr; in vk_common_CreateRenderPass()
153 subpasses[i].colorAttachmentCount, in vk_common_CreateRenderPass()
156 subpasses[i].pResolveAttachments = NULL; in vk_common_CreateRenderPass()
158 subpasses[i].pResolveAttachments = reference_ptr; in vk_common_CreateRenderPass()
160 subpasses[i].colorAttachmentCount, in vk_common_CreateRenderPass()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkRenderPass.cpp215 subpasses = reinterpret_cast<VkSubpassDescription *>(hostMemory); in init()
216 CopySubpasses(subpasses, pCreateInfo->pSubpasses, pCreateInfo->subpassCount); in init()
295 subpasses[i].pInputAttachments = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
296 CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pInputAttachments), in init()
300 for(auto j = 0u; j < subpasses[i].inputAttachmentCount; j++) in init()
310 subpasses[i].pColorAttachments = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
311 CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pColorAttachments), in init()
317 subpasses[i].pResolveAttachments = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
318 CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pResolveAttachments), in init()
323 for(auto j = 0u; j < subpasses[i].colorAttachmentCount; j++) in init()
[all …]
DVkRenderPass.hpp53 return subpasses[subpassIndex]; in getSubpass()
100 VkSubpassDescription *subpasses = nullptr; member in vk::RenderPass
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassLoadStoreOpNoneTests.cpp104 std::vector<SubpassParams> subpasses; member
155 deUint32 getFirstUsage (deUint32 attachmentIdx, const std::vector<SubpassParams>& subpasses) in getFirstUsage() argument
157 for (const auto& subpass : subpasses) in getFirstUsage()
215 deUint32 firstUsage = getFirstUsage((deUint32)i, testParams.subpasses); in createRenderPass()
258 for (const auto& subpass : testParams.subpasses) in createRenderPass()
633 for (size_t i = 0; i < m_testParams.subpasses.size(); i++) in createCommandBuffer()
644 for (const auto &ref : m_testParams.subpasses[i].attachmentRefs) in createCommandBuffer()
652 for (deUint32 d = 0; d < m_testParams.subpasses[i].numDraws; d++) in createCommandBuffer()
758 …deUint32 firstUsage = getFirstUsage((deUint32)attachmentImages.size() - 1, m_testParams.subpasses); in iterate()
839 for (const auto& subpass : m_testParams.subpasses) in iterate()
[all …]
DvktRenderPassTests.cpp706 const vector<Subpass>& subpasses, in RenderPass() argument
710 , m_subpasses (subpasses) in RenderPass()
867 const vector<Subpass>& subpasses = renderPass.getSubpasses(); in logRenderPassInfo() local
869 for (size_t subpassNdx = 0; subpassNdx < subpasses.size(); subpassNdx++) in logRenderPassInfo()
872 const Subpass& subpass = subpasses[subpassNdx]; in logRenderPassInfo()
1248 vector<SubpassDesc> subpasses; in createRenderPass() local
1258subpasses.push_back(createSubpassDescription<SubpassDesc>(renderPassInfo.getSubpasses()[subpassNdx… in createRenderPass()
1270 …(deUint32)subpasses.size(), // deUint32 subpassCount; || deUint32 subpassCo… in createRenderPass()
1271 …(subpasses.empty() ? DE_NULL : &subpasses[0]), // const VkSubpassDescription* pSubpasses; … in createRenderPass()
3440 const vector<Subpass>& subpasses = renderPassInfo.getSubpasses(); in renderReferenceValues() local
[all …]
DvktRenderPassTestsUtil.cpp583 const std::vector<Subpass>& subpasses, in RenderPass() argument
588 , m_subpasses (subpasses) in RenderPass()
773 std::vector<SubpassDesc> subpasses; in createRenderPass() local
784subpasses.push_back(createSubpassDescription<SubpassDesc>(renderPassInfo.getSubpasses()[subpassNdx… in createRenderPass()
809 …(deUint32)subpasses.size(), // deUint32 subpassCount; || deUint32 subpassCoun… in createRenderPass()
810 …(subpasses.empty() ? DE_NULL : &subpasses[0]), // const VkSubpassDescription* pSubpasses; ||… in createRenderPass()
DvktRenderPassSubpassDependencyTests.cpp2018 …const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, vector<Attachmen… in iterateInternal() local
2029 …renderPass = createRenderPass(vkd, device, RenderPass(attachments, subpasses, deps), m_renderingTy… in iterateInternal()
2561 …const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, inputAttachmentR… in iterateInternal() local
2569 …renderPass = createRenderPass(vkd, device, RenderPass(attachments, subpasses, subpassDependency), … in iterateInternal()
3187 …const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, vector<Attachme… in iterateInternal() local
3191 …renderPass1 = createRenderPass(vkd, device, RenderPass(attachments, subpasses, vector<SubpassDepen… in iterateInternal()
3208 …const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, inputAttachmen… in iterateInternal() local
3216 …renderPass0 = createRenderPass(vkd, device, RenderPass(attachments, subpasses, dependencies), m_re… in iterateInternal()
3947 …const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, vector<Attachm… in initTests() local
3967 RenderPass renderPass (attachments, subpasses, deps); in initTests()
[all …]
DvktRenderPassMultisampleTests.cpp549 vector<SubpassDesc> subpasses; in createRenderPass() local
676 subpasses.push_back(subpass); in createRenderPass()
698 subpasses.push_back(subpass); in createRenderPass()
744 …(deUint32)subpasses.size(), // deUint32 subpassCount; || deUint32 subpass… in createRenderPass()
745 …&subpasses[0], // const VkSubpassDescription* pSubpasses; || const VkSubpassDes… in createRenderPass()
DvktRenderPassTestsUtil.hpp406 const std::vector<Subpass>& subpasses,
/third_party/mesa3d/src/amd/vulkan/
Dradv_pass.c55 pass->subpasses[dst].start_barrier.src_stage_mask |= dep->srcStageMask; in radv_render_pass_add_subpass_dep()
56 pass->subpasses[dst].start_barrier.src_access_mask |= dep->srcAccessMask; in radv_render_pass_add_subpass_dep()
57 pass->subpasses[dst].start_barrier.dst_access_mask |= dep->dstAccessMask; in radv_render_pass_add_subpass_dep()
111 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_add_implicit_deps()
186 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_compile()
201 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_compile()
389 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in radv_CreateRenderPass2()
440 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_CreateRenderPass2()
533 pass->subpasses[dep->dstSubpass].has_ingoing_dep = true; in radv_CreateRenderPass2()
537 pass->subpasses[dep->srcSubpass].has_outgoing_dep = true; in radv_CreateRenderPass2()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationOrderAttachmentAccessTests.cpp1174 std::vector<VkSubpassDescription> subpasses(2, VkSubpassDescription{}); in createRenderPass() local
1176 subpasses[0].pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; in createRenderPass()
1177 subpasses[0].inputAttachmentCount = m_subpasses[0].getInputAttachmentNum(); in createRenderPass()
1178 subpasses[0].pInputAttachments = m_subpasses[0].m_attachmentReferences.data(); in createRenderPass()
1179 subpasses[0].colorAttachmentCount = m_subpasses[0].getColorAttachmentNum(); in createRenderPass()
1180 subpasses[0].pColorAttachments = m_subpasses[0].m_attachmentReferences.data(); in createRenderPass()
1181 subpasses[0].pDepthStencilAttachment = m_subpasses[0].getDepthStencilAttachment(); in createRenderPass()
1183 subpasses[1].pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; in createRenderPass()
1184 subpasses[1].inputAttachmentCount = m_subpasses[0].getColorAttachmentNum(); in createRenderPass()
1185 subpasses[1].pInputAttachments = m_subpasses[0].m_attachmentReferences.data(); in createRenderPass()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pass.c59 const struct v3dv_subpass *subpass = &pass->subpasses[i]; in pass_find_subpass_range_for_attachments()
139 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in v3dv_CreateRenderPass()
152 pass->subpasses = (void *) pass + subpasses_offset; in v3dv_CreateRenderPass()
180 struct v3dv_subpass *subpass = &pass->subpasses[i]; in v3dv_CreateRenderPass()
297 struct v3dv_subpass *subpass = &pass->subpasses[subpass_idx]; in subpass_get_granularity()
Dv3dv_cmd_buffer.c409 struct v3dv_subpass *prev_subpass = &state->pass->subpasses[state->subpass_idx]; in cmd_buffer_can_merge_subpass()
410 struct v3dv_subpass *subpass = &state->pass->subpasses[subpass_idx]; in cmd_buffer_can_merge_subpass()
981 &pass->subpasses[cmd_buffer->state.subpass_idx]; in cmd_buffer_subpass_handle_pending_resolves()
1386 const struct v3dv_subpass *subpass = &pass->subpasses[state->subpass_idx]; in cmd_buffer_emit_subpass_clears()
1512 &state->pass->subpasses[state->subpass_idx]; in cmd_buffer_subpass_create_job()
2591 uint32_t view_mask = pass->subpasses[cmd_buffer->state.subpass_idx].view_mask; in cmd_buffer_draw()
2641 uint32_t view_mask = pass->subpasses[cmd_buffer->state.subpass_idx].view_mask; in v3dv_CmdDrawIndexed()
2673 uint32_t view_mask = pass->subpasses[cmd_buffer->state.subpass_idx].view_mask; in v3dv_CmdDrawIndirect()
2704 uint32_t view_mask = pass->subpasses[cmd_buffer->state.subpass_idx].view_mask; in v3dv_CmdDrawIndexedIndirect()
3126 struct v3dv_subpass *subpass = &pass->subpasses[state->subpass_idx]; in v3dv_cmd_buffer_end_query()
[all …]
Dv3dv_meta_clear.c620 const uint32_t color_count = pass->subpasses[subpass_idx].color_count; in create_color_clear_pipeline()
693 .attachmentCount = pass->subpasses[subpass_idx].color_count, in create_depth_clear_pipeline()
1222 &cmd_buffer->state.pass->subpasses[cmd_buffer->state.subpass_idx]; in v3dv_CmdClearAttachments()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pass.c32 struct lvp_subpass *subpass = &pass->subpasses[i]; in lvp_render_pass_compile()
48 struct lvp_subpass *subpass = &pass->subpasses[i]; in lvp_render_pass_compile()
163 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in lvp_CreateRenderPass2()
217 struct lvp_subpass *subpass = &pass->subpasses[i]; in lvp_CreateRenderPass2()
Dlvp_execute.c1358 const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass]; in attachment_needs_clear()
1369 const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass]; in subpass_needs_clear()
1429 const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass]; in render_subpass_clear()
1519 const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass]; in render_subpass_clear_fast()
1598 const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass]; in render_pass_resolve()
1696 const struct lvp_subpass *subpass = &state->pass->subpasses[subpass_idx]; in begin_render_subpass()
1826 const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass]; in handle_draw()
1845 const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass]; in handle_draw_multi()
2468 const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass]; in handle_draw_indexed()
2496 const struct lvp_subpass *subpass = &state->pass->subpasses[state->subpass]; in handle_draw_multi_indexed()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pass.c106 dst_barrier = &pass->subpasses[dst].start_barrier; in tu_render_pass_add_subpass_dep()
362 pass->subpasses[0].start_barrier.incoherent_ccu_depth = true; in tu_render_pass_add_implicit_deps()
364 pass->subpasses[0].start_barrier.incoherent_ccu_color = true; in tu_render_pass_add_implicit_deps()
388 struct tu_subpass *subpass = &pass->subpasses[i]; in tu_render_pass_patch_input_gmem()
443 struct tu_subpass *subpass = &pass->subpasses[i]; in tu_render_pass_check_feedback_loop()
638 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in tu_CreateRenderPass2()
701 struct tu_subpass *subpass = &pass->subpasses[i]; in tu_CreateRenderPass2()
/third_party/mesa3d/src/intel/vulkan/
Danv_pass.c83 struct anv_subpass *subpass = &pass->subpasses[i]; in anv_render_pass_compile()
330 VK_MULTIALLOC_DECL(&ma, struct anv_subpass, subpasses, in anv_CreateRenderPass2()
376 struct anv_subpass *subpass = &pass->subpasses[i]; in anv_CreateRenderPass2()
497 if (pass->subpasses[i].depth_stencil_attachment) { in anv_GetRenderAreaGranularity()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleShaderFragmentMaskTests.cpp723 std::vector<VkSubpassDescription> subpasses; in drawAndSampleInputAttachment() local
765 subpasses.push_back(subpassDescription); in drawAndSampleInputAttachment()
788 subpasses.push_back(subpassDescription); in drawAndSampleInputAttachment()
816 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in drawAndSampleInputAttachment()
817 dataOrNullPtr(subpasses), // const VkSubpassDescription* pSubpasses; in drawAndSampleInputAttachment()
932 std::vector<VkSubpassDescription> subpasses; in draw() local
974 subpasses.push_back(subpassDescription); in draw()
985 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in draw()
986 dataOrNullPtr(subpasses), // const VkSubpassDescription* pSubpasses; in draw()
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp260 std::vector<VkSubpassDescription> subpasses(1u + numSamples); in iterate() local
277 subpasses[0] = firstSubpassDesc; in iterate()
295 subpasses[1u + sampleNdx] = subpassDesc; in iterate()
334 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in iterate()
335 dataPointer(subpasses), // const VkSubpassDescription* pSubpasses; in iterate()
DvktPipelineFramebufferAttachmentTests.cpp128 vector<VkSubpassDescription> subpasses; in makeRenderPass() local
170 subpasses.push_back(subpassDescription); in makeRenderPass()
180 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in makeRenderPass()
181 &subpasses[0], // const VkSubpassDescription* pSubpasses; in makeRenderPass()
706 vector<VkSubpassDescription> subpasses; in makeRenderPassNoAtt() local
721 subpasses.push_back(subpassDescription); in makeRenderPassNoAtt()
731 &subpasses[0], // const VkSubpassDescription* pSubpasses; in makeRenderPassNoAtt()
DvktPipelineStencilExportTests.cpp201 VkSubpassDescription subpasses[] = in makeTestRenderPass() local
248 &subpasses[0], // const VkSubpassDescription* pSubpasses; in makeTestRenderPass()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_pass.c48 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in panvk_CreateRenderPass2()
111 struct panvk_subpass *subpass = &pass->subpasses[i]; in panvk_CreateRenderPass2()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp586 const std::vector<vk::VkSubpassDescription> subpasses(1u, subpass); in iterate() local
595 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in iterate()
596 subpasses.data(), // const VkSubpassDescription* pSubpasses; in iterate()
991 const std::vector<vk::VkSubpassDescription> subpasses (1u, subpass); in iterate() local
1000 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount in iterate()
1001 subpasses.data(), // const VkSubpassDescription* pSubpasses in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp414 const vk::VkSubpassDescription subpasses[] = in createRenderPass() local
441 DE_LENGTH_OF_ARRAY(subpasses), in createRenderPass()
442 subpasses, in createRenderPass()

123