Added diagonal matrix pattern to input descriptors.