Lines Matching refs:index

79  *   - an index buffer is built.
81 * At the end of this transformation, the index buffer and the vertex buffer
90 * - PxIy: draw x, index y
98 * can't be drawn with an index buffer so this transformation is disabled
454 /* Add vertex to the vertex buffer and return its index. If this vertex is a duplicate
455 * of an existing vertex, return the original index instead.
459 uint32_t index, fi_type *new_buffer, uint32_t *max_index)
461 /* If vertex deduplication is disabled return the original index. */
463 return index;
465 fi_type *vert = save->vertex_store->buffer_in_ram + save->vertex_size * index;
474 /* We found an existing vertex with the same hash, return its index. */
477 /* This is a new vertex. Determine a new index and copy its attributes to the vertex
479 * starting at index 0.
490 /* The index buffer is shared between list compilations, so add the base index to get
491 * the final index.
584 /* Create an index buffer. */
611 /* The loopback replay code doesn't use the index buffer, so we can't
668 /* index generation uses uint16_t if the index count is small enough */
687 /* Add another index to preserve winding order */
883 node->cold->info.index.gl_bo = node->cold->ib.obj;
978 /* _vbo_loopback_vertex_list doesn't use the index buffer, so we have to
1294 * If index=0, does glVertexAttrib*() alias glVertex() to emit a vertex?
1299 is_vertex_position(const struct gl_context *ctx, GLuint index)
1301 return (index == 0 &&
1752 * offset is added to the array index.
1754 /* If PrimitiveRestart is enabled and the index is the RestartIndex