vastly deduplicate shader creation code default tip

slightly improve error handling

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

mercurial