New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle the validation layers and enable them if --enable-vulkan-validation-layers is specified to gn #17854
Conversation
This pull request is not suitable for automatic merging in its current state.
|
--enable-vulkan-validation-layers is specified to gn
7217fc0
to
1c124a2
Compare
1c124a2
to
9573761
Compare
So after discussing this with @mehmetf this is the new approach here. The plan is to always attempt to load the validation layers on Fuchsia, and if we need a validation-enabled build we just repackage the existing far with the validation layers included. This can be done using the Fuchsia SDK and removes the need to roll additional fars around. |
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
…an-validation-layers is specified to gn (flutter/engine#17854)
The route I'm taking here is to always enable validation layers on Fuchsia if the gn flag is set. This is because having a settings flag is a) problematic regarding components (although my understanding here is very limited), and b) the validation layers .so is 6.5MB in size, so really we don't want to ship them in normal configurations anyway, which makes for much less of a compelling reason to add the complexity of having a runtime argument to enable them.