Searched refs:nr_elements (Results 1 – 18 of 18) sorted by relevance
66 unsigned nr_elements; member123 return 2 * sizeof(int) + key->nr_elements * sizeof(struct translate_element); in translate_keysize()
76 sizeof(struct translate_element) * (PIPE_MAX_ATTRIBS - key->nr_elements); in translate_hash_key_size()
804 for (i = 0; i < key->nr_elements; i++) { in translate_generic_create()859 tg->nr_attrib = key->nr_elements; in translate_generic_create()
1348 for (j = 0; j < p->translate.key.nr_elements; j++) { in build_vertex_emit()1473 for (i = 0; i < key->nr_elements; i++) { in translate_sse2_create()
64 unsigned nr_elements:8; /* max2(nr_inputs, nr_outputs) */ member199 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()
293 fetch.nr_elements = key->nr_inputs; in draw_vs_create_variant_generic()307 emit.nr_elements = key->nr_outputs; in draw_vs_create_variant_generic()
137 key.nr_elements = nr; in draw_pt_fetch_prepare()
106 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare()
252 hw_key.nr_elements = vbuf->vinfo->num_attribs; in vbuf_start_prim()
573 GLuint i, nr_elements; in brw_emit_vertices() local656 nr_elements = brw->vb.nr_enabled + brw->vs.prog_data->uses_vertexid; in brw_emit_vertices()662 assert(nr_elements <= 34); in brw_emit_vertices()664 assert(nr_elements <= 18); in brw_emit_vertices()669 BEGIN_BATCH(1 + nr_elements * 2); in brw_emit_vertices()670 OUT_BATCH((_3DSTATE_VERTEX_ELEMENTS << 16) | (2 * nr_elements - 1)); in brw_emit_vertices()
504 elem_index[type][i] = k->nr_elements; in u_vbuf_translate_begin()506 te = &k->element[k->nr_elements]; in u_vbuf_translate_begin()516 k->nr_elements++; in u_vbuf_translate_begin()521 if (key[type].nr_elements) { in u_vbuf_translate_begin()541 if (elem_index[type][i] < key[type].nr_elements) { in u_vbuf_translate_begin()
264 transkey.nr_elements = 0; in nv30_vertex_state_create()288 unsigned j = transkey.nr_elements++; in nv30_vertex_state_create()
146 key.nr_elements = 1; in main()
68 transkey.nr_elements = 0; in nv50_vertex_state_create()100 unsigned j = transkey.nr_elements++; in nv50_vertex_state_create()
72 transkey.nr_elements = 0; in nvc0_vertex_state_create()113 unsigned j = transkey.nr_elements++; in nvc0_vertex_state_create()
2261 Int nr_elements) in write_snapshots_to_file() argument2299 for (i = 0; i < nr_elements; i++) { in write_snapshots_to_file()