Formalized shader preprocessing for future convenience