[flutter_tool] Build shaders as .iplr and use FragmentProgram.fromAsset for ink_sparkle#108071
[flutter_tool] Build shaders as .iplr and use FragmentProgram.fromAsset for ink_sparkle#108071zanderso merged 1 commit intoflutter:masterfrom
Conversation
|
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. |
be726b9 to
9a3754a
Compare
|
@jonahwilliams Switching over to |
|
That SGTM |
There was a problem hiding this comment.
I think we have a safe delete helper? Though its not exactly harmless, they end up bundled into the app
There was a problem hiding this comment.
Replaced with ErrorHandlingFileSystem.deleteIfExists, which will throwToolExit if the delete fails.
|
This is going to be easier to roll internally after we use a flag rather than the output file extension to indicating wrapping in the |
|
This pull request has been changed to a draft. The currently pending flutter-gold status will not be able to resolve until a new commit is pushed or the change is marked ready for review again. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
…et for ink_sparkle
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
….fromAsset for ink_sparkle (flutter/flutter#108071)
…et for ink_sparkle (flutter#108071)
This PR causes the tool to bundle shaders as SkSL in a
.iplrcontainer, and to useFragmentProgram.fromAssetto load the ink_sparkle shader.This will require fixes to the internal build, which are here: cl/462521386 cc @chingjun
After this lands we can start deleting the transpiler and old API.