Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@chinmaygarde
Copy link
Member

@chinmaygarde chinmaygarde commented Jul 10, 2023

This shows up in the the aiks test harness in the color wheel with advanced blends.

Fixes flutter/flutter#129853

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@chinmaygarde
Copy link
Member Author

I thought we were running unit-tests with validation enabled but that may not the case for test that toss open a playground window. And this one was in an advanced blend that had to be manually selected.

if (mode != StorageMode::kDeviceTransient) {
// TODO (https://github.com/flutter/flutter/issues/121634):
// Add transfer usage flags to support blit passes
// Add transfer usage flags to support blit passes only if image isn't
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found this outdated comment as I was looking for image usage flags. These flags are for allocated texture sources. The issue was with images that were wrapped swapchain images.

@jonahwilliams
Copy link
Contributor

Does this fix flutter/flutter#129853 ?

@chinmaygarde
Copy link
Member Author

It fixes that exact issue yes. But this has thrown up another issue (a write-after-write hazard on the blit yielded by vk::ValidationFeatureEnableEXT::eSynchronizationValidation). I am chasing that one down now. But this is a sound fix. We should be able to blit to swapchain images.

@chinmaygarde chinmaygarde added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 10, 2023
@auto-submit auto-submit bot merged commit 2a0dd9d into flutter:main Jul 10, 2023
@chinmaygarde chinmaygarde deleted the fbfetch branch July 10, 2023 22:03
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 10, 2023
fluttermirroringbot pushed a commit to flutter/flutter that referenced this pull request Jul 10, 2023
…130296)

flutter/engine@7d054ab...2a0dd9d

2023-07-10 [email protected] [Impeller] Fix Vulkan validation error when there is a blit directed at a swapchain image. (flutter/engine#43527)
2023-07-10 [email protected] Roll Skia from 89313a8cadab to aad8fbb17d69 (3 revisions) (flutter/engine#43526)
2023-07-10 [email protected] Roll Skia from c06d7ef5c276 to 89313a8cadab (2 revisions) (flutter/engine#43521)
2023-07-10 [email protected] [Impeller] Don't decompress into device buffer for Vulkan/GLES. (flutter/engine#43493)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
kjlubick pushed a commit to kjlubick/engine that referenced this pull request Jul 14, 2023
…at a swapchain image. (flutter#43527)

This shows up in the the aiks test harness in the color wheel with advanced blends.

Fixes flutter/flutter#129853
gbtb16 pushed a commit to gbtb16/flutter that referenced this pull request Nov 6, 2023
…0296)

flutter/engine@7d054ab...2a0dd9d

2023-07-10 [email protected] [Impeller] Fix Vulkan validation error when there is a blit directed at a swapchain image. (flutter/engine#43527)
2023-07-10 [email protected] Roll Skia from 89313a8cadab to aad8fbb17d69 (3 revisions) (flutter/engine#43526)
2023-07-10 [email protected] Roll Skia from c06d7ef5c276 to 89313a8cadab (2 revisions) (flutter/engine#43521)
2023-07-10 [email protected] [Impeller] Don't decompress into device buffer for Vulkan/GLES. (flutter/engine#43493)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

[Impeller] Texture to Texture blit for advanced blends is misconfigured on Vulkan.

3 participants