clean up the messy shader code specification

vastly deduplicate shader creation code

(0) -100 -30 -10 -2 +2 tip

mercurial