Lines Matching refs:transkey
51 struct translate_key transkey;
68 transkey.nr_elements = 0;
69 transkey.output_stride = 0;
100 unsigned j = transkey.nr_elements++;
102 transkey.element[j].type = TRANSLATE_ELEMENT_NORMAL;
103 transkey.element[j].input_format = ve->src_format;
104 transkey.element[j].input_buffer = vbi;
105 transkey.element[j].input_offset = ve->src_offset;
106 transkey.element[j].instance_divisor = ve->instance_divisor;
108 transkey.element[j].output_format = fmt;
109 transkey.element[j].output_offset = transkey.output_stride;
110 transkey.output_stride += (util_format_get_stride(fmt, 1) + 3) & ~3;
121 so->translate = translate_create(&transkey);
122 so->vertex_size = transkey.output_stride / 4;