Searched refs:nr_elements (Results 1 – 18 of 18) sorted by relevance
74 unsigned nr_elements; member135 return 2 * sizeof(int) + key->nr_elements * sizeof(struct translate_element); in translate_keysize()
76 sizeof(struct translate_element) * (TRANSLATE_MAX_ATTRIBS - key->nr_elements); in translate_hash_key_size()
788 assert(key->nr_elements <= TRANSLATE_MAX_ATTRIBS); in translate_generic_create()798 for (i = 0; i < key->nr_elements; i++) { in translate_generic_create()844 tg->nr_attrib = key->nr_elements; in translate_generic_create()
1381 for (j = 0; j < p->translate.key.nr_elements; j++) { in build_vertex_emit()1499 assert(key->nr_elements <= TRANSLATE_MAX_ATTRIBS); in translate_sse2_create()1501 for (i = 0; i < key->nr_elements; i++) { in translate_sse2_create()
64 unsigned nr_elements:8; /* max2(nr_inputs, nr_outputs) */ member196 return 2 * sizeof(int) + key->nr_elements * sizeof(struct draw_variant_element); in draw_vs_variant_keysize()
95 fse->key.nr_elements = MAX2(fse->key.nr_outputs, /* outputs - translate to hw format */ in fse_prepare()103 fse->key.nr_elements * sizeof(fse->key.element[0])); in fse_prepare()
322 fetch.nr_elements = key->nr_inputs; in draw_vs_create_variant_generic()336 emit.nr_elements = key->nr_outputs; in draw_vs_create_variant_generic()
115 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
135 key.nr_elements = nr; in draw_pt_fetch_prepare()
148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare()
242 hw_key.nr_elements = vinfo->num_attribs; in vbuf_start_prim()
701 elem_index[type][i] = k->nr_elements; in u_vbuf_translate_begin()703 te = &k->element[k->nr_elements]; in u_vbuf_translate_begin()713 k->nr_elements++; in u_vbuf_translate_begin()718 if (key[type].nr_elements) { in u_vbuf_translate_begin()737 if (elem_index[type][i] < key[type].nr_elements) { in u_vbuf_translate_begin()
270 transkey.nr_elements = 0;295 unsigned j = transkey.nr_elements++;
147 key.nr_elements = 1; in main()
69 transkey.nr_elements = 0; in nv50_vertex_state_create()105 unsigned j = transkey.nr_elements++; in nv50_vertex_state_create()
510 transkey.nr_elements = This->nelems; in NineVertexDeclaration9_ConvertStreamOutput()
527 unsigned nr_elements = in genX() local539 nr_elements++; in genX()550 if (nr_elements == 0) { in genX()617 assert(nr_elements <= 34); in genX()620 assert(nr_elements <= 18); in genX()624 1 + GENX(VERTEX_ELEMENT_STATE_length) * nr_elements); in genX()822 element_index = nr_elements - 1; in genX()
73 transkey.nr_elements = 0; in nvc0_vertex_state_create()118 unsigned j = transkey.nr_elements++; in nvc0_vertex_state_create()