Get away from that iVertex junk that's not supported by OpenGL ES 2.0 (because glVertexAttribIPointer isn't defined) and really was kinda crap anyway for having so many conditionals in the vertex shader.