add shader compilation error checking