Improved shader error logging.