Home
last modified time | relevance | path

Searched refs:min_index (Results 1 – 25 of 60) sorted by relevance

123

/third_party/mesa3d/src/mesa/vbo/
Dvbo_minmax_index.c107 GLuint *min_index, GLuint *max_index) in vbo_get_minmax_cached() argument
149 *min_index = entry->min; in vbo_get_minmax_cached()
235 unsigned *min_index, unsigned *max_index) in vbo_get_minmax_index_mapped() argument
262 *min_index = min_ui; in vbo_get_minmax_index_mapped()
284 *min_index = min_us; in vbo_get_minmax_index_mapped()
306 *min_index = min_ub; in vbo_get_minmax_index_mapped()
326 unsigned restart_index, GLuint *min_index, in vbo_get_minmax_index() argument
336 if (vbo_get_minmax_cached(obj, index_size, offset, count, min_index, in vbo_get_minmax_index()
346 min_index, max_index); in vbo_get_minmax_index()
349 vbo_minmax_cache_store(ctx, obj, index_size, offset, count, *min_index, in vbo_get_minmax_index()
[all …]
Dvbo.h228 unsigned *min_index, unsigned *max_index);
233 GLuint *min_index, GLuint *max_index, GLuint nr_prims,
Dvbo_save.h96 GLuint min_index, max_index; member
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit_tmp.h41 const unsigned min_index = draw->pt.user.min_index; in CONCAT() local
57 if (min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0])) { in CONCAT()
63 if (idx < min_index || idx > max_index) { in CONCAT()
76 if (max_index - min_index > icount - 1) in CONCAT()
79 if (elt_bias < 0 && (int) min_index < -elt_bias) in CONCAT()
88 fetch_start = min_index + elt_bias; in CONCAT()
89 fetch_count = max_index - min_index + 1; in CONCAT()
92 if (fetch_start < min_index || fetch_start < elt_bias) in CONCAT()
96 if (min_index == 0) { in CONCAT()
100 if (idx < min_index || idx > max_index) { in CONCAT()
[all …]
Ddraw_vbuf.h91 ushort min_index,
/third_party/mesa3d/src/mesa/main/
Dglthread_draw.c522 unsigned min_index = ~0; in _mesa_marshal_MultiDrawArrays() local
536 min_index = MIN2(min_index, first[i]); in _mesa_marshal_MultiDrawArrays()
540 unsigned num_vertices = max_index_exclusive - min_index; in _mesa_marshal_MultiDrawArrays()
549 if (!upload_vertices(ctx, user_buffer_mask, min_index, num_vertices, in _mesa_marshal_MultiDrawArrays()
611 GLuint min_index; member
626 const GLuint min_index = cmd->min_index; in _mesa_unmarshal_DrawRangeElementsBaseVertex() local
630 (mode, min_index, max_index, count, in _mesa_unmarshal_DrawRangeElementsBaseVertex()
639 bool index_bounds_valid, GLuint min_index, GLuint max_index) in draw_elements_async() argument
651 cmd->min_index = min_index; in draw_elements_async()
678 GLuint min_index; member
[all …]
Dsse_minmax.c34 _mesa_uint_array_min_max(const unsigned *ui_indices, unsigned *min_index, in _mesa_uint_array_min_max() argument
93 *min_index = min_ui; in _mesa_uint_array_min_max()
Dsse_minmax.h32 _mesa_uint_array_min_max(const unsigned *ui_indices, unsigned *min_index,
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c176 unsigned min_index, max_index; member
210 info->min_index = MIN2(info->min_index, start); in add_range()
228 unsigned *min_index, in util_prim_restart_convert_to_direct() argument
232 struct range_info ranges = { .min_index = UINT32_MAX, 0 }; in util_prim_restart_convert_to_direct()
234 ranges.min_index = UINT32_MAX; in util_prim_restart_convert_to_direct()
275 *min_index = ranges.min_index; in util_prim_restart_convert_to_direct()
345 &new_info.min_index, &new_info.max_index, in util_draw_vbo_without_prim_restart()
Du_vbuf.c464 int min_index, boolean unroll_indices) in u_vbuf_translate_buffers() argument
535 map -= (ptrdiff_t)vb->stride * min_index; in u_vbuf_translate_buffers()
682 int min_index, boolean unroll_indices, in u_vbuf_translate_begin() argument
801 start[type], num[type], min_index, in u_vbuf_translate_begin()
1465 unsigned min_index; in u_vbuf_draw_vbo() local
1584 new_info.min_index = ~0u; in u_vbuf_draw_vbo()
1621 new_info.min_index = MIN2(new_info.min_index, min); in u_vbuf_draw_vbo()
1683 min_index = new_info.min_index; in u_vbuf_draw_vbo()
1687 &min_index, &max_index); in u_vbuf_draw_vbo()
1690 assert(min_index <= max_index); in u_vbuf_draw_vbo()
[all …]
Du_draw.h62 info.min_index = start; in util_draw_arrays()
112 info.min_index = start; in util_draw_arrays_instanced()
Du_prim_restart.h61 unsigned *min_index,
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_helpers.c127 unsigned *min_index, unsigned *max_index) in panfrost_get_index_buffer_bounded() argument
134 *min_index = info->min_index; in panfrost_get_index_buffer_bounded()
142 min_index, in panfrost_get_index_buffer_bounded()
148 u_vbuf_get_minmax_index(&ctx->base, info, draw, min_index, max_index); in panfrost_get_index_buffer_bounded()
153 *min_index, *max_index); in panfrost_get_index_buffer_bounded()
/third_party/mesa3d/src/panfrost/shared/
Dpan_minmax_cache.c45 unsigned *min_index, unsigned *max_index) in panfrost_minmax_cache_get() argument
57 *min_index = hit & 0xffffffff; in panfrost_minmax_cache_get()
69 unsigned min_index, unsigned max_index) in panfrost_minmax_cache_add() argument
72 uint64_t value = min_index | (((uint64_t)max_index) << 32); in panfrost_minmax_cache_add()
Dpan_minmax_cache.h43 unsigned *min_index, unsigned *max_index);
47 unsigned min_index, unsigned max_index);
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_backend.c168 ushort min_index, in svga_vbuf_render_unmap_vertices() argument
179 offset = svga_render->vbuf_offset + svga_render->vertex_size * min_index; in svga_vbuf_render_unmap_vertices()
180 length = svga_render->vertex_size * (max_index + 1 - min_index); in svga_vbuf_render_unmap_vertices()
197 svga_render->min_index = min_index; in svga_vbuf_render_unmap_vertices()
333 .min_index = svga_render->min_index, in svga_vbuf_render_draw_elements()
Dsvga_draw_private.h156 unsigned min_index[QSZ]; member
227 unsigned min_index,
239 unsigned min_index,
Dsvga_draw_elements.c186 unsigned min_index, unsigned max_index, in svga_hwtnl_simple_draw_range_elements() argument
210 min_index, max_index, index_buffer, in svga_hwtnl_simple_draw_range_elements()
282 info->index_bounds_valid ? info->min_index : 0, in svga_hwtnl_draw_range_elements()
310 info->index_bounds_valid ? info->min_index : 0, in svga_hwtnl_draw_range_elements()
Dsvga_draw.c298 vdecl[i].rangeHint.first = hwtnl->cmd.min_index[0]; in draw_vgpu9()
1000 unsigned min_index, unsigned max_index, in draw_vgpu10() argument
1209 unsigned min_index, unsigned max_index, in check_draw_params() argument
1231 assert(min_index <= max_index); in check_draw_params()
1359 unsigned min_index, unsigned max_index, in svga_hwtnl_prim() argument
1371 SVGA_RETRY(hwtnl->svga, draw_vgpu10(hwtnl, range, vcount, min_index, in svga_hwtnl_prim()
1380 check_draw_params(hwtnl, range, min_index, max_index, ib); in svga_hwtnl_prim()
1394 hwtnl->cmd.min_index[hwtnl->cmd.prim_count] = min_index; in svga_hwtnl_prim()
Dsvga_swtnl_private.h76 ushort min_index; member
/third_party/mesa3d/src/gallium/tools/trace/
Ddump_state.py513 max_index, min_index = 0, 0xffffffff
524 min_index = min(min_index, index)
529 return min_index + info.index_bias, max_index + info.index_bias
604 min_index, max_index = self._merge_indices(info)
606 min_index = draws[0].start
608 self._merge_vertices(min_index, max_index - min_index + 1)
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c102 unsigned min_index, in st_feedback_draw_vbo() argument
136 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims, in st_feedback_draw_vbo()
208 info.min_index = min_index; in st_feedback_draw_vbo()
455 info.min_index = d.start; in st_feedback_draw_vbo()
Dst_draw.h59 unsigned min_index,
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c326 unsigned num = info->index_size ? (ctx->max_index - ctx->min_index + 1) : draw->count; in lima_pack_vs_cmd()
418 PLBU_CMD_DRAW_ELEMENTS(info->mode, ctx->min_index, draw->count); in lima_pack_plbu_cmd()
838 unsigned start = info->index_size ? (ctx->min_index + draw->index_bias) : draw->start; in lima_update_gp_attribute_info()
938 unsigned num = info->index_size ? (ctx->max_index - ctx->min_index + 1) : draw->count; in lima_update_varying()
1082 ctx->min_index = info->min_index; in lima_draw_vbo_indexed()
1095 draw->count, &ctx->min_index, &ctx->max_index); in lima_draw_vbo_indexed()
1099 u_vbuf_get_minmax_index(pctx, info, draw, &ctx->min_index, &ctx->max_index); in lima_draw_vbo_indexed()
1102 ctx->min_index, ctx->max_index); in lima_draw_vbo_indexed()
/third_party/mesa3d/src/util/indices/
Du_primconvert.c134 new_info->min_index = info->min_index; in primconvert_init_draw()
170 … &new_info->min_index, &new_info->max_index, &total_index_count); in primconvert_init_draw()

123