Lines Matching refs:elements
2756 struct pipe_vertex_element *elements = ve->elements;
2767 if (elements[i].instance_divisor > 1) {
2776 alu.src[1].value = (1ll << 32) / elements[i].instance_divisor + 1;
2793 alu.src[1].value = (1ll << 32) / elements[i].instance_divisor + 1;
2807 r600_vertex_data_type(ve->elements[i].src_format,
2810 desc = util_format_description(ve->elements[i].src_format);
2813 R600_ERR("unknown format %d\n", ve->elements[i].src_format);
2817 if (elements[i].src_offset > 65535) {
2819 R600_ERR("too big src_offset: %u\n", elements[i].src_offset);
2824 vtx.buffer_id = elements[i].vertex_buffer_index + fetch_resource_start;
2825 vtx.fetch_type = elements[i].instance_divisor ? 1 : 0;
2826 vtx.src_gpr = elements[i].instance_divisor > 1 ? i + 1 : 0;
2827 vtx.src_sel_x = elements[i].instance_divisor ? 3 : 0;
2838 vtx.offset = elements[i].src_offset;