Searched refs:nr_elements (Results 1 – 20 of 20) sorted by relevance
126 const unsigned nr_elements = in gen8_emit_vertices() local136 if (nr_elements == 0) { in gen8_emit_vertices()194 assert(nr_elements <= 34); in gen8_emit_vertices()198 BEGIN_BATCH(1 + nr_elements * 2); in gen8_emit_vertices()199 OUT_BATCH((_3DSTATE_VERTEX_ELEMENTS << 16) | (2 * nr_elements - 1)); in gen8_emit_vertices()334 element_index = nr_elements - 1; in gen8_emit_vertices()
881 unsigned nr_elements = brw->vb.nr_enabled; in brw_emit_vertices() local884 ++nr_elements; in brw_emit_vertices()886 nr_elements++; in brw_emit_vertices()898 nr_elements += extra_uploads; in brw_emit_vertices()907 if (nr_elements == 0) { in brw_emit_vertices()987 assert(nr_elements <= 34); in brw_emit_vertices()989 assert(nr_elements <= 18); in brw_emit_vertices()994 BEGIN_BATCH(1 + nr_elements * 2); in brw_emit_vertices()995 OUT_BATCH((_3DSTATE_VERTEX_ELEMENTS << 16) | (2 * nr_elements - 1)); in brw_emit_vertices()
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()
778 assert(key->nr_elements <= TRANSLATE_MAX_ATTRIBS); in translate_generic_create()788 for (i = 0; i < key->nr_elements; i++) { in translate_generic_create()845 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) */ member195 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()
135 key.nr_elements = nr; in draw_pt_fetch_prepare()
115 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare()
260 hw_key.nr_elements = vinfo->num_attribs; in vbuf_start_prim()
654 elem_index[type][i] = k->nr_elements; in u_vbuf_translate_begin()656 te = &k->element[k->nr_elements]; in u_vbuf_translate_begin()666 k->nr_elements++; in u_vbuf_translate_begin()671 if (key[type].nr_elements) { in u_vbuf_translate_begin()691 if (elem_index[type][i] < key[type].nr_elements) { in u_vbuf_translate_begin()
271 transkey.nr_elements = 0;296 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()
73 transkey.nr_elements = 0; in nvc0_vertex_state_create()118 unsigned j = transkey.nr_elements++; in nvc0_vertex_state_create()
1769 Int nr_elements) in write_snapshots_to_file() argument1781 for (i = 0; i < nr_elements; i++) { in write_snapshots_to_file()