Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h66 unsigned nr_elements; member
123 return 2 * sizeof(int) + key->nr_elements * sizeof(struct translate_element); in translate_keysize()
Dtranslate_cache.c76 sizeof(struct translate_element) * (PIPE_MAX_ATTRIBS - key->nr_elements); in translate_hash_key_size()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
Dtranslate.h66 unsigned nr_elements; member
123 return 2 * sizeof(int) + key->nr_elements * sizeof(struct translate_element); in translate_keysize()
Dtranslate_cache.c76 sizeof(struct translate_element) * (PIPE_MAX_ATTRIBS - key->nr_elements); in translate_hash_key_size()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs.h64 unsigned nr_elements:8; /* max2(nr_inputs, nr_outputs) */ member
199 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.c293 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()
Ddraw_pt_emit.c106 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
Ddraw_pt_fetch.c137 key.nr_elements = nr; in draw_pt_fetch_prepare()
Ddraw_pt_fetch_emit.c148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_vs.h64 unsigned nr_elements:8; /* max2(nr_inputs, nr_outputs) */ member
199 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.c293 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()
Ddraw_pt_fetch.c137 key.nr_elements = nr; in draw_pt_fetch_prepare()
Ddraw_pt_emit.c106 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.c252 hw_key.nr_elements = vbuf->vinfo->num_attribs; in vbuf_start_prim()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c573 GLuint i, nr_elements; in brw_emit_vertices() local
656 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()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c573 GLuint i, nr_elements; in brw_emit_vertices() local
656 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()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_vbuf.c504 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()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c504 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()
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c146 key.nr_elements = 1; in main()
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
Dtranslate_test.c146 key.nr_elements = 1; in main()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_vbo.c264 transkey.nr_elements = 0; in nv30_vertex_state_create()
288 unsigned j = transkey.nr_elements++; in nv30_vertex_state_create()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
Dnv30_vbo.c264 transkey.nr_elements = 0; in nv30_vertex_state_create()
288 unsigned j = transkey.nr_elements++; in nv30_vertex_state_create()

12