• Home
  • Raw
  • Download

Lines Matching refs:velem

934     struct pipe_vertex_element *velem = r300->velems->velem;  in r300_emit_vertex_arrays()  local
951 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
952 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
958 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays()
959 OUT_CS(vb2->buffer_offset + velem[i+1].src_offset + offset * vb2->stride); in r300_emit_vertex_arrays()
963 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
967 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays()
971 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays()
977 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
978 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
982 if (velem[i].instance_divisor) { in r300_emit_vertex_arrays()
984 offset1 = vb1->buffer_offset + velem[i].src_offset + in r300_emit_vertex_arrays()
985 (instance_id / velem[i].instance_divisor) * vb1->stride; in r300_emit_vertex_arrays()
988 offset1 = vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride; in r300_emit_vertex_arrays()
990 if (velem[i+1].instance_divisor) { in r300_emit_vertex_arrays()
992 offset2 = vb2->buffer_offset + velem[i+1].src_offset + in r300_emit_vertex_arrays()
993 (instance_id / velem[i+1].instance_divisor) * vb2->stride; in r300_emit_vertex_arrays()
996 offset2 = vb2->buffer_offset + velem[i+1].src_offset + offset * vb2->stride; in r300_emit_vertex_arrays()
1006 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
1009 if (velem[i].instance_divisor) { in r300_emit_vertex_arrays()
1011 offset1 = vb1->buffer_offset + velem[i].src_offset + in r300_emit_vertex_arrays()
1012 (instance_id / velem[i].instance_divisor) * vb1->stride; in r300_emit_vertex_arrays()
1015 offset1 = vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride; in r300_emit_vertex_arrays()
1023 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays()