pass: remember with which pass a program was used last, and use this information to skip constant buffer updating altogether. This makes for a massive CPU time improvement if scenes have massively shared materials (-10% in the sponza scene).
generate proper pass ids, and use those to obtain a material "hash".
renderqueue: fix sort predicates.
debug: make settings of bounding-box visualizer accessible in the GUI.