Home
last modified time | relevance | path

Searched refs:has_user_indices (Results 1 – 25 of 47) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/util/
Du_index_modify.c42 if (info->has_user_indices) { in util_shorten_ubyte_elts_to_userptr()
76 if (info->has_user_indices) { in util_rebuild_ushort_elts_to_userptr()
110 if (info->has_user_indices) { in util_rebuild_uint_elts_to_userptr()
Du_draw.h81 info.has_user_indices = true; in util_draw_elements()
128 info.has_user_indices = true; in util_draw_elements_instanced()
Du_prim_restart.c136 if (info->has_user_indices) in util_translate_prim_restart_ib()
246 if (!info->has_user_indices) { in util_draw_vbo_without_prim_restart()
/external/mesa3d/src/mesa/main/
Dglthread_draw.c607 bool has_user_indices = vao->CurrentElementBufferName == 0; in draw_elements() local
620 (!user_buffer_mask && !has_user_indices)) { in draw_elements()
640 if (!has_user_indices) in draw_elements()
669 if (has_user_indices) in draw_elements()
820 bool has_user_indices = vao->CurrentElementBufferName == 0; in _mesa_marshal_MultiDrawElementsBaseVertex() local
829 (!user_buffer_mask && !has_user_indices))) { in _mesa_marshal_MultiDrawElementsBaseVertex()
845 (need_index_bounds && !has_user_indices)) in _mesa_marshal_MultiDrawElementsBaseVertex()
898 } else if (has_user_indices) { in _mesa_marshal_MultiDrawElementsBaseVertex()
932 if (has_user_indices) { in _mesa_marshal_MultiDrawElementsBaseVertex()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c203 info.has_user_indices = false; in st_draw_vbo()
215 info.has_user_indices = true; in st_draw_vbo()
223 info.has_user_indices = false; in st_draw_vbo()
Dst_draw_feedback.c210 info.has_user_indices = true; in st_feedback_draw_vbo()
223 info.has_user_indices = false; in st_feedback_draw_vbo()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c83 if (!info->has_user_indices) in translate_indices()
264 if (info->has_user_indices) { in svga_hwtnl_draw_range_elements()
Dsvga_swtnl_draw.c85 if (info->has_user_indices) { in svga_swtnl_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_push.c228 if (!info->has_user_indices) in nv30_push_vbo()
280 if (info->index_size && !info->has_user_indices) in nv30_push_vbo()
Dnv30_vbo.c476 !info->has_user_indices) {
513 if (!info->has_user_indices)
591 if (!nv30->base.vbo_dirty && info->index_size && !info->has_user_indices &&
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_draw_arrays.c101 mapped_indices = info->has_user_indices ? info->index.user : NULL; in softpipe_draw_vbo()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.h125 assert(!info->has_user_indices); in fd5_draw_emit()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.h130 assert(!info->has_user_indices); in fd4_draw_emit()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.h156 assert(!info->has_user_indices); in fd_draw_emit()
Dfreedreno_draw.c250 if (info->has_user_indices) { in fd_draw_vbo()
255 new_info.has_user_indices = false; in fd_draw_vbo()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_draw_arrays.c92 mapped_indices = info->has_user_indices ? info->index.user : NULL; in llvmpipe_draw_vbo()
/external/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c130 src = info->has_user_indices ? info->index.user : NULL; in util_primconvert_draw_vbo()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c588 info->has_user_indices ? NULL : info->index.resource; in r300_draw_elements()
625 if (info->has_user_indices) in r300_draw_elements()
813 if (info.count <= 8 && info.has_user_indices) { in r300_draw_vbo()
854 info->has_user_indices ? in r300_swtcl_draw_vbo()
/external/mesa3d/src/gallium/drivers/i915/
Di915_context.c90 mapped_indices = info->has_user_indices ? info->index.user : NULL; in i915_draw_vbo()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_draw.c380 if (info->has_user_indices) { in vc4_draw_vbo()
425 if (info->index_size == 4 || info->has_user_indices) in vc4_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo.c719 if (!info->has_user_indices) { in nvc0_draw_elements()
832 assert(!info->has_user_indices); in nvc0_draw_indirect()
965 if (info->index_size && !info->has_user_indices) { in nvc0_draw_vbo()
1079 if (!nvc0->base.vbo_dirty && info->index_size && !info->has_user_indices && in nvc0_draw_vbo()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c266 indexbuf = info->has_user_indices ? NULL : info->index.resource; in etna_draw_vbo()
267 if (info->has_user_indices && in etna_draw_vbo()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h746 bool has_user_indices:1; /**< if true, use index.user_buffer */ member
/external/mesa3d/src/gallium/drivers/zink/
Dzink_draw.c279 if (dinfo->has_user_indices) { in zink_draw_vbo()
541 if (dinfo->index_size > 0 && (dinfo->has_user_indices || need_index_buffer_unref)) in zink_draw_vbo()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c2058 struct pipe_resource *indexbuf = info->has_user_indices ? NULL : info->index.resource; in r600_draw_vbo()
2061 bool has_user_indices = info->has_user_indices; in r600_draw_vbo() local
2171 has_user_indices = false; in r600_draw_vbo()
2179 if (has_user_indices && (R600_BIG_ENDIAN || info->indirect || in r600_draw_vbo()
2186 has_user_indices = false; in r600_draw_vbo()
2214 r600_need_cs_space(rctx, has_user_indices ? 5 : 0, TRUE, util_bitcount(atomic_used_mask)); in r600_draw_vbo()
2321 if (has_user_indices) { in r600_draw_vbo()

12