clean up the messy shader code specification

vastly deduplicate shader creation code

slightly improve error handling

resolve several minor TODOs

remove outdated TODO comments

add more vector arithmetic functions

(0) -100 -30 -10 -6 tip

mercurial