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

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Dec 22, 2023

Makes fragment programs work for OpenGLES backend.

Fixes flutter/flutter#113715
Fixes flutter/flutter#105538
I cannot find a dedicated issue for this, but there probably is someone somewhere and I don't want to file a new one for it.

@dnfield dnfield marked this pull request as ready for review January 2, 2024 19:29
// Regression test for https://github.com/flutter/flutter/issues/126701 .
TEST_P(AiksTest, CanRenderClippedRuntimeEffects) {
if (GetParam() != PlaygroundBackend::kMetal) {
if (GetParam() == PlaygroundBackend::kVulkan) {
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps move this to PlaygroundTest::BackendSupportsFragmentProgram?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

);
continue;
}
VALIDATION_LOG << "Size " << member.size
Copy link
Member

Choose a reason for hiding this comment

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

Can't this information be combined in the validation log below?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This one is specific for floats. The one below doesn't necessarily care about sizes, and when I hit this it was a little confusing at first about why a float wouldn't be supported.

kVulkan,
};

inline RuntimeStageBackend PlaygroundBackendToRuntimeStageBackend(
Copy link
Member

Choose a reason for hiding this comment

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

constexpr with an FML_UNREACHABLE at the end.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@chinmaygarde
Copy link
Member

Perhaps flutter/flutter#105538 as a related issue.

@dnfield dnfield added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 2, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Jan 2, 2024

auto label is removed for flutter/engine/49347, due to - The status or check suite Mac mac_clang_tidy has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jan 2, 2024
@dnfield dnfield added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 2, 2024
@auto-submit auto-submit bot merged commit b5e79bd into flutter:main Jan 2, 2024
@dnfield dnfield deleted the impellerc branch January 2, 2024 22:11
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 2, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jan 3, 2024
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
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[Impeller] Add support for non-struct uniform names for GLES [Impeller] Enable RuntimeStage tests for the OpenGL ES backend.

3 participants