We already iterate all (skipping that with an if helps, though), and the
list of shaders in most games is pretty small. Using a map is not gaining
much, and actually makes the whole thing slower.
Cuts from 9.84% time in Tales of Phantasia X (lots of flushes) to 1.85%.