Home
last modified time | relevance | path

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

123

/third_party/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.h85 info.has_user_indices = true; in util_draw_elements()
138 info.has_user_indices = true; in util_draw_elements_instanced()
Du_prim_restart.c139 if (info->has_user_indices) in util_translate_prim_restart_ib()
323 if (!info->has_user_indices) { in util_draw_vbo_without_prim_restart()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_helpers.c106 if (!info->has_user_indices) { in panfrost_get_index_buffer_bounded()
134 if (!info->has_user_indices) in panfrost_get_index_buffer_bounded()
/third_party/mesa3d/src/mesa/main/
Dglthread_draw.c777 bool has_user_indices = vao->CurrentElementBufferName == 0; in draw_elements() local
790 (!user_buffer_mask && !has_user_indices)) { in draw_elements()
810 if (!has_user_indices) in draw_elements()
839 if (has_user_indices) in draw_elements()
992 bool has_user_indices = vao->CurrentElementBufferName == 0; in _mesa_marshal_MultiDrawElementsBaseVertex() local
1001 (!user_buffer_mask && !has_user_indices))) { in _mesa_marshal_MultiDrawElementsBaseVertex()
1017 (need_index_bounds && !has_user_indices)) in _mesa_marshal_MultiDrawElementsBaseVertex()
1070 } else if (has_user_indices) { in _mesa_marshal_MultiDrawElementsBaseVertex()
1104 if (has_user_indices) { in _mesa_marshal_MultiDrawElementsBaseVertex()
Ddraw.c980 (info->index_size && info->has_user_indices && in _mesa_draw_gallium_fallback()
989 if (info->has_user_indices) { in _mesa_draw_gallium_fallback()
1006 prim.start = index_size && info->has_user_indices ? 0 : draws[i].start; in _mesa_draw_gallium_fallback()
1058 if (info->has_user_indices) { in _mesa_draw_gallium_fallback()
1304 info.has_user_indices = false; in _mesa_draw_arrays()
1631 info.has_user_indices = false; in _mesa_MultiDrawArrays()
1747 info.has_user_indices = index_bo == NULL; in _mesa_validated_drawrangeelements()
1758 if (info.has_user_indices) { in _mesa_validated_drawrangeelements()
2133 info.has_user_indices = index_bo == NULL; in _mesa_validated_multidrawelements()
2144 if (info.has_user_indices) in _mesa_validated_multidrawelements()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c84 if (!info->has_user_indices) in translate_indices()
266 if (info->has_user_indices) { in svga_hwtnl_draw_range_elements()
Dsvga_swtnl_draw.c88 if (info->has_user_indices) { in svga_swtnl_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_push.c229 if (!info->has_user_indices) in nv30_push_vbo()
281 if (info->index_size && !info->has_user_indices) in nv30_push_vbo()
Dnv30_vbo.c477 !info->has_user_indices) {
514 if (!info->has_user_indices)
610 if (!nv30->base.vbo_dirty && info->index_size && !info->has_user_indices &&
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_draw_arrays.c113 mapped_indices = info->has_user_indices ? info->index.user : NULL; in softpipe_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.h123 assert(!info->has_user_indices); in fd5_draw_emit()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.h154 assert(!info->has_user_indices); in fd_draw_emit()
Dfreedreno_draw.c304 if (info->has_user_indices) { in fd_draw_vbo()
314 new_info.has_user_indices = false; in fd_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.h129 assert(!info->has_user_indices); in fd4_draw_emit()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_draw_arrays.c99 mapped_indices = info->has_user_indices ? info->index.user : NULL; in llvmpipe_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_render.c592 info->has_user_indices ? NULL : info->index.resource; in r300_draw_elements()
629 if (info->has_user_indices) in r300_draw_elements()
830 if (draw.count <= 8 && info.has_user_indices) { in r300_draw_vbo()
881 info->has_user_indices ? in r300_swtcl_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_draw.c378 if (info->has_user_indices) { in vc4_draw_vbo()
424 if (info->index_size == 4 || info->has_user_indices) in vc4_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_context.c97 mapped_indices = info->has_user_indices ? info->index.user : NULL; in i915_draw_vbo()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c213 info.has_user_indices = true; in st_feedback_draw_vbo()
224 info.has_user_indices = false; in st_feedback_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo.c720 if (!info->has_user_indices) { in nvc0_draw_elements()
836 assert(!info->has_user_indices); in nvc0_draw_indirect()
986 if (info->index_size && !info->has_user_indices) { in nvc0_draw_vbo()
1100 if (!nvc0->base.vbo_dirty && info->index_size && !info->has_user_indices && in nvc0_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c272 indexbuf = info->has_user_indices ? NULL : info->index.resource; in etna_draw_vbo()
273 if (info->has_user_indices && in etna_draw_vbo()
/third_party/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c174 src = info->has_user_indices ? info->index.user : NULL; in util_primconvert_draw_vbo()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h839 bool has_user_indices:1; /**< if true, use index.user_buffer */ member
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c2098 …struct pipe_resource *indexbuf = !info->index_size || info->has_user_indices ? NULL : info->index.… in r600_draw_vbo()
2101 bool has_user_indices = info->index_size && info->has_user_indices; in r600_draw_vbo() local
2217 has_user_indices = false; in r600_draw_vbo()
2225 if (has_user_indices && (R600_BIG_ENDIAN || indirect || in r600_draw_vbo()
2235 has_user_indices = false; in r600_draw_vbo()
2266 r600_need_cs_space(rctx, has_user_indices ? 5 : 0, TRUE, util_bitcount(atomic_used_mask)); in r600_draw_vbo()
2373 if (has_user_indices) { in r600_draw_vbo()

123