Home | History | Annotate | Download | only in i965

Lines Matching refs:upload

317        * know what data to upload.
365 struct brw_vertex_element *upload[VERT_ATTRIB_MAX];
474 upload[nr_uploads++] = input;
478 /* If we need to upload all the arrays, then we can trim those arrays to
495 /* All uploads are interleaved, so upload the arrays together as
496 * interleaved. First, upload the contents and set up upload[0].
498 copy_array_to_vbo_array(brw, upload[0], min_index, max_index,
503 /* Then, just point upload[i] at upload[0]'s buffer. */
504 upload[i]->offset =
505 ((const unsigned char *)upload[i]->glarray->Ptr - ptr);
506 upload[i]->buffer = j;
513 /* Upload non-interleaved arrays */
516 if (upload[i]->glarray->InstanceDivisor == 0) {
517 copy_array_to_vbo_array(brw, upload[i], min_index, max_index,
518 buffer, upload[i]->element_size);
525 (brw->num_instances - 1) / upload[i]->glarray->InstanceDivisor;
526 copy_array_to_vbo_array(brw, upload[i], 0, instanced_attr_max_index,
527 buffer, upload[i]->element_size);
530 buffer->step_rate = upload[i]->glarray->InstanceDivisor;
531 upload[i]->buffer = j++;
532 upload[i]->offset = 0;
691 * of in the VUE. We have to upload it sideband as the last vertex