flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
164.87k stars 27.16k forks source link

[Impeller] Depth error on switching to DL depth computation. #153766

Closed jonahwilliams closed 1 week ago

jonahwilliams commented 3 weeks ago

To reproduce, set experimental_canvas = true in common/config.gni. Then run flutter test in the framework:

flutter test --local-engine=host_debug --local-engine-host=host_debug --enable-impeller test/painting/decoration_image_lerp_test.dart

There are two tests called "ImageDecoration.lerp", the error happens during the second one

/Users/jonahwilliams/flutter/packages/flutter/test/painting/decoration_image_lerp_test.dart: ImageDecoration.lerp                       Shell: [FATAL:flutter/impeller/aiks/experimental_canvas.cc(698)] Check failed: current_depth_ <= transform_stack_.back().clip_depth. 279 <=? 278
unhandled error during finalization of test:

FYI @flar

jonahwilliams commented 3 weeks ago

There is another error about an invalid render target that is fixed by https://github.com/flutter/engine/pull/54604

jonahwilliams commented 2 weeks ago

We think this is fixed by https://github.com/flutter/engine/pull/54794

jonahwilliams commented 1 week ago

Closing as fixed