Home
last modified time | relevance | path

Searched refs:hwprim (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_prim_vbuf.c68 unsigned hwprim; member
296 i915_render->hwprim = PRIM3D_POINTLIST; in i915_vbuf_render_set_primitive()
300 i915_render->hwprim = PRIM3D_LINELIST; in i915_vbuf_render_set_primitive()
304 i915_render->hwprim = PRIM3D_LINELIST; in i915_vbuf_render_set_primitive()
308 i915_render->hwprim = PRIM3D_LINESTRIP; in i915_vbuf_render_set_primitive()
312 i915_render->hwprim = PRIM3D_TRILIST; in i915_vbuf_render_set_primitive()
316 i915_render->hwprim = PRIM3D_TRISTRIP; in i915_vbuf_render_set_primitive()
320 i915_render->hwprim = PRIM3D_TRIFAN; in i915_vbuf_render_set_primitive()
324 i915_render->hwprim = PRIM3D_TRILIST; in i915_vbuf_render_set_primitive()
328 i915_render->hwprim = PRIM3D_TRILIST; in i915_vbuf_render_set_primitive()
[all …]
Di915_prim_emit.c118 emit_prim(struct draw_stage *stage, struct prim_header *prim, unsigned hwprim, in emit_prim() argument
151 OUT_BATCH(_3DPRIMITIVE | hwprim | ((4 + vertex_size * nr) / 4 - 2)); in emit_prim()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_render.c67 unsigned hwprim = prim_conv[prim]; in r300_translate_primitive() local
69 assert(hwprim != -1); in r300_translate_primitive()
70 return hwprim; in r300_translate_primitive()
921 unsigned hwprim; member
1017 r300render->hwprim = r300_translate_primitive(prim); in r300_render_set_primitive()
1050 r300render->hwprim); in r300_render_draw_arrays()
1089 r300render->hwprim); in r300_render_draw_elements()