Searched refs:subpass (Results 1 - 25 of 48) sorted by relevance

12

/external/mesa3d/src/intel/vulkan/
H A Danv_pass.c107 struct anv_subpass *subpass = &pass->subpasses[i]; local
109 subpass->input_count = desc->inputAttachmentCount;
110 subpass->color_count = desc->colorAttachmentCount;
113 subpass->input_attachments = p;
118 subpass->input_attachments[j] = a;
126 subpass->has_ds_self_dep = true;
132 subpass->color_attachments = p;
137 subpass->color_attachments[j] = a;
146 subpass->has_resolve = false;
148 subpass
[all...]
H A Danv_blorp.c953 const struct anv_subpass *subpass = cmd_buffer->state.subpass; local
955 const uint32_t att_idx = subpass->color_attachments[color_att];
991 const struct anv_subpass *subpass = cmd_buffer->state.subpass; local
992 const uint32_t att_idx = subpass->depth_stencil_attachment;
1074 struct anv_subpass *subpass = cmd_buffer->state.subpass; local
1075 unsigned subpass_idx = subpass - pass->subpasses;
1078 /* We handle this subpass speciall
1120 struct anv_subpass *subpass = cmd_buffer->state.subpass; local
1423 struct anv_subpass *subpass = cmd_buffer->state.subpass; local
1547 struct anv_subpass *subpass = cmd_buffer->state.subpass; local
[all...]
H A Dgen7_cmd_buffer.c129 const struct anv_subpass *subpass = cmd_buffer->state.subpass; local
131 if (subpass->depth_stencil_attachment >= pass->attachment_count)
135 &pass->attachments[subpass->depth_stencil_attachment];
H A Danv_pipeline.c283 render_pass->subpasses[info->subpass].color_count;
979 struct anv_subpass *subpass = &pass->subpasses[pCreateInfo->subpass]; local
1033 * disabled or if the subpass of the render pass the pipeline is
1037 for (unsigned i = 0; i < subpass->color_count; ++i) {
1038 if (subpass->color_attachments[i] != VK_ATTACHMENT_UNUSED) {
1062 * disabled or if the subpass of the render pass the pipeline is created
1066 subpass->depth_stencil_attachment != VK_ATTACHMENT_UNUSED) {
1105 struct anv_subpass *subpass = NULL; local
1115 assert(info->subpass < renderpas
[all...]
H A DgenX_pipeline.c412 const struct anv_subpass *subpass)
477 if (subpass->depth_stencil_attachment < pass->attachment_count) {
479 pass->attachments[subpass->depth_stencil_attachment].format;
641 const struct anv_subpass *subpass)
684 if (subpass->depth_stencil_attachment != VK_ATTACHMENT_UNUSED) {
686 pass->attachments[subpass->depth_stencil_attachment].format;
1188 emit_3dstate_wm(struct anv_pipeline *pipeline, struct anv_subpass *subpass, argument
1223 /* If the subpass has a depth or stencil self-dependency, then we
1230 wm.PixelShaderKillsPixel = subpass->has_ds_self_dep ||
1374 struct anv_subpass *subpass)
408 emit_rs_state(struct anv_pipeline *pipeline, const VkPipelineRasterizationStateCreateInfo *rs_info, const VkPipelineMultisampleStateCreateInfo *ms_info, const struct anv_render_pass *pass, const struct anv_subpass *subpass) argument
638 emit_ds_state(struct anv_pipeline *pipeline, const VkPipelineDepthStencilStateCreateInfo *info, const struct anv_render_pass *pass, const struct anv_subpass *subpass) argument
1373 emit_3dstate_ps_extra(struct anv_pipeline *pipeline, struct anv_subpass *subpass) argument
1461 struct anv_subpass *subpass = &pass->subpasses[pCreateInfo->subpass]; local
[all...]
H A DgenX_cmd_buffer.c610 cmd_buffer->state.subpass =
611 &cmd_buffer->state.pass->subpasses[pBeginInfo->pInheritanceInfo->subpass];
659 * copy the surface states for the current subpass into the storage
1080 struct anv_subpass *subpass = cmd_buffer->state.subpass; local
1154 if (binding->index < subpass->color_count) {
1155 const unsigned att = subpass->color_attachments[binding->index];
1200 assert(binding->input_attachment_index < subpass->input_count);
1202 const unsigned att = subpass->input_attachments[subpass_att];
2182 const uint32_t ds = cmd_buffer->state.subpass
2333 cmd_buffer_set_subpass(struct anv_cmd_buffer *cmd_buffer, struct anv_subpass *subpass) argument
[all...]
H A Danv_cmd_buffer.c802 * Return NULL if the current subpass has no depthstencil attachment.
807 const struct anv_subpass *subpass = cmd_buffer->state.subpass; local
810 if (subpass->depth_stencil_attachment == VK_ATTACHMENT_UNUSED)
814 fb->attachments[subpass->depth_stencil_attachment];
/external/mesa3d/src/amd/vulkan/
H A Dradv_pass.c96 struct radv_subpass *subpass = &pass->subpasses[i]; local
98 subpass->input_count = desc->inputAttachmentCount;
99 subpass->color_count = desc->colorAttachmentCount;
102 subpass->input_attachments = p;
106 subpass->input_attachments[j]
112 subpass->color_attachments = p;
116 subpass->color_attachments[j]
121 subpass->has_resolve = false;
123 subpass->resolve_attachments = p;
128 subpass
[all...]
H A Dradv_meta_clear.c203 .subpass = 0,
378 const struct radv_subpass *subpass = cmd_buffer->state.subpass; local
381 const uint32_t pass_att = subpass->color_attachments[subpass_att].attachment;
406 assert(clear_att->colorAttachment < subpass->color_count);
435 subpass->color_attachments[clear_att->colorAttachment]
462 radv_cmd_buffer_set_subpass(cmd_buffer, subpass, false);
666 const struct radv_subpass *subpass = cmd_buffer->state.subpass; local
668 const uint32_t pass_att = subpass
831 const struct radv_subpass *subpass = cmd_buffer->state.subpass; local
[all...]
H A Dradv_meta.c75 state->subpass = cmd_buffer->state.subpass;
86 cmd_buffer->state.subpass = state->subpass;
90 if (state->subpass)
H A Dradv_meta_resolve.c239 .subpass = 0,
570 * Emit any needed resolves for the current subpass.
576 const struct radv_subpass *subpass = cmd_buffer->state.subpass; local
588 if (!subpass->has_resolve)
593 for (uint32_t i = 0; i < subpass->color_count; ++i) {
594 VkAttachmentReference src_att = subpass->color_attachments[i];
595 VkAttachmentReference dest_att = subpass->resolve_attachments[i];
625 cmd_buffer->state.subpass = subpass;
[all...]
H A Dradv_pipeline.c743 struct radv_subpass *subpass = pass->subpasses + pCreateInfo->subpass; local
747 for (unsigned i = 0; i < (single_cb_enable ? 1 : subpass->color_count); ++i) {
751 attachment = pass->attachments + subpass->color_attachments[i].attachment;
791 struct radv_subpass *subpass = pass->subpasses + pCreateInfo->subpass; local
794 for (unsigned i = 0; i < subpass->color_count; ++i) {
797 attachment = pass->attachments + subpass->color_attachments[i].attachment;
1168 struct radv_subpass *subpass = &pass->subpasses[pCreateInfo->subpass]; local
[all...]
H A Dradv_cmd_buffer.c864 const struct radv_subpass *subpass = cmd_buffer->state.subpass; local
867 if (subpass->has_resolve) {
868 uint32_t a = subpass->resolve_attachments[0].attachment;
872 for (i = 0; i < subpass->color_count; ++i) {
873 int idx = subpass->color_attachments[i].attachment;
888 for (i = subpass->color_count; i < 8; i++)
892 if(subpass->depth_stencil_attachment.attachment != VK_ATTACHMENT_UNUSED) {
893 int idx = subpass->depth_stencil_attachment.attachment;
894 VkImageLayout layout = subpass
1256 radv_cmd_buffer_set_subpass(struct radv_cmd_buffer *cmd_buffer, const struct radv_subpass *subpass, bool transitions) argument
1466 struct radv_subpass *subpass = local
[all...]
H A Dradv_meta.h54 const struct radv_subpass *subpass; member in struct:radv_meta_saved_pass_state
H A Dradv_meta_fast_clear.c232 .subpass = 0,
270 .subpass = 0,
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassTests.cpp793 log << TestLog::Message << "Subpass: " << inputAspect.subpass << TestLog::EndMessage;
806 const Subpass& subpass = subpasses[subpassNdx]; local
808 const vector<AttachmentReference>& inputAttachments = subpass.getInputAttachments();
809 const vector<AttachmentReference>& colorAttachments = subpass.getColorAttachments();
810 const vector<AttachmentReference>& resolveAttachments = subpass.getResolveAttachments();
811 const vector<deUint32>& preserveAttachments = subpass.getPreserveAttachments();
827 if (subpass.getDepthStencilAttachment().getAttachment() != VK_ATTACHMENT_UNUSED)
830 const AttachmentReference& depthStencilAttachment = subpass.getDepthStencilAttachment();
1079 VkSubpassDescription createSubpassDescription (const Subpass& subpass, argument
1088 for (size_t attachmentNdx = 0; attachmentNdx < subpass
[all...]
/external/vulkan-validation-layers/tests/
H A Dvkrenderframework.cpp313 VkSubpassDescription subpass = {}; local
314 subpass.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS;
315 subpass.flags = 0;
316 subpass.inputAttachmentCount = 0;
317 subpass.pInputAttachments = NULL;
318 subpass.colorAttachmentCount = targets;
319 subpass.pColorAttachments = color_references.data();
320 subpass.pResolveAttachments = NULL;
342 subpass.pDepthStencilAttachment = &ds_reference;
344 subpass
527 VkSubpassDescription subpass = {}; local
[all...]
H A Dlayer_validation_tests.cpp1269 info.subpass = 0;
2783 TEST_DESCRIPTION("Use a pipeline for the wrong subpass in a render pass instance");
2868 // subtest 1: bind in the wrong subpass
2872 "built for subpass 0 but used in subpass 1");
2879 // subtest 2: bind in correct subpass, then transition to next subpass
2884 "built for subpass 0 but used in subpass 1");
2947 "depth attachments in subpass");
2956 VkSubpassDescription subpass = {}; local
2986 VkSubpassDescription subpass = {}; local
3038 VkSubpassDescription subpass = {0, VK_PIPELINE_BIND_POINT_GRAPHICS, 0, nullptr, 1, &color, &resolve, nullptr, 0, nullptr}; local
3080 VkSubpassDescription subpass = {0, VK_PIPELINE_BIND_POINT_GRAPHICS, 0, nullptr, 1, &color, &resolve, nullptr, 0, nullptr}; local
3121 VkSubpassDescription subpass = {0, VK_PIPELINE_BIND_POINT_GRAPHICS, 0, nullptr, 2, color, nullptr, nullptr, 0, nullptr}; local
3155 VkSubpassDescription subpass = {}; local
7551 VkSubpassDescription subpass = {}; local
9348 VkSubpassDescription subpass = {}; local
10085 VkSubpassDescription subpass = {}; local
11111 VkSubpassDescription subpass = {0, VK_PIPELINE_BIND_POINT_GRAPHICS, 0, nullptr, 1, &att_ref, nullptr, nullptr, 0, nullptr}; local
12589 VkSubpassDescription subpass = { local
13410 VkSubpassDescription subpass = {}; local
16193 VkSubpassDescription subpass = { 0, VK_PIPELINE_BIND_POINT_GRAPHICS, 0, nullptr, 1, &att_ref, nullptr, nullptr, 0, nullptr }; local
16268 VkSubpassDescription subpass = { 0, VK_PIPELINE_BIND_POINT_GRAPHICS, 0, nullptr, 1, &att_ref, nullptr, nullptr, 0, nullptr }; local
16356 VkSubpassDescription subpass = { 0, VK_PIPELINE_BIND_POINT_GRAPHICS, 0, nullptr, 1, &att_ref, nullptr, nullptr, 0, nullptr }; local
16457 VkSubpassDescription subpass = { 0, VK_PIPELINE_BIND_POINT_GRAPHICS, 0, nullptr, 0, nullptr, nullptr, &att_ref, 0, nullptr }; local
16546 VkSubpassDescription subpass = { 0, VK_PIPELINE_BIND_POINT_GRAPHICS, 0, nullptr, 1, &att_ref, nullptr, nullptr, 0, nullptr }; local
16607 VkSubpassDescription subpass = {}; local
[all...]
/external/vulkan-validation-layers/layers/
H A Dcore_validation.cpp1920 auto subpass = rpci->pSubpasses[subpass_index]; local
1921 for (auto i = 0u; i < subpass.colorAttachmentCount; ++i) {
1922 uint32_t attachment = subpass.pColorAttachments[i].attachment;
2360 // For each subpass, verify that corresponding color, input, resolve & depth/stencil attachment references are compatible
2369 errorStr << "color attachments at index " << cIdx << " of subpass index " << spIndex << " are not compatible.";
2377 errorStr << "resolve attachments at index " << cIdx << " of subpass index " << spIndex << " are not compatible.";
2388 errorStr << "depth/stencil attachments of subpass index " << spIndex << " are not compatible.";
2401 errorStr << "input attachments at index " << i << " of subpass index " << spIndex << " are not compatible.";
2815 /* validate use of input attachments against subpass structure */
2820 auto subpass local
9680 CheckDependencyExists(const layer_data *dev_data, const int subpass, const std::vector<uint32_t> &dependent_subpasses, const std::vector<DAGNode> &subpass_to_node, bool &skip_call) argument
9711 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[index]; local
9727 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[index]; local
9821 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; local
9859 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; local
9884 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; local
9917 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; local
10108 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; local
10224 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; local
10317 auto const &subpass = renderPass->createInfo.pSubpasses[subpass_index]; local
10618 validateSubpassCompatibility(layer_data *dev_data, VkCommandBuffer primaryBuffer, VkRenderPassCreateInfo const *primaryPassCI, VkCommandBuffer secondaryBuffer, VkRenderPassCreateInfo const *secondaryPassCI, const int subpass, bool is_multi) argument
[all...]
/external/skia/src/gpu/vk/
H A DGrVkCopyPipeline.cpp172 pipelineCreateInfo.subpass = 0;
/external/vulkan-validation-layers/demos/smoke/
H A DSmoke.cpp182 VkSubpassDescription subpass = {}; local
183 subpass.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS;
184 subpass.colorAttachmentCount = 1;
185 subpass.pColorAttachments = &attachment_ref;
211 render_pass_info.pSubpasses = &subpass;
361 pipeline_info.subpass = 0;
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkTypeUtil.inl407 inline VkInputAttachmentAspectReferenceKHR makeInputAttachmentAspectReferenceKHR (deUint32 subpass, deUint32 inputAttachmentIndex, VkImageAspectFlags aspectMask)
410 res.subpass = subpass;
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawCreateInfoUtil.hpp211 void addSubpass (vk::VkSubpassDescription subpass);
452 int subpass,
H A DvktDrawCreateInfoUtil.cpp362 RenderPassCreateInfo::addSubpass (vk::VkSubpassDescription subpass) argument
365 m_subpasses.push_back(subpass);
1049 subpass = _subpass;
/external/deqp/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp4336 const vk::VkSubpassDescription subpass =
4430 &subpass,
4623 const deUint32 subpass,
4839 subpass,
4881 const deUint32 subpass = 0;
4885 createPipelineWithResources(vkd, device, renderPass, subpass, *vertexShaderModule, *fragmentShaderModule, context.getTargetWidth(), context.getTargetHeight(),
4944 const deUint32 subpass = 0;
4972 createPipelineWithResources(vkd, device, renderPass, subpass, *vertexShaderModule, *fragmentShaderModule, context.getTargetWidth(), context.getTargetHeight(),
5041 const deUint32 subpass = 0;
5061 createPipelineWithResources(vkd, device, renderPass, subpass, *vertexShaderModul
[all...]

Completed in 5221 milliseconds

12