Home
last modified time | relevance | path

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

/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.c788 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()
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
196 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_emit.c115 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
Ddraw_pt_fetch.c135 key.nr_elements = nr; in draw_pt_fetch_prepare()
Ddraw_pt_fetch_emit.c148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare()
Ddraw_pipe_vbuf.c242 hw_key.nr_elements = vinfo->num_attribs; in vbuf_start_prim()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c701 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()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c270 transkey.nr_elements = 0;
295 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/frontends/nine/
Dvertexdeclaration9.c510 transkey.nr_elements = This->nelems; in NineVertexDeclaration9_ConvertStreamOutput()
/external/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c527 unsigned nr_elements = in genX() local
539 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()
/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()