flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
163.09k stars 26.83k forks source link

[Impeller] Update guidance on shader optimization to include recent findings and tools. #131584

Open chinmaygarde opened 11 months ago

chinmaygarde commented 11 months ago

I was reading the still excellent guidance on shader optimizations in the docs. Since the doc was written, we have wired up shader static analysis on CI using ARM Mali tools. Also, we have learned more about the effects of uniform computation and varying loads. We should update the linked guidance based on our current profiling workflows and knowledge.

References: go/impeller-slow-fragment-shader and go/impeller-push-constants

chinmaygarde commented 11 months ago

cc @jonahwilliams @bdero @gaaclarke