Home
last modified time | relevance | path

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

123

/external/swiftshader/src/Vulkan/
DVkRenderPass.cpp157 subpasses = reinterpret_cast<VkSubpassDescription *>(hostMemory); in init()
158 CopySubpasses(subpasses, pCreateInfo->pSubpasses, pCreateInfo->subpassCount); in init()
232 subpasses[i].pInputAttachments = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
233 CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pInputAttachments), in init()
237 for(auto j = 0u; j < subpasses[i].inputAttachmentCount; j++) in init()
247 subpasses[i].pColorAttachments = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
248 CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pColorAttachments), in init()
254 subpasses[i].pResolveAttachments = reinterpret_cast<VkAttachmentReference *>(hostMemory); in init()
255 CopyAttachmentReferences(const_cast<VkAttachmentReference *>(subpasses[i].pResolveAttachments), in init()
260 for(auto j = 0u; j < subpasses[i].colorAttachmentCount; j++) in init()
[all …]
DVkRenderPass.hpp53 return subpasses[subpassIndex]; in getSubpass()
90 VkSubpassDescription *subpasses = nullptr; member in vk::RenderPass
/external/mesa3d/src/freedreno/vulkan/
Dtu_legacy.c233 VkSubpassDescription2 subpasses[pCreateInfo->subpassCount]; in tu_CreateRenderPass() local
272 subpasses[i] = (VkSubpassDescription2) { in tu_CreateRenderPass()
283 subpasses[i].viewMask = multiview_info->pViewMasks[i]; in tu_CreateRenderPass()
285 subpasses[i].pInputAttachments = reference_ptr; in tu_CreateRenderPass()
288 subpasses[i].inputAttachmentCount); in tu_CreateRenderPass()
289 subpasses[i].pColorAttachments = reference_ptr; in tu_CreateRenderPass()
292 subpasses[i].colorAttachmentCount); in tu_CreateRenderPass()
293 subpasses[i].pResolveAttachments = NULL; in tu_CreateRenderPass()
295 subpasses[i].pResolveAttachments = reference_ptr; in tu_CreateRenderPass()
298 subpasses[i].colorAttachmentCount); in tu_CreateRenderPass()
[all …]
Dtu_pass.c101 src_barrier = &pass->subpasses[0].start_barrier; in tu_render_pass_add_subpass_dep()
105 src_barrier = &pass->subpasses[src + 1].start_barrier; in tu_render_pass_add_subpass_dep()
112 dst_barrier = &pass->subpasses[dst].start_barrier; in tu_render_pass_add_subpass_dep()
326 pass->subpasses[0].start_barrier.incoherent_ccu_depth = true; in tu_render_pass_add_implicit_deps()
328 pass->subpasses[0].start_barrier.incoherent_ccu_color = true; in tu_render_pass_add_implicit_deps()
492 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in tu_CreateRenderPass2()
550 struct tu_subpass *subpass = &pass->subpasses[i]; in tu_CreateRenderPass2()
/external/mesa3d/src/intel/vulkan/
Danv_pass.c69 struct anv_subpass *subpass = &pass->subpasses[i]; in anv_render_pass_compile()
246 struct anv_subpass *subpasses; in anv_CreateRenderPass() local
252 anv_multialloc_add(&ma, &subpasses, pCreateInfo->subpassCount); in anv_CreateRenderPass()
295 struct anv_subpass *subpass = &pass->subpasses[i]; in anv_CreateRenderPass()
379 pass->subpasses[i].view_mask = mv->pViewMasks[i]; in anv_CreateRenderPass()
485 struct anv_subpass *subpasses; in anv_CreateRenderPass2() local
491 anv_multialloc_add(&ma, &subpasses, pCreateInfo->subpassCount); in anv_CreateRenderPass2()
536 struct anv_subpass *subpass = &pass->subpasses[i]; in anv_CreateRenderPass2()
658 if (pass->subpasses[i].depth_stencil_attachment) { in anv_GetRenderAreaGranularity()
/external/mesa3d/src/amd/vulkan/
Dradv_pass.c56 pass->subpasses[dst].start_barrier.src_stage_mask |= dep->srcStageMask; in radv_render_pass_add_subpass_dep()
57 pass->subpasses[dst].start_barrier.src_access_mask |= dep->srcAccessMask; in radv_render_pass_add_subpass_dep()
58 pass->subpasses[dst].start_barrier.dst_access_mask |= dep->dstAccessMask; in radv_render_pass_add_subpass_dep()
66 const struct radv_subpass *subpass = &pass->subpasses[i]; in radv_pass_has_layout_transitions()
186 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_compile()
202 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_compile()
328 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in radv_CreateRenderPass()
392 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_CreateRenderPass()
514 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in radv_CreateRenderPass2()
575 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_CreateRenderPass2()
Dradv_pipeline.c109 struct radv_subpass *subpass = pass->subpasses + pCreateInfo->subpass; in radv_pipeline_get_depth_stencil_state()
121 struct radv_subpass *subpass = pass->subpasses + pCreateInfo->subpass; in radv_pipeline_get_color_blend_state()
511 struct radv_subpass *subpass = pass->subpasses + pCreateInfo->subpass; in radv_pipeline_compute_spi_color_formats()
842 struct radv_subpass *subpass = &pass->subpasses[pCreateInfo->subpass]; in radv_pipeline_get_ps_iter_samples()
968 struct radv_subpass *subpass = pass->subpasses + pCreateInfo->subpass; in radv_pipeline_out_of_order_rast()
1190 struct radv_subpass *subpass = &pass->subpasses[pCreateInfo->subpass]; in radv_pipeline_init_multisample_state()
1503 struct radv_subpass *subpass = &pass->subpasses[pCreateInfo->subpass]; in radv_pipeline_init_dynamic_state()
1751 struct radv_subpass *subpass = pass->subpasses + pCreateInfo->subpass; in radv_pipeline_init_depth_stencil_state()
2430 struct radv_subpass *subpass = pass->subpasses + pCreateInfo->subpass; in radv_generate_graphics_pipeline_key()
3712 struct radv_subpass *subpass = pass->subpasses + pCreateInfo->subpass; in radv_gfx9_compute_bin_size()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pass.c52 const struct v3dv_subpass *subpass = &pass->subpasses[i]; in pass_find_subpass_range_for_attachments()
116 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in v3dv_CreateRenderPass()
129 pass->subpasses = (void *) pass + subpasses_offset; in v3dv_CreateRenderPass()
157 struct v3dv_subpass *subpass = &pass->subpasses[i]; in v3dv_CreateRenderPass()
277 struct v3dv_subpass *subpass = &pass->subpasses[subpass_idx]; in subpass_get_granularity()
Dv3dv_meta_clear.c382 const uint32_t color_count = pass->subpasses[subpass_idx].color_count; in create_color_clear_pipeline()
453 .attachmentCount = pass->subpasses[subpass_idx].color_count, in create_depth_clear_pipeline()
1234 &state->pass->subpasses[state->subpass_idx]; in emit_tlb_clear_stores()
1385 &state->pass->subpasses[state->subpass_idx]; in emit_tlb_clear_job()
1701 &cmd_buffer->state.pass->subpasses[cmd_buffer->state.subpass_idx]; in v3dv_CmdClearAttachments()
Dv3dv_cmd_buffer.c400 struct v3dv_subpass *prev_subpass = &state->pass->subpasses[state->subpass_idx]; in cmd_buffer_can_merge_subpass()
401 struct v3dv_subpass *subpass = &state->pass->subpasses[subpass_idx]; in cmd_buffer_can_merge_subpass()
983 &pass->subpasses[cmd_buffer->state.subpass_idx]; in cmd_buffer_subpass_handle_pending_resolves()
1438 &state->pass->subpasses[state->subpass_idx]; in v3dv_render_pass_setup_render_target()
1514 const struct v3dv_subpass *subpass = &pass->subpasses[state->subpass_idx]; in cmd_buffer_render_pass_emit_loads()
1641 &state->pass->subpasses[state->subpass_idx]; in cmd_buffer_render_pass_emit_stores()
2015 const struct v3dv_subpass *subpass = &pass->subpasses[state->subpass_idx]; in cmd_buffer_emit_render_pass_rcl()
2162 const struct v3dv_subpass *subpass = &pass->subpasses[state->subpass_idx]; in cmd_buffer_emit_subpass_clears()
2288 &state->pass->subpasses[state->subpass_idx]; in cmd_buffer_subpass_create_job()
2854 struct v3dv_subpass *subpass = &state->pass->subpasses[state->subpass_idx]; in job_update_ez_state()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp731 const vector<Subpass>& subpasses, in RenderPass() argument
735 , m_subpasses (subpasses) in RenderPass()
892 const vector<Subpass>& subpasses = renderPass.getSubpasses(); in logRenderPassInfo() local
894 for (size_t subpassNdx = 0; subpassNdx < subpasses.size(); subpassNdx++) in logRenderPassInfo()
897 const Subpass& subpass = subpasses[subpassNdx]; in logRenderPassInfo()
1273 vector<SubpassDesc> subpasses; in createRenderPass() local
1283subpasses.push_back(createSubpassDescription<SubpassDesc>(renderPassInfo.getSubpasses()[subpassNdx… in createRenderPass()
1295 …(deUint32)subpasses.size(), // deUint32 subpassCount; || deUint32 subpassCo… in createRenderPass()
1296 …(subpasses.empty() ? DE_NULL : &subpasses[0]), // const VkSubpassDescription* pSubpasses; … in createRenderPass()
3083 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()
746 std::vector<SubpassDesc> subpasses; in createRenderPass() local
756subpasses.push_back(createSubpassDescription<SubpassDesc>(renderPassInfo.getSubpasses()[subpassNdx… in createRenderPass()
768 …(deUint32)subpasses.size(), // deUint32 subpassCount; || deUint32 subpassCoun… in createRenderPass()
769 …(subpasses.empty() ? DE_NULL : &subpasses[0]), // const VkSubpassDescription* pSubpasses; ||… in createRenderPass()
DvktRenderPassSubpassDependencyTests.cpp1976 …const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, vector<Attachmen… in iterateInternal() local
1987 …renderPass = createRenderPass(vkd, device, RenderPass(attachments, subpasses, deps), m_renderPassT… in iterateInternal()
2522 …const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, inputAttachmentR… in iterateInternal() local
2524 …renderPass = createRenderPass(vkd, device, RenderPass(attachments, subpasses, vector<SubpassDepend… in iterateInternal()
3116 …const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, vector<Attachm… in initTests() local
3136 RenderPass renderPass (attachments, subpasses, deps); in initTests()
3183 …const vector<Subpass> subpasses (1, Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, vector<Attach… in initTests() local
3201 RenderPass renderPass (attachments, subpasses, deps); in initTests()
3251 vector<Subpass> subpasses; in initTests() local
3286subpasses.push_back(Subpass(VK_PIPELINE_BIND_POINT_GRAPHICS, 0u, inputAttachmentReferences, vector… in initTests()
[all …]
DvktRenderPassMultisampleTests.cpp550 vector<SubpassDesc> subpasses; in createRenderPass() local
677 subpasses.push_back(subpass); in createRenderPass()
699 subpasses.push_back(subpass); in createRenderPass()
726 …(deUint32)subpasses.size(), // deUint32 subpassCount; || deUint32 subpass… in createRenderPass()
727 …&subpasses[0], // const VkSubpassDescription* pSubpasses; || const VkSubpassDes… in createRenderPass()
DvktRenderPassTestsUtil.hpp399 const std::vector<Subpass>& subpasses,
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pass.c30 struct lvp_subpass *subpass = &pass->subpasses[i]; in lvp_render_pass_compile()
46 struct lvp_subpass *subpass = &pass->subpasses[i]; in lvp_render_pass_compile()
159 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in lvp_CreateRenderPass()
210 struct lvp_subpass *subpass = &pass->subpasses[i]; in lvp_CreateRenderPass()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleShaderFragmentMaskTests.cpp722 std::vector<VkSubpassDescription> subpasses; in drawAndSampleInputAttachment() local
764 subpasses.push_back(subpassDescription); in drawAndSampleInputAttachment()
787 subpasses.push_back(subpassDescription); in drawAndSampleInputAttachment()
815 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in drawAndSampleInputAttachment()
816 dataOrNullPtr(subpasses), // const VkSubpassDescription* pSubpasses; in drawAndSampleInputAttachment()
931 std::vector<VkSubpassDescription> subpasses; in draw() local
973 subpasses.push_back(subpassDescription); in draw()
984 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in draw()
985 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()
318 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in iterate()
319 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()
DvktPipelineMultisampleImageTests.cpp336 std::vector<VkSubpassDescription> subpasses; in makeMultisampleRenderPass() local
360 subpasses.push_back(subpassDescription); in makeMultisampleRenderPass()
370 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in makeMultisampleRenderPass()
371 &subpasses[0], // const VkSubpassDescription* pSubpasses; in makeMultisampleRenderPass()
DvktPipelineRenderToImageTests.cpp475 vector<VkSubpassDescription> subpasses; in makeRenderPass() local
508 subpasses.push_back(subpassDescription); in makeRenderPass()
518 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in makeRenderPass()
519 &subpasses[0], // const VkSubpassDescription* pSubpasses; in makeRenderPass()
/external/vulkan-validation-layers/tests/
Dvklayertests_descriptor_renderpass_framebuffer.cpp1402 VkSubpassDescription subpasses[] = { in TEST_F() local
1413 …o rpci = {VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO, nullptr, 0, 1, attach, 2, subpasses, 1, &dep}; in TEST_F()
1498 VkSubpassDescription subpasses[] = { in TEST_F() local
1509 …o rpci = {VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO, nullptr, 0, 2, attach, 1, subpasses, 1, &dep}; in TEST_F()
1579 VkSubpassDescription subpasses[] = { in TEST_F() local
1583 …ci = {VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO, nullptr, 0, 0, nullptr, 1, subpasses, 0, nullptr}; in TEST_F()
1670 VkSubpassDescription subpasses[] = { in TEST_F() local
1674 …pci = {VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO, nullptr, 0, 1, attach, 1, subpasses, 0, nullptr}; in TEST_F()
1896 std::vector<VkSubpassDescription> subpasses = {subpass, subpass, subpass}; in TEST_F() local
1897 subpasses[0].inputAttachmentCount = 0; in TEST_F()
[all …]
/external/deqp/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()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp278 const std::vector<vk::VkSubpassDescription>& subpasses, in RenderPassCreateInfo() argument
282 , m_subpasses (subpasses.begin(), subpasses.end()) in RenderPassCreateInfo()

123