Ubershaders: A Ridiculous Solution to an Impossible Problem
Reminds me of <a href="https://01.org/fast-ui-draw/blogs/krogovin/2016/fast-ui-draw-technical-details-1" rel="nofollow">https://01.org/fast-ui-draw/blogs/krogovin/2016/fast-ui-draw...</a>, a Canvas implementation from Intel that also uses a uber shader.