Add cases for the previous fix in the GLSL sample code.