Write vertex shader kernel.