Skip to content

[Impeller] Validation errors when running playgrounds with Vulkan validation enabled. #133506

@chinmaygarde

Description

@chinmaygarde

For instance:

impeller_unittests --enable_vulkan_validation --playground_timeout_ms=4000 --enable_playground --gtest_filter="*ColorWheel/Vulkan"

Gives the following validation error:

[FATAL:flutter/impeller/base/validation.cc(47)] Break on 'ImpellerValidationBreak' to inspect point of failure: 
--- Vulkan Debug Report  ----------------------------------------
|                Severity: Error
|                    Type: { Validation }
|                 ID Name: UNASSIGNED-CoreValidation-DrawState-InvalidCommandBuffer-VkBuffer
|               ID Number: 653100552
|       Queue Breadcrumbs: [NONE]
|  CMD Buffer Breadcrumbs: ImGui Render Pass
|         Related Objects: Buffer [15136470804243417930] [EntityPass Render Pass: Depth=0 Count=0 Transients], DescriptorSet [2107850651865189193] [UNNAMED], CommandBuffer [140459809132712] [ImGui Command Buffer]
|                 Trigger: Validation Error: [ UNASSIGNED-CoreValidation-DrawState-InvalidCommandBuffer-VkBuffer ] Object 0: handle = 0xd20f8c0000000b4a, name = EntityPass Render Pass: Depth=0 Count=0 Transients, type = VK_OBJECT_TYPE_BUFFER; Object 1: handle = 0x1d40970000000b49, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; Object 2: handle = 0x7fbf590750a8, name = ImGui Command Buffer, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x26ed8608 | You are adding vkCmdPipelineBarrier to VkCommandBuffer 0x7fbf590750a8[ImGui Command Buffer] that is invalid because bound VkBuffer 0xd20f8c0000000b4a[EntityPass Render Pass: Depth=0 Count=0 Transients] was destroyed.
-----------------------------------------------------------------

Metadata

Metadata

Labels

P1High-priority issues 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