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

Conversation

@chinmaygarde
Copy link
Member

This method is used for debugging anyway and not bothering with the extensions makes this method more resilient to future updates to the Vulkan headers.

return "Unknown Error";
}
return "Unknown Error";
return "";
Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM with nits.

I like the old return "Unknown Error"; a little more than the new default: return ...

Can we also use Macro to reduce the duplicate of having every VK_XXX written twice (one in case, one in return)?

Copy link
Member Author

Choose a reason for hiding this comment

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

"Unknown Error" is returned in the default case. That line of code is unreachable.

@chinmaygarde chinmaygarde merged commit 84e3b13 into flutter:master Nov 26, 2018
@chinmaygarde chinmaygarde deleted the nolog branch November 26, 2018 23:30
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 27, 2018
chinmaygarde added a commit to chinmaygarde/flutter that referenced this pull request Nov 27, 2018
Picks up changes that unblock the Fuchsia roll flutter/engine#6949.
chinmaygarde added a commit to flutter/flutter that referenced this pull request Nov 27, 2018
Picks up changes that unblock the Fuchsia roll flutter/engine#6949.
GaryQian pushed a commit to GaryQian/engine that referenced this pull request Dec 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants