/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pass.c | 210 const VkSubpassDescription2 *subpass = &info->pSubpasses[i]; in tu_render_pass_add_implicit_deps() local 213 for (unsigned j = 0; j < subpass->inputAttachmentCount; j++) { in tu_render_pass_add_implicit_deps() 214 uint32_t a = subpass->pInputAttachments[j].attachment; in tu_render_pass_add_implicit_deps() 220 vk_att_ref_stencil_layout(&subpass->pInputAttachments[j], att) : in tu_render_pass_add_implicit_deps() 224 if ((att[a].initialLayout != subpass->pInputAttachments[j].layout || in tu_render_pass_add_implicit_deps() 231 for (unsigned j = 0; j < subpass->colorAttachmentCount; j++) { in tu_render_pass_add_implicit_deps() 232 uint32_t a = subpass->pColorAttachments[j].attachment; in tu_render_pass_add_implicit_deps() 235 if (att[a].initialLayout != subpass->pColorAttachments[j].layout && in tu_render_pass_add_implicit_deps() 241 if (subpass->pDepthStencilAttachment && in tu_render_pass_add_implicit_deps() 242 subpass->pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED) { in tu_render_pass_add_implicit_deps() [all …]
|
D | tu_cmd_buffer.c | 186 const struct tu_subpass *subpass, in tu6_emit_zs() argument 189 const uint32_t a = subpass->depth_stencil_attachment.attachment; in tu6_emit_zs() 245 const struct tu_subpass *subpass, in tu6_emit_mrt() argument 252 for (uint32_t i = 0; i < subpass->color_count; ++i) { in tu6_emit_mrt() 253 uint32_t a = subpass->color_attachments[i].attachment; in tu6_emit_mrt() 291 A6XX_RB_SRGB_CNTL(.dword = subpass->srgb_cntl)); in tu6_emit_mrt() 293 A6XX_SP_SRGB_CNTL(.dword = subpass->srgb_cntl)); in tu6_emit_mrt() 295 unsigned layers = MAX2(fb->layers, util_logbase2(subpass->multiview_mask) + 1); in tu6_emit_mrt() 347 const struct tu_subpass *subpass, in tu6_emit_render_cntl() argument 361 for (uint32_t i = 0; i < subpass->color_count; ++i) { in tu6_emit_render_cntl() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pass.c | 129 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_add_implicit_deps() local 132 for (uint32_t j = 0; j < subpass->attachment_count; j++) { in radv_render_pass_add_implicit_deps() 133 struct radv_subpass_attachment *subpass_att = &subpass->attachments[j]; in radv_render_pass_add_implicit_deps() 147 if (pass_att->first_subpass_idx == i && !subpass->has_ingoing_dep && in radv_render_pass_add_implicit_deps() 157 if (pass_att->last_subpass_idx == i && !subpass->has_outgoing_dep && in radv_render_pass_add_implicit_deps() 204 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_compile() local 206 for (uint32_t j = 0; j < subpass->attachment_count; j++) { in radv_render_pass_compile() 207 struct radv_subpass_attachment *subpass_att = &subpass->attachments[j]; in radv_render_pass_compile() 219 struct radv_subpass *subpass = &pass->subpasses[i]; in radv_render_pass_compile() local 227 if (subpass->depth_stencil_attachment && in radv_render_pass_compile() [all …]
|
D | radv_meta_resolve.c | 171 .subpass = 0, in create_pipeline() 581 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in radv_cmd_buffer_resolve_subpass_hw() local 586 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_hw() 587 struct radv_subpass_attachment src_att = subpass->color_attachments[i]; in radv_cmd_buffer_resolve_subpass_hw() 588 struct radv_subpass_attachment dest_att = subpass->resolve_attachments[i]; in radv_cmd_buffer_resolve_subpass_hw() 636 radv_cmd_buffer_restore_subpass(cmd_buffer, subpass); in radv_cmd_buffer_resolve_subpass_hw() 649 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in radv_cmd_buffer_resolve_subpass() local 653 if (!subpass->has_color_resolve && !subpass->ds_resolve_attachment) in radv_cmd_buffer_resolve_subpass() 658 if (subpass->ds_resolve_attachment) { in radv_cmd_buffer_resolve_subpass() 659 struct radv_subpass_attachment src_att = *subpass->depth_stencil_attachment; in radv_cmd_buffer_resolve_subpass() [all …]
|
D | radv_meta_clear.c | 162 .subpass = 0, in create_pipeline() 316 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in emit_color_clear() local 318 const uint32_t pass_att = subpass->color_attachments[subpass_att].attachment; in emit_color_clear() 362 assert(clear_att->colorAttachment < subpass->color_count); in emit_color_clear() 590 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in emit_depthstencil_clear() local 673 radv_cmd_buffer_restore_subpass(cmd_buffer, subpass); in emit_depthstencil_clear() 1870 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in emit_clear() local 1875 assert(subpass_att < subpass->color_count); in emit_clear() 1876 const uint32_t pass_att = subpass->color_attachments[subpass_att].attachment; in emit_clear() 1880 VkImageLayout image_layout = subpass->color_attachments[subpass_att].layout; in emit_clear() [all …]
|
D | radv_meta_resolve_fs.c | 216 .subpass = 0, in create_resolve_pipeline() 505 .subpass = 0, in create_depth_stencil_resolve_pipeline() 896 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in radv_cmd_buffer_resolve_subpass_fs() local 913 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_fs() 914 struct radv_subpass_attachment src_att = subpass->color_attachments[i]; in radv_cmd_buffer_resolve_subpass_fs() 915 struct radv_subpass_attachment dest_att = subpass->resolve_attachments[i]; in radv_cmd_buffer_resolve_subpass_fs() 934 radv_cmd_buffer_restore_subpass(cmd_buffer, subpass); in radv_cmd_buffer_resolve_subpass_fs() 949 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in radv_depth_stencil_resolve_subpass_fs() local 960 struct radv_subpass_attachment src_att = *subpass->depth_stencil_attachment; in radv_depth_stencil_resolve_subpass_fs() 976 struct radv_subpass_attachment dst_att = *subpass->ds_resolve_attachment; in radv_depth_stencil_resolve_subpass_fs() [all …]
|
D | radv_meta_resolve_cs.c | 775 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in radv_cmd_buffer_resolve_subpass_cs() local 779 if (subpass->view_mask) in radv_cmd_buffer_resolve_subpass_cs() 780 layer_count = util_last_bit(subpass->view_mask); in radv_cmd_buffer_resolve_subpass_cs() 790 for (uint32_t i = 0; i < subpass->color_count; ++i) { in radv_cmd_buffer_resolve_subpass_cs() 791 struct radv_subpass_attachment src_att = subpass->color_attachments[i]; in radv_cmd_buffer_resolve_subpass_cs() 792 struct radv_subpass_attachment dst_att = subpass->resolve_attachments[i]; in radv_cmd_buffer_resolve_subpass_cs() 837 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in radv_depth_stencil_resolve_subpass_cs() local 841 if (subpass->view_mask) in radv_depth_stencil_resolve_subpass_cs() 842 layer_count = util_last_bit(subpass->view_mask); in radv_depth_stencil_resolve_subpass_cs() 852 struct radv_subpass_attachment src_att = *subpass->depth_stencil_attachment; in radv_depth_stencil_resolve_subpass_cs() [all …]
|
D | radv_cmd_buffer.c | 1328 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in radv_emit_rbplus_state() local 1334 for (unsigned i = 0; i < subpass->color_count; ++i) { in radv_emit_rbplus_state() 1337 if (subpass->color_attachments[i].attachment == VK_ATTACHMENT_UNUSED) { in radv_emit_rbplus_state() 1344 int idx = subpass->color_attachments[i].attachment; in radv_emit_rbplus_state() 1865 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in radv_emit_fragment_shading_rate() local 1875 if (subpass && !subpass->vrs_attachment) { in radv_emit_fragment_shading_rate() 2171 !cmd_buffer->state.subpass->vrs_attachment) { in radv_emit_fb_ds_state() 2257 const struct radv_subpass *subpass = cmd_buffer->state.subpass; in radv_update_bound_fast_clear_ds() local 2262 if (!cmd_buffer->state.attachments || !subpass) in radv_update_bound_fast_clear_ds() 2265 if (!subpass->depth_stencil_attachment) in radv_update_bound_fast_clear_ds() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkRenderPass.cpp | 29 const auto &subpass = pCreateInfo->pSubpasses[i]; in ComputeRequiredAllocationSizeT() local 30 uint32_t nbAttachments = subpass.inputAttachmentCount + subpass.colorAttachmentCount; in ComputeRequiredAllocationSizeT() 31 if(subpass.pResolveAttachments) in ComputeRequiredAllocationSizeT() 33 nbAttachments += subpass.colorAttachmentCount; in ComputeRequiredAllocationSizeT() 35 if(subpass.pDepthStencilAttachment) in ComputeRequiredAllocationSizeT() 41 sizeof(uint32_t) * subpass.preserveAttachmentCount + in ComputeRequiredAllocationSizeT() 152 auto const &subpass = pCreateInfo->pSubpasses[i]; in RenderPass() local 153 const VkBaseInStructure *extension = reinterpret_cast<const VkBaseInStructure *>(subpass.pNext); in RenderPass() 169 for(uint32_t subpass = 0; subpass < subpassCount; subpass++) in RenderPass() local 171 …subpassDepthStencilResolves[subpass].sType = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_R… in RenderPass() [all …]
|
D | VkFramebuffer.cpp | 139 VkSubpassDescription subpass = renderPass->getSubpass(subpassIndex); in clearAttachment() local 143 ASSERT(attachment.colorAttachment < subpass.colorAttachmentCount); in clearAttachment() 144 uint32_t attachmentIndex = subpass.pColorAttachments[attachment.colorAttachment].attachment; in clearAttachment() 164 uint32_t attachmentIndex = subpass.pDepthStencilAttachment->attachment; in clearAttachment() 200 auto const &subpass = renderPass->getSubpass(subpassIndex); in resolve() local 201 if(subpass.pResolveAttachments) in resolve() 203 for(uint32_t i = 0; i < subpass.colorAttachmentCount; i++) in resolve() 205 uint32_t resolveAttachment = subpass.pResolveAttachments[i].attachment; in resolve() 208 ImageView *imageView = attachments[subpass.pColorAttachments[i].attachment]; in resolve() 222 if(renderPass->hasDepthStencilResolve() && subpass.pDepthStencilAttachment != nullptr) in resolve() [all …]
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_pass.c | 61 struct pvr_render_subpass *subpass, in pvr_subpass_has_msaa_input_attachment() argument 64 for (uint32_t i = 0; i < subpass->input_count; i++) { in pvr_subpass_has_msaa_input_attachment() 65 const uint32_t attachment = subpass->input_attachments[i]; in pvr_subpass_has_msaa_input_attachment() 86 struct pvr_render_subpass *subpass = &pass->subpasses[0]; in pvr_is_subpass_initops_flush_needed() local 104 if (subpass->input_count != 0) in pvr_is_subpass_initops_flush_needed() 109 for (uint32_t i = 0; i < subpass->color_count; i++) { in pvr_is_subpass_initops_flush_needed() 110 const int32_t color_idx = subpass->color_attachments[i]; in pvr_is_subpass_initops_flush_needed() 409 struct pvr_render_subpass *subpass = &pass->subpasses[i]; in pvr_CreateRenderPass2() local 411 subpass->pipeline_bind_point = desc->pipelineBindPoint; in pvr_CreateRenderPass2() 412 subpass->sample_count = 1; in pvr_CreateRenderPass2() [all …]
|
/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() local 61 for (uint32_t j = 0; j < subpass->color_count; j++) { in pass_find_subpass_range_for_attachments() 62 uint32_t attachment_idx = subpass->color_attachments[j].attachment; in pass_find_subpass_range_for_attachments() 74 uint32_t view_mask = subpass->view_mask; in pass_find_subpass_range_for_attachments() 83 if (subpass->resolve_attachments && in pass_find_subpass_range_for_attachments() 84 subpass->resolve_attachments[j].attachment != VK_ATTACHMENT_UNUSED) { in pass_find_subpass_range_for_attachments() 89 uint32_t ds_attachment_idx = subpass->ds_attachment.attachment; in pass_find_subpass_range_for_attachments() 96 if (subpass->ds_resolve_attachment.attachment != VK_ATTACHMENT_UNUSED) in pass_find_subpass_range_for_attachments() 100 for (uint32_t j = 0; j < subpass->input_count; j++) { in pass_find_subpass_range_for_attachments() 101 uint32_t input_attachment_idx = subpass->input_attachments[j].attachment; in pass_find_subpass_range_for_attachments() [all …]
|
D | v3dvx_cmd_buffer.c | 205 const struct v3dv_subpass *subpass = &pass->subpasses[state->subpass_idx]; in cmd_buffer_render_pass_emit_loads() local 209 for (uint32_t i = 0; i < subpass->color_count; i++) { in cmd_buffer_render_pass_emit_loads() 210 uint32_t attachment_idx = subpass->color_attachments[i].attachment; in cmd_buffer_render_pass_emit_loads() 252 uint32_t ds_attachment_idx = subpass->ds_attachment.attachment; in cmd_buffer_render_pass_emit_loads() 437 const struct v3dv_subpass *subpass = in cmd_buffer_render_pass_emit_stores() local 447 uint32_t ds_attachment_idx = subpass->ds_attachment.attachment; in cmd_buffer_render_pass_emit_stores() 479 subpass->do_depth_clear_with_draw); in cmd_buffer_render_pass_emit_stores() 486 subpass->do_stencil_clear_with_draw); in cmd_buffer_render_pass_emit_stores() 510 assert(subpass->resolve_depth || subpass->resolve_stencil); in cmd_buffer_render_pass_emit_stores() 512 subpass->ds_resolve_attachment.attachment; in cmd_buffer_render_pass_emit_stores() [all …]
|
D | v3dvx_device.c | 261 const struct v3dv_subpass *subpass, in v3dX() 269 if (subpass) { in v3dX() 270 for (uint32_t i = 0; i < subpass->color_count; i++) { in v3dX() 271 uint32_t att_idx = subpass->color_attachments[i].attachment; in v3dX() 285 if (!*msaa && subpass->ds_attachment.attachment != VK_ATTACHMENT_UNUSED) { in v3dX() 287 attachments[subpass->ds_attachment.attachment].image_view; in v3dX()
|
D | v3dv_cmd_buffer.c | 312 struct v3dv_subpass *subpass = &state->pass->subpasses[subpass_idx]; in cmd_buffer_can_merge_subpass() local 314 if (subpass->ds_attachment.attachment != in cmd_buffer_can_merge_subpass() 318 if (subpass->color_count != prev_subpass->color_count) in cmd_buffer_can_merge_subpass() 321 for (uint32_t i = 0; i < subpass->color_count; i++) { in cmd_buffer_can_merge_subpass() 322 if (subpass->color_attachments[i].attachment != in cmd_buffer_can_merge_subpass() 332 if (subpass->view_mask != prev_subpass->view_mask) in cmd_buffer_can_merge_subpass() 340 if (prev_subpass->resolve_attachments || subpass->resolve_attachments || in cmd_buffer_can_merge_subpass() 342 subpass->resolve_depth || subpass->resolve_stencil) { in cmd_buffer_can_merge_subpass() 846 const struct v3dv_subpass *subpass = in cmd_buffer_subpass_handle_pending_resolves() local 849 if (!subpass->resolve_attachments) in cmd_buffer_subpass_handle_pending_resolves() [all …]
|
D | v3dvx_pipeline.c | 87 assert(pipeline->subpass); in pack_blend() 88 if (pipeline->subpass->color_count == 0) in pack_blend() 91 assert(pipeline->subpass->color_count == cb_info->attachmentCount); in pack_blend() 95 for (uint32_t i = 0; i < pipeline->subpass->color_count; i++) { in pack_blend() 100 pipeline->subpass->color_attachments[i].attachment; in pack_blend() 214 pipeline->subpass->ds_attachment.attachment != VK_ATTACHMENT_UNUSED; in pack_cfg_bits() 315 if (pipeline->subpass->ds_attachment.attachment == VK_ATTACHMENT_UNUSED) in pack_stencil_cfg()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_pass.c | 111 struct panvk_subpass *subpass = &pass->subpasses[i]; in panvk_CreateRenderPass2() local 113 subpass->input_count = desc->inputAttachmentCount; in panvk_CreateRenderPass2() 114 subpass->color_count = desc->colorAttachmentCount; in panvk_CreateRenderPass2() 116 subpass->view_mask = multiview_info->pViewMasks[i]; in panvk_CreateRenderPass2() 119 subpass->input_attachments = p; in panvk_CreateRenderPass2() 123 subpass->input_attachments[j] = (struct panvk_subpass_attachment) { in panvk_CreateRenderPass2() 129 .view_mask |= subpass->view_mask; in panvk_CreateRenderPass2() 134 subpass->color_attachments = p; in panvk_CreateRenderPass2() 140 subpass->color_attachments[j] = (struct panvk_subpass_attachment) { in panvk_CreateRenderPass2() 146 pass->attachments[idx].view_mask |= subpass->view_mask; in panvk_CreateRenderPass2() [all …]
|
D | panvk_cmd_buffer.c | 433 const struct panvk_subpass *subpass = cmdbuf->state.subpass; in panvk_cmd_fb_info_set_subpass() local 440 fbinfo->rt_count = subpass->color_count; in panvk_cmd_fb_info_set_subpass() 443 for (unsigned cb = 0; cb < subpass->color_count; cb++) { in panvk_cmd_fb_info_set_subpass() 444 int idx = subpass->color_attachments[cb].idx; in panvk_cmd_fb_info_set_subpass() 450 fbinfo->rts[cb].clear = subpass->color_attachments[cb].clear; in panvk_cmd_fb_info_set_subpass() 451 fbinfo->rts[cb].preload = subpass->color_attachments[cb].preload; in panvk_cmd_fb_info_set_subpass() 460 if (subpass->zs_attachment.idx != VK_ATTACHMENT_UNUSED) { in panvk_cmd_fb_info_set_subpass() 461 view = fb->attachments[subpass->zs_attachment.idx].iview; in panvk_cmd_fb_info_set_subpass() 469 fbinfo->zs.clear.z = subpass->zs_attachment.clear; in panvk_cmd_fb_info_set_subpass() 470 fbinfo->zs.clear_value.depth = clears[subpass->zs_attachment.idx].depth; in panvk_cmd_fb_info_set_subpass() [all …]
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_render_pass.c | 185 assert(ref->subpass < pCreateInfo->subpassCount); in vk_common_CreateRenderPass() 186 VkSubpassDescription2 *subpass = &subpasses[ref->subpass]; in vk_common_CreateRenderPass() local 188 assert(ref->inputAttachmentIndex < subpass->inputAttachmentCount); in vk_common_CreateRenderPass() 190 &subpass->pInputAttachments[ref->inputAttachmentIndex]; in vk_common_CreateRenderPass() 472 struct vk_subpass *subpass = &pass->subpasses[s]; in vk_common_CreateRenderPass2() local 478 subpass->attachment_count = num_subpass_attachments2(desc); in vk_common_CreateRenderPass2() 479 subpass->attachments = next_subpass_attachment; in vk_common_CreateRenderPass2() 495 subpass->view_mask = desc->viewMask ? desc->viewMask : 1; in vk_common_CreateRenderPass2() 496 pass->view_mask |= subpass->view_mask; in vk_common_CreateRenderPass2() 498 subpass->input_count = desc->inputAttachmentCount; in vk_common_CreateRenderPass2() [all …]
|
/third_party/glslang/Test/baseResults/ |
D | vulkan.vert.out | 2 ERROR: 0:3: 'subpass input' : not supported in this stage: vertex 4 ERROR: 0:4: 'subpass input' : not supported in this stage: vertex 6 ERROR: 0:5: 'subpass input' : not supported in this stage: vertex 8 ERROR: 0:6: 'subpass input' : not supported in this stage: vertex 10 ERROR: 0:7: 'subpass input' : not supported in this stage: vertex 12 ERROR: 0:8: 'subpass input' : not supported in this stage: vertex 52 ERROR: 0:76: 'input_attachment_index' : can only be used with a subpass
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTestsUtil.cpp | 651 SubpassDesc createSubpassDescription (const Subpass& subpass, in createSubpassDescription() argument 660 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getColorAttachments().size(); attachmentNdx… in createSubpassDescription() 661 …colorAttachmentReferences.push_back(createAttachmentReference<AttachmentRef>(subpass.getColorAttac… in createSubpassDescription() 663 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getInputAttachments().size(); attachmentNdx… in createSubpassDescription() 664 …inputAttachmentReferences.push_back(createAttachmentReference<AttachmentRef>(subpass.getInputAttac… in createSubpassDescription() 666 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getResolveAttachments().size(); attachmentN… in createSubpassDescription() 667 …resolveAttachmentReferences.push_back(createAttachmentReference<AttachmentRef>(subpass.getResolveA… in createSubpassDescription() 669 …depthStencilAttachmentReferences.push_back(createAttachmentReference<AttachmentRef>(subpass.getDep… in createSubpassDescription() 671 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getPreserveAttachments().size(); attachment… in createSubpassDescription() 672 preserveAttachmentReferences->push_back(subpass.getPreserveAttachments()[attachmentNdx]); in createSubpassDescription() [all …]
|
D | vktRenderPassTests.cpp | 859 log << TestLog::Message << "Subpass: " << inputAspect.subpass << TestLog::EndMessage; in logRenderPassInfo() 872 const Subpass& subpass = subpasses[subpassNdx]; in logRenderPassInfo() local 874 const vector<AttachmentReference>& inputAttachments = subpass.getInputAttachments(); in logRenderPassInfo() 875 const vector<AttachmentReference>& colorAttachments = subpass.getColorAttachments(); in logRenderPassInfo() 876 const vector<AttachmentReference>& resolveAttachments = subpass.getResolveAttachments(); in logRenderPassInfo() 877 const vector<deUint32>& preserveAttachments = subpass.getPreserveAttachments(); in logRenderPassInfo() 895 if (subpass.getDepthStencilAttachment().getAttachment() != VK_ATTACHMENT_UNUSED) in logRenderPassInfo() 898 const AttachmentReference& depthStencilAttachment = subpass.getDepthStencilAttachment(); in logRenderPassInfo() 1153 SubpassDesc createSubpassDescription (const Subpass& subpass, in createSubpassDescription() argument 1162 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getColorAttachments().size(); attachmentNdx… in createSubpassDescription() [all …]
|
/third_party/mesa3d/src/amd/compiler/tests/ |
D | helpers.cpp | 852 gfx_pipeline_info.subpass = 0; in create_graphics_pipeline() 855 VkSubpassDescription subpass; in create_graphics_pipeline() local 856 subpass.flags = 0; in create_graphics_pipeline() 857 subpass.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; in create_graphics_pipeline() 858 subpass.inputAttachmentCount = 0; in create_graphics_pipeline() 859 subpass.pInputAttachments = NULL; in create_graphics_pipeline() 860 subpass.colorAttachmentCount = num_color_attachments; in create_graphics_pipeline() 861 subpass.pColorAttachments = color_attachments; in create_graphics_pipeline() 862 subpass.pResolveAttachments = NULL; in create_graphics_pipeline() 863 subpass.pDepthStencilAttachment = ds_output == VK_FORMAT_UNDEFINED ? NULL : &ds_attachment; in create_graphics_pipeline() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_render_pass.c | 193 VkSubpassDescription2 subpass = {0}; in create_render_pass2() local 195 subpass.sType = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2; in create_render_pass2() 196 subpass.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; in create_render_pass2() 197 subpass.colorAttachmentCount = state->num_cbufs; in create_render_pass2() 198 subpass.pColorAttachments = color_refs; in create_render_pass2() 199 subpass.pDepthStencilAttachment = state->have_zsbuf ? &zs_ref : NULL; in create_render_pass2() 200 subpass.inputAttachmentCount = input_count; in create_render_pass2() 201 subpass.pInputAttachments = input_attachments; in create_render_pass2() 203 subpass.pResolveAttachments = color_resolves; in create_render_pass2() 205 subpass.pNext = &zsresolve; in create_render_pass2() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipeline.h | 42 uint32_t subpass, 57 uint32_t subpass);
|