1. A method performed by a graphics processing unit (GPU), the method comprising: receiving, by the GPU, a primitive type buffer comprising a plurality of primitive type entries, wherein each of a plurality of vertices of a vertex buffer of the GPU are associated with one or more of the plurality of primitive type entries; determining, by the GPU, primitives based on the plurality of vertices and the associated one or more primitive type entries; and rendering, by the GPU, the primitives based on the plurality of vertices and the associated one or more primitive type entries of the primitive type buffer.