Lines Matching refs:indexBuffer
427 struct pipe_resource* indexBuffer, in r300_emit_draw_elements() argument
494 OUT_CS_RELOC(r300_resource(indexBuffer)); in r300_emit_draw_elements()
587 struct pipe_resource *indexBuffer = in r300_draw_elements() local
590 struct pipe_resource* orgIndexBuffer = indexBuffer; in r300_draw_elements()
604 r300_translate_index_buffer(r300, info, &indexBuffer, in r300_draw_elements()
608 if (indexSize == 2 && (start & 1) && indexBuffer) { in r300_draw_elements()
621 r300_upload_index_buffer(r300, &indexBuffer, indexSize, &start, in r300_draw_elements()
626 r300_upload_index_buffer(r300, &indexBuffer, indexSize, in r300_draw_elements()
634 PREP_INDEXED, indexBuffer, 19, buffer_offset, info->index_bias, in r300_draw_elements()
639 r300_emit_draw_elements(r300, indexBuffer, indexSize, in r300_draw_elements()
650 r300_emit_draw_elements(r300, indexBuffer, indexSize, in r300_draw_elements()
661 indexBuffer, 19, buffer_offset, info->index_bias, in r300_draw_elements()
669 if (indexBuffer != orgIndexBuffer) { in r300_draw_elements()
670 pipe_resource_reference( &indexBuffer, NULL ); in r300_draw_elements()