Skip to content

[Impeller] Metal validation errors in blur coverage unit tests #138955

@zanderso

Description

@zanderso

On my M1 mac, when I run impeller_unittests from a host_debug build, I hit metal validation errors on a few unit tests of blur coverage. They look like this:

$ flutter/testing/run_tests.py --quiet --type engine --variant host_debug --engine-filter impeller_unittests --engine-capture-core-dump
...
[ RUN      ] Play/DirectionalGaussianBlurFilterContentsTest.RenderCoverageMatchesGetCoverage/Metal
-[MTLDebugRenderCommandEncoder setFragmentTexture:atIndex:]:2528: failed assertion `Set Fragment Buffers Validation
texture is Memoryless, and cannot be assigned.
'

I'm guessing the test is passing on CI and failing locally because these tests are pinned to an intel machine on CI.

These tests might have been affected by recent changes in this area like flutter/engine#47576, and flutter/engine#48149, but may also have been hitting validation errors before those changes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsplatform-iosiOS applications specificallyteam-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