Lines Matching refs:min_index
522 unsigned min_index = ~0; in _mesa_marshal_MultiDrawArrays() local
536 min_index = MIN2(min_index, first[i]); in _mesa_marshal_MultiDrawArrays()
540 unsigned num_vertices = max_index_exclusive - min_index; in _mesa_marshal_MultiDrawArrays()
549 if (!upload_vertices(ctx, user_buffer_mask, min_index, num_vertices, in _mesa_marshal_MultiDrawArrays()
611 GLuint min_index; member
626 const GLuint min_index = cmd->min_index; in _mesa_unmarshal_DrawRangeElementsBaseVertex() local
630 (mode, min_index, max_index, count, in _mesa_unmarshal_DrawRangeElementsBaseVertex()
639 bool index_bounds_valid, GLuint min_index, GLuint max_index) in draw_elements_async() argument
651 cmd->min_index = min_index; in draw_elements_async()
678 GLuint min_index; member
703 const GLuint min_index = cmd->min_index; in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance() local
722 (mode, min_index, max_index, count, in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance()
746 bool index_bounds_valid, GLuint min_index, GLuint max_index, in draw_elements_async_user() argument
764 cmd->min_index = min_index; in draw_elements_async_user()
777 bool index_bounds_valid, GLuint min_index, GLuint max_index, in draw_elements() argument
795 count <= 0 || instance_count <= 0 || max_index < min_index || in draw_elements()
800 min_index, max_index); in draw_elements()
821 min_index = ~0; in draw_elements()
826 &min_index, &max_index); in draw_elements()
830 unsigned start_vertex = min_index + basevertex; in draw_elements()
831 unsigned num_vertices = max_index + 1 - min_index; in draw_elements()
852 min_index, max_index, index_buffer, in draw_elements()
866 (mode, min_index, max_index, count, type, indices)); in draw_elements()
872 (mode, min_index, max_index, count, in draw_elements()
1035 unsigned min_index = ~0; in _mesa_marshal_MultiDrawElementsBaseVertex() local
1066 min_index = MIN2(min_index, min); in _mesa_marshal_MultiDrawElementsBaseVertex()
1071 num_vertices = max_index + 1 - min_index; in _mesa_marshal_MultiDrawElementsBaseVertex()
1112 !upload_vertices(ctx, user_buffer_mask, min_index, num_vertices, in _mesa_marshal_MultiDrawElementsBaseVertex()