Home
last modified time | relevance | path

Searched refs:min_index (Results 1 - 25 of 55) sorted by relevance

123

/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_minmax_index.c107 GLuint *min_index, GLuint *max_index) in vbo_get_minmax_cached()
149 *min_index = entry->min; in vbo_get_minmax_cached()
235 unsigned *min_index, unsigned *max_index) in vbo_get_minmax_index_mapped()
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()
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()
105 vbo_get_minmax_cached(struct gl_buffer_object *bufferObj, unsigned index_size, GLintptr offset, GLuint count, GLuint *min_index, GLuint *max_index) vbo_get_minmax_cached() argument
232 vbo_get_minmax_index_mapped(unsigned count, unsigned index_size, unsigned restartIndex, bool restart, const void *indices, unsigned *min_index, unsigned *max_index) vbo_get_minmax_index_mapped() argument
323 vbo_get_minmax_index(struct gl_context *ctx, struct gl_buffer_object *obj, const void *ptr, GLintptr offset, unsigned count, unsigned index_size, bool primitive_restart, unsigned restart_index, GLuint *min_index, GLuint *max_index) vbo_get_minmax_index() argument
359 vbo_get_minmax_indices(struct gl_context *ctx, const struct _mesa_prim *prims, const struct _mesa_index_buffer *ib, GLuint *min_index, GLuint *max_index, GLuint nr_prims, bool primitive_restart, unsigned restart_index) vbo_get_minmax_indices() argument
[all...]
H A Dvbo.h228 unsigned *min_index, unsigned *max_index);
233 GLuint *min_index, GLuint *max_index, GLuint nr_prims,
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pt_vsplit_tmp.h32 * Fetch all elements in [min_index, max_index] with bias, and use the
41 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_star in CONCAT()
[all...]
H A Ddraw_vbuf.h91 ushort min_index,
/third_party/mesa3d/src/mesa/main/
H A 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, GLuin in draw_elements_async()
636 draw_elements_async(struct gl_context *ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count, GLint basevertex, GLuint baseinstance, bool index_bounds_valid, GLuint min_index, GLuint max_index) draw_elements_async() argument
678 GLuint min_index; global() member
703 const GLuint min_index = cmd->min_index; _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance() local
743 draw_elements_async_user(struct gl_context *ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count, GLint basevertex, GLuint baseinstance, bool index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_buffer_object *index_buffer, unsigned user_buffer_mask, const struct glthread_attrib_binding *buffers) draw_elements_async_user() argument
775 draw_elements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count, GLint basevertex, GLuint baseinstance, bool index_bounds_valid, GLuint min_index, GLuint max_index, bool compiled_into_dlist) draw_elements() argument
1035 unsigned min_index = ~0; _mesa_marshal_MultiDrawElementsBaseVertex() local
[all...]
H A 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()
H A Dsse_minmax.h32 _mesa_uint_array_min_max(const unsigned *ui_indices, unsigned *min_index,
H A Ddraw.c962 unsigned min_index = 0, max_index = ~0u; in _mesa_draw_gallium_fallback() local
970 min_index = info->min_index; in _mesa_draw_gallium_fallback()
1011 min_index = draws[0].start; in _mesa_draw_gallium_fallback()
1017 info->restart_index, min_index, max_index, in _mesa_draw_gallium_fallback()
1028 min_index = ~0u; in _mesa_draw_gallium_fallback()
1044 min_index = MIN2(min_index, draws[i].start); in _mesa_draw_gallium_fallback()
1068 info->restart_index, min_index, max_index, in _mesa_draw_gallium_fallback()
1318 info.min_index in _mesa_draw_arrays()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/util/
H A 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()
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()
224 util_prim_restart_convert_to_direct(const void *index_map, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draw, unsigned *num_draws, unsigned *min_index, unsigned *max_index, unsigned *total_index_count) util_prim_restart_convert_to_direct() argument
H A Du_vbuf.c62 * Only the [min_index, max_index] range is translated. For instanced attribs,
69 * Only the [min_index, max_index] range is uploaded (just like Translate)
73 * operations where the [min_index, max_index] range is not being way bigger
464 int min_index, boolean unroll_indices) in u_vbuf_translate_buffers()
533 /* Subtract min_index so that indexing with the index buffer works. */ in u_vbuf_translate_buffers()
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()
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 in u_vbuf_draw_vbo()
459 u_vbuf_translate_buffers(struct u_vbuf *mgr, struct translate_key *key, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draw, unsigned vb_mask, unsigned out_vb, int start_vertex, unsigned num_vertices, int min_index, boolean unroll_indices) u_vbuf_translate_buffers() argument
678 u_vbuf_translate_begin(struct u_vbuf *mgr, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draw, int start_vertex, unsigned num_vertices, int min_index, boolean unroll_indices, uint32_t misaligned) u_vbuf_translate_begin() argument
[all...]
H A Du_draw.h62 info.min_index = start; in util_draw_arrays()
112 info.min_index = start; in util_draw_arrays_instanced()
H A Du_prim_restart.h61 unsigned *min_index,
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_helpers.c127 unsigned *min_index, unsigned *max_index) in panfrost_get_index_buffer_bounded()
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()
124 panfrost_get_index_buffer_bounded(struct panfrost_batch *batch, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draw, unsigned *min_index, unsigned *max_index) panfrost_get_index_buffer_bounded() argument
/third_party/mesa3d/src/panfrost/shared/
H A Dpan_minmax_cache.c45 unsigned *min_index, unsigned *max_index) in panfrost_minmax_cache_get()
57 *min_index = hit & 0xffffffff; in panfrost_minmax_cache_get()
69 unsigned min_index, unsigned max_index) in panfrost_minmax_cache_add()
72 uint64_t value = min_index | (((uint64_t)max_index) << 32); in panfrost_minmax_cache_add()
44 panfrost_minmax_cache_get(struct panfrost_minmax_cache *cache, unsigned start, unsigned count, unsigned *min_index, unsigned *max_index) panfrost_minmax_cache_get() argument
68 panfrost_minmax_cache_add(struct panfrost_minmax_cache *cache, unsigned start, unsigned count, unsigned min_index, unsigned max_index) panfrost_minmax_cache_add() argument
H A Dpan_minmax_cache.h43 unsigned *min_index, unsigned *max_index);
47 unsigned min_index, unsigned max_index);
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_swtnl_backend.c168 ushort min_index, in svga_vbuf_render_unmap_vertices()
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()
167 svga_vbuf_render_unmap_vertices(struct vbuf_render *render, ushort min_index, ushort max_index) svga_vbuf_render_unmap_vertices() argument
H A Dsvga_draw_private.h156 unsigned min_index[QSZ]; member
227 unsigned min_index,
239 unsigned min_index,
H A Dsvga_draw_elements.c186 unsigned min_index, unsigned max_index, in svga_hwtnl_simple_draw_range_elements()
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()
183 svga_hwtnl_simple_draw_range_elements(struct svga_hwtnl *hwtnl, struct pipe_resource *index_buffer, unsigned index_size, int index_bias, unsigned min_index, unsigned max_index, enum pipe_prim_type prim, unsigned start, unsigned count, unsigned start_instance, unsigned instance_count, ubyte vertices_per_patch) svga_hwtnl_simple_draw_range_elements() argument
H A 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()
1209 unsigned min_index, unsigned max_index, in check_draw_params()
1231 assert(min_index <= max_index); in check_draw_params()
1300 * min_index/max_index are merely conservative guesses, so we can't in check_draw_params()
1359 unsigned min_index, unsigned max_index, in svga_hwtnl_prim()
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()
997 draw_vgpu10(struct svga_hwtnl *hwtnl, const SVGA3dPrimitiveRange *range, unsigned vcount, unsigned min_index, unsigned max_index, struct pipe_resource *ib, unsigned start_instance, unsigned instance_count, const struct pipe_draw_indirect_info *indirect, const struct pipe_stream_output_target *so_vertex_count) draw_vgpu10() argument
1207 check_draw_params(struct svga_hwtnl *hwtnl, const SVGA3dPrimitiveRange *range, unsigned min_index, unsigned max_index, struct pipe_resource *ib) check_draw_params() argument
1356 svga_hwtnl_prim(struct svga_hwtnl *hwtnl, const SVGA3dPrimitiveRange *range, unsigned vcount, unsigned min_index, unsigned max_index, struct pipe_resource *ib, unsigned start_instance, unsigned instance_count, const struct pipe_draw_indirect_info *indirect, const struct pipe_stream_output_target *so_vertex_count) svga_hwtnl_prim() argument
[all...]
H A Dsvga_swtnl_private.h76 ushort min_index; member
/third_party/node/deps/npm/node_modules/fastest-levenshtein/
H A Dmod.js132 var min_index = 0;
137 min_index = i;
140 return arr[min_index];
/third_party/mesa3d/src/gallium/tools/trace/
H A 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/
H A Dst_draw_feedback.c102 unsigned min_index, in st_feedback_draw_vbo()
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()
95 st_feedback_draw_vbo(struct gl_context *ctx, const struct _mesa_prim *prims, unsigned nr_prims, const struct _mesa_index_buffer *ib, bool index_bounds_valid, bool primitive_restart, unsigned restart_index, unsigned min_index, unsigned max_index, unsigned num_instances, unsigned base_instance) st_feedback_draw_vbo() argument
H A Dst_draw.h59 unsigned min_index,
/third_party/mesa3d/src/gallium/drivers/lima/
H A 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()

Completed in 21 milliseconds

123