Home
last modified time | relevance | path

Searched refs:nr_elements (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen8_draw_upload.c126 const unsigned nr_elements = in gen8_emit_vertices() local
136 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()
Dbrw_draw_upload.c881 unsigned nr_elements = brw->vb.nr_enabled; in brw_emit_vertices() local
884 ++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()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h74 unsigned nr_elements; member
135 return 2 * sizeof(int) + key->nr_elements * sizeof(struct translate_element); in translate_keysize()
Dtranslate_cache.c76 sizeof(struct translate_element) * (TRANSLATE_MAX_ATTRIBS - key->nr_elements); in translate_hash_key_size()
Dtranslate_generic.c778 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()
Dtranslate_sse.c1381 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()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs.h64 unsigned nr_elements:8; /* max2(nr_inputs, nr_outputs) */ member
195 return 2 * sizeof(int) + key->nr_elements * sizeof(struct draw_variant_element); in draw_vs_variant_keysize()
Ddraw_pt_fetch_shade_emit.c95 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()
Ddraw_vs_variant.c322 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()
Ddraw_pt_fetch.c135 key.nr_elements = nr; in draw_pt_fetch_prepare()
Ddraw_pt_emit.c115 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
Ddraw_pt_fetch_emit.c148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare()
Ddraw_pipe_vbuf.c260 hw_key.nr_elements = vinfo->num_attribs; in vbuf_start_prim()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c654 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()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c271 transkey.nr_elements = 0;
296 unsigned j = transkey.nr_elements++;
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c147 key.nr_elements = 1; in main()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c69 transkey.nr_elements = 0; in nv50_vertex_state_create()
105 unsigned j = transkey.nr_elements++; in nv50_vertex_state_create()
/external/mesa3d/src/gallium/state_trackers/nine/
Dvertexdeclaration9.c510 transkey.nr_elements = This->nelems; in NineVertexDeclaration9_ConvertStreamOutput()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo.c73 transkey.nr_elements = 0; in nvc0_vertex_state_create()
118 unsigned j = transkey.nr_elements++; in nvc0_vertex_state_create()
/external/valgrind/massif/
Dms_main.c1769 Int nr_elements) in write_snapshots_to_file() argument
1781 for (i = 0; i < nr_elements; i++) { in write_snapshots_to_file()