Apps which leave an instancing divisor on a vertex attribute prior to frame submission could cause the cardboard distortion rendering to break. This change ensures that the two vertex attributes used by the distortion rendering are set to 0 prior to rendering, and restores the divisor state afterwards if needed.
Apps which leave an instancing divisor on a vertex attribute prior to frame submission could cause the cardboard distortion rendering to break. This change ensures that the two vertex attributes used by the distortion rendering are set to 0 prior to rendering, and restores the divisor state afterwards if needed.