Skip to content

[Impeller] Vulkan: Re-enable clips pipelines with no color attachments. #131087

Closed as not planned
@bdero

Description

@bdero

We needed to disable this for Vulkan due to validation errors found while running Flutter Gallery: flutter/engine#43905

E/flutter (15691): -----------------------------------------------------------------
E/flutter (15691): [ERROR:flutter/impeller/base/validation.cc(49)] Break on 'ImpellerValidationBreak' to inspect point of failure: 
E/flutter (15691): --- Vulkan Debug Report  ----------------------------------------
E/flutter (15691): |                Severity: Error
E/flutter (15691): |                    Type: { Validation }
E/flutter (15691): |                 ID Name: VUID-vkCmdDraw-renderPass-02684
E/flutter (15691): |               ID Number: 1349015333
E/flutter (15691): |       Queue Breadcrumbs: [NONE]
E/flutter (15691): |  CMD Buffer Breadcrumbs: [NONE]
E/flutter (15691): |         Related Objects: RenderPass [3352410953092073] [EntityPass Render Pass: Depth=0 Count=0], RenderPass [329853488333100] [UNNAMED]
E/flutter (15691): |                 Trigger: Validation Error: [ VUID-vkCmdDraw-renderPass-02684 ] Object 0: handle = 0xbe90000000be9, name = EntityPass Render Pass: Depth=0 Count=0, type = VK_OBJECT_TYPE_RENDER_PASS; Object 1: handle = 0x12c000000012c, type = VK_OBJECT_TYPE_RENDER_PASS; | MessageID = 0x50685725 | vkCmdDraw: RenderPasses incompatible between active render pass w/ VkRenderPass 0xbe90000000be9[EntityPass Render Pass: Depth=0 Count=0] and pipeline state object w/ VkRenderPass 0x12c000000012c[] Attachment 0 is not compatible with 4294967295: The second is unused while the first is not.. The Vulkan spec states: The current render pass must be compatible with the renderPass member of the VkGraphicsPipelineCreateInfo structure specified when creating the VkPipeline bound to VK_PIPELINE_BIND_POINT_GRAPHICS (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdDraw-renderPass-02684)
E/flutter (15691): -------------------------------------------------------
  • Fix the underlying problem and re-enable.
  • Figure out why the Vulkan goldens did not catch and/or error out when encountering this validation issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work liste: impellerImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions