* moved creation/assembly of primitive indices to a separate kernel header file, since it's used by both the processing stage and the rasterization stage