/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_hw_pass.c | 43 struct pvr_renderpass_hwsetup_subpass *subpasses; in pvr_create_renderpass_hwsetup() local 56 vk_multialloc_add(&ma, &subpasses, __typeof__(*subpasses), 1); in pvr_create_renderpass_hwsetup() 61 pass->subpasses[0].color_count); in pvr_create_renderpass_hwsetup() 71 subpasses[0].z_replicate = -1; in pvr_create_renderpass_hwsetup() 72 subpasses[0].depth_initop = RENDERPASS_SURFACE_INITOP_CLEAR; in pvr_create_renderpass_hwsetup() 73 subpasses[0].stencil_clear = false; in pvr_create_renderpass_hwsetup() 74 subpasses[0].driver_id = 0; in pvr_create_renderpass_hwsetup() 76 subpasses[0].color_initops = color_initops; in pvr_create_renderpass_hwsetup() 77 subpasses[0].client_data = NULL; in pvr_create_renderpass_hwsetup() 79 renders[0].subpasses = subpasses; in pvr_create_renderpass_hwsetup()
|
D | pvr_pass.c | 86 struct pvr_render_subpass *subpass = &pass->subpasses[0]; in pvr_is_subpass_initops_flush_needed() 126 struct pvr_render_subpass *subpasses) in pvr_init_subpass_userpass_spawn() argument 136 subpasses[subpass_idx].userpass_spawn = (j + initial_userpass_spawn); in pvr_init_subpass_userpass_spawn() 313 struct pvr_render_subpass *subpasses; in pvr_CreateRenderPass2() local 328 &subpasses, in pvr_CreateRenderPass2() 329 __typeof__(*subpasses), in pvr_CreateRenderPass2() 362 pass->subpasses = subpasses; in pvr_CreateRenderPass2() 399 pass->subpasses[dep->dstSubpass].dep_count++; in pvr_CreateRenderPass2() 409 struct pvr_render_subpass *subpass = &pass->subpasses[i]; in pvr_CreateRenderPass2() 489 struct pvr_render_subpass *subpass = &pass->subpasses[dep->dstSubpass]; in pvr_CreateRenderPass2() [all …]
|
D | pvr_hw_pass.h | 157 struct pvr_renderpass_hwsetup_subpass *subpasses; member
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkRenderPass.cpp | 215 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 …]
|
D | VkRenderPass.hpp | 53 return subpasses[subpassIndex]; in getSubpass() 100 VkSubpassDescription *subpasses = nullptr; member in vk::RenderPass
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassLoadStoreOpNoneTests.cpp | 104 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 …]
|
D | vktRenderPassTests.cpp | 706 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 1258 …subpasses.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 …]
|
D | vktRenderPassTestsUtil.cpp | 583 const std::vector<Subpass>& subpasses, in RenderPass() argument 588 , m_subpasses (subpasses) in RenderPass() 773 std::vector<SubpassDesc> subpasses; in createRenderPass() local 784 …subpasses.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()
|
D | vktRenderPassSubpassDependencyTests.cpp | 2018 …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 …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pass.c | 71 pass->subpasses[dst].start_barrier.src_stage_mask |= src_stage_mask; in radv_render_pass_add_subpass_dep() 72 pass->subpasses[dst].start_barrier.dst_stage_mask |= dst_stage_mask; in radv_render_pass_add_subpass_dep() 74 pass->subpasses[dst].start_barrier.src_access_mask |= src_access_mask; in radv_render_pass_add_subpass_dep() 75 pass->subpasses[dst].start_barrier.dst_access_mask |= dst_access_mask; in radv_render_pass_add_subpass_dep() 129 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_add_implicit_deps() 204 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_compile() 219 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_compile() 341 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in radv_CreateRenderPass2() 392 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_CreateRenderPass2() 488 pass->subpasses[dep->dstSubpass].has_ingoing_dep = true; in radv_CreateRenderPass2() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationOrderAttachmentAccessTests.cpp | 1174 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/vulkan/runtime/ |
D | vk_render_pass.c | 84 VK_MULTIALLOC_DECL(&ma, VkSubpassDescription2, subpasses, in vk_common_CreateRenderPass() 134 subpasses[i] = (VkSubpassDescription2) { in vk_common_CreateRenderPass() 148 subpasses[i].viewMask = multiview_info->pViewMasks[i]; in vk_common_CreateRenderPass() 151 subpasses[i].pInputAttachments = reference_ptr; in vk_common_CreateRenderPass() 153 subpasses[i].inputAttachmentCount, in vk_common_CreateRenderPass() 156 subpasses[i].pColorAttachments = reference_ptr; in vk_common_CreateRenderPass() 158 subpasses[i].colorAttachmentCount, in vk_common_CreateRenderPass() 161 subpasses[i].pResolveAttachments = NULL; in vk_common_CreateRenderPass() 163 subpasses[i].pResolveAttachments = reference_ptr; in vk_common_CreateRenderPass() 165 subpasses[i].colorAttachmentCount, in vk_common_CreateRenderPass() [all …]
|
D | vk_render_pass.h | 305 struct vk_subpass *subpasses; member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_autotune.c | 152 APPEND_TO_HASH(&hash_state, pass->subpasses[i].samples); in hash_renderpass_instance() 153 APPEND_TO_HASH(&hash_state, pass->subpasses[i].input_count); in hash_renderpass_instance() 154 APPEND_TO_HASH(&hash_state, pass->subpasses[i].color_count); in hash_renderpass_instance() 155 APPEND_TO_HASH(&hash_state, pass->subpasses[i].resolve_count); in hash_renderpass_instance() 480 if (pass->subpasses[i].samples != VK_SAMPLE_COUNT_1_BIT) in fallback_use_bypass() 517 const struct tu_subpass *subpass = &pass->subpasses[i]; in tu_autotune_use_bypass()
|
D | tu_pass.c | 110 dst_barrier = &pass->subpasses[dst].start_barrier; in tu_render_pass_add_subpass_dep() 399 pass->subpasses[0].start_barrier.incoherent_ccu_depth = true; in tu_render_pass_add_implicit_deps() 401 pass->subpasses[0].start_barrier.incoherent_ccu_color = true; in tu_render_pass_add_implicit_deps() 425 struct tu_subpass *subpass = &pass->subpasses[i]; in tu_render_pass_patch_input_gmem() 480 struct tu_subpass *subpass = &pass->subpasses[i]; in tu_render_pass_check_feedback_loop() 540 if (pass->subpasses[0].multiview_mask) { in tu_render_pass_gmem_config() 735 struct tu_subpass *subpass = &pass->subpasses[i]; in tu_subpass_use_attachment() 761 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in tu_CreateRenderPass2() 826 struct tu_subpass *subpass = &pass->subpasses[i]; in tu_CreateRenderPass2()
|
D | tu_pass.h | 111 struct tu_subpass subpasses[0]; member
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pass.c | 59 const struct v3dv_subpass *subpass = &pass->subpasses[i]; in pass_find_subpass_range_for_attachments() 148 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in v3dv_CreateRenderPass2() 161 pass->subpasses = (void *) pass + subpasses_offset; in v3dv_CreateRenderPass2() 189 struct v3dv_subpass *subpass = &pass->subpasses[i]; in v3dv_CreateRenderPass2() 322 struct v3dv_subpass *subpass = &pass->subpasses[subpass_idx]; in subpass_get_granularity()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
D | VK_HUAWEI_subpass_shading.txt | 148 VkSubpassDescription2 subpasses[] = { 202 sizeof(subpasses)/sizeof(subpasses[0]), subpasses,
|
D | VK_EXT_color_write_enable.txt | 25 between subpasses or bandwidth savings for unused outputs.
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleShaderFragmentMaskTests.cpp | 723 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()
|
D | vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp | 260 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()
|
D | vktPipelineFramebufferAttachmentTests.cpp | 128 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()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_pass.c | 48 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/ |
D | vktBindingDescriptorUpdateTests.cpp | 586 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/vulkan-docs/src/chapters/ |
D | renderpass.txt | 840 definition of framebuffer-local dependencies between multiple subpasses. 849 A render pass object represents a collection of attachments, subpasses, and 850 dependencies between the subpasses, and describes how the attachments are 851 used over the course of the subpasses. 907 The subpasses in a render pass all render to the same dimensions, and 909 contents written by previous subpasses at that same (x,y,layer) location. 921 By describing a complete set of subpasses in advance, render passes provide 923 attachment data between subpasses. 925 In practice, this means that subpasses with a simple framebuffer-space 933 and memory dependencies>> between subpasses. [all …]
|