Preparing the vertex shader and buffers for tessellation