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

123456

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dsse_minmax.h32 _mesa_uint_array_min_max(const unsigned *ui_indices, unsigned *min_index,
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dsse_minmax.h32 _mesa_uint_array_min_max(const unsigned *ui_indices, unsigned *min_index,
/xsrc/external/mit/MesaLib/dist/src/panfrost/shared/
H A Dpan_minmax_cache.h43 unsigned *min_index, unsigned *max_index);
47 unsigned min_index, unsigned max_index);
H A Dpan_minmax_cache.c45 unsigned *min_index, unsigned *max_index)
57 *min_index = hit & 0xffffffff;
69 unsigned min_index, unsigned max_index)
72 uint64_t value = min_index | (((uint64_t)max_index) << 32);
44 panfrost_minmax_cache_get(struct panfrost_minmax_cache * cache,unsigned start,unsigned count,unsigned * min_index,unsigned * max_index) argument
68 panfrost_minmax_cache_add(struct panfrost_minmax_cache * cache,unsigned start,unsigned count,unsigned min_index,unsigned max_index) argument
/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_rebase.h35 GLuint min_index,
H A Dt_rebase.c45 * indices of a draw call so that it can be re-issued with a min_index
63 TYPE min_index ) \
75 tmp_indices[i] = in[i] - min_index; \
87 /* Adjust primitives, indices and vertex definitions so that min_index
91 * - any time min_index != 0, otherwise unused vertices lower than
92 * min_index will be transformed.
95 * - if ib != NULL and min_index != 0, otherwise vertices lower than
96 * min_index will be uploaded. Requires adjusting index values.
98 * - if ib == NULL and min_index != 0, just for convenience so this doesn't
111 GLuint min_index,
[all...]
H A Dt_split.c107 GLuint min_index,
124 else if (max_index - min_index >= limits->max_verts) {
138 min_index, max_index, draw, limits);
146 if (max_index - min_index >= limits->max_verts) {
152 min_index, max_index, draw, limits);
102 _tnl_split_prims(struct gl_context * ctx,const struct tnl_vertex_array arrays[],const struct _mesa_prim * prim,GLuint nr_prims,const struct _mesa_index_buffer * ib,GLuint min_index,GLuint max_index,tnl_draw_func draw,const struct split_limits * limits) argument
H A Dt_split_inplace.c50 GLuint min_index; member in struct:split_context
77 ib.count = split->max_index - split->min_index + 1;
79 split->min_index * ib.index_size);
83 split->dstprim[i].start -= split->min_index;
86 assert(split->max_index >= split->min_index);
94 split->min_index,
99 split->min_index = ~0;
123 split->min_index = MIN2(split->min_index, prim->start);
136 if ((prim->start > split->min_index
267 _tnl_split_inplace(struct gl_context * ctx,const struct tnl_vertex_array * arrays,const struct _mesa_prim * prim,GLuint nr_prims,const struct _mesa_index_buffer * ib,GLuint min_index,GLuint max_index,tnl_draw_func draw,const struct split_limits * limits) argument
[all...]
H A Dtnl.h108 GLuint min_index,
118 GLboolean index_bounds_valid, GLuint min_index, GLuint max_index,
158 * \param index_bounds_valid are min_index and max_index valid?
159 * \param min_index lowest vertex index used
175 GLuint min_index,
202 GLuint min_index,
H A Dt_split.h58 GLuint min_index,
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_rebase.c45 * indices of a draw call so that it can be re-issued with a min_index
64 TYPE min_index) \
75 tmp_indices[start + i] = in[start + i] - min_index; \
85 /* Adjust primitives, indices and vertex definitions so that min_index
89 * - any time min_index != 0, otherwise unused vertices lower than
90 * min_index will be transformed.
93 * - if ib != NULL and min_index != 0, otherwise vertices lower than
94 * min_index will be uploaded. Requires adjusting index values.
96 * - if ib == NULL and min_index != 0, just for convenience so this doesn't
109 GLuint min_index,
[all...]
H A Dt_rebase.h35 GLuint min_index,
H A Dt_split_inplace.c50 GLuint min_index; member in struct:split_context
79 ib.count = split->max_index - split->min_index + 1;
81 (split->min_index << ib.index_size_shift));
85 split->dstprim[i].start -= split->min_index;
88 assert(split->max_index >= split->min_index);
96 split->min_index,
102 split->min_index = ~0;
126 split->min_index = MIN2(split->min_index, prim->start);
139 if ((prim->start > split->min_index
[all...]
H A Dtnl.h108 GLuint min_index,
118 unsigned restart_index, unsigned min_index, unsigned max_index,
157 * \param index_bounds_valid are min_index and max_index valid?
158 * \param min_index lowest vertex index used
174 GLuint min_index,
200 GLuint min_index,
H A Dt_split.c107 GLuint min_index,
126 else if (max_index - min_index >= limits->max_verts) {
148 if (max_index - min_index >= limits->max_verts) {
102 _tnl_split_prims(struct gl_context * ctx,const struct tnl_vertex_array arrays[],const struct _mesa_prim * prim,GLuint nr_prims,const struct _mesa_index_buffer * ib,GLuint min_index,GLuint max_index,GLuint num_instances,GLuint base_instance,tnl_draw_func draw,const struct split_limits * limits) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
H A Dpan_helpers.c92 unsigned *min_index, unsigned *max_index)
101 *min_index = info->min_index;
115 min_index,
132 u_vbuf_get_minmax_index(&ctx->base, info, draw, min_index, max_index);
137 *min_index, *max_index);
89 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) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
H A Dvbo_minmax_index.c108 GLuint *min_index, GLuint *max_index)
150 *min_index = entry->min;
236 unsigned *min_index, unsigned *max_index)
263 *min_index = min_ui;
285 *min_index = min_us;
307 *min_index = min_ub;
327 unsigned restart_index, GLuint *min_index,
337 if (vbo_get_minmax_cached(obj, index_size, offset, count, min_index,
347 min_index, max_index);
350 vbo_minmax_cache_store(ctx, obj, index_size, offset, count, *min_index,
106 vbo_get_minmax_cached(struct gl_buffer_object * bufferObj,unsigned index_size,GLintptr offset,GLuint count,GLuint * min_index,GLuint * max_index) argument
233 vbo_get_minmax_index_mapped(unsigned count,unsigned index_size,unsigned restartIndex,bool restart,const void * indices,unsigned * min_index,unsigned * max_index) argument
324 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) argument
360 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) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/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; local in function:CONCAT
57 if (min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0])) {
63 if (idx < min_index || idx > max_index) {
76 if (max_index - min_index > icount - 1)
79 if (elt_bias < 0 && (int) min_index < -elt_bias)
88 fetch_start = min_index + elt_bias;
89 fetch_count = max_index - min_index + 1;
92 if (fetch_start < min_index || fetch_star
[all...]
/xsrc/external/mit/MesaLib/dist/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; local in function:CONCAT
57 if (min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0])) {
63 if (idx < min_index || idx > max_index) {
76 if (max_index - min_index > icount - 1)
79 if (elt_bias < 0 && (int) min_index < -elt_bias)
88 fetch_start = min_index + elt_bias;
89 fetch_count = max_index - min_index + 1;
92 if (fetch_start < min_index || fetch_star
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_draw_private.h147 unsigned min_index[QSZ]; member in struct:draw_cmd
218 unsigned min_index,
228 unsigned min_index,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/
H A Dvbo_minmax_index.c106 GLuint *min_index, GLuint *max_index)
148 *min_index = entry->min;
240 GLuint *min_index, GLuint *max_index,
255 count, min_index, max_index))
289 *min_index = min_ui;
311 *min_index = min_us;
333 *min_index = min_ub;
343 count, *min_index, *max_index);
355 GLuint *min_index,
363 *min_index
104 vbo_get_minmax_cached(struct gl_buffer_object * bufferObj,unsigned index_size,GLintptr offset,GLuint count,GLuint * min_index,GLuint * max_index) argument
237 vbo_get_minmax_index(struct gl_context * ctx,const struct _mesa_prim * prim,const struct _mesa_index_buffer * ib,GLuint * min_index,GLuint * max_index,const GLuint count) argument
352 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) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_draw.h56 GLuint min_index,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_prim_restart.h61 unsigned *min_index,
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_draw.h59 unsigned min_index,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_vbo_t.c246 GLuint min_index, GLuint max_index,
255 GLuint min_index, GLuint max_index)
272 if (max_index - min_index > vert_avail ||
280 _tnl_split_prims(ctx, arrays, prims, nr_prims, ib, min_index,
313 int base, unsigned min_index, unsigned max_index, int *pdelta)
333 unsigned delta = (base + min_index) * binding->Stride;
343 int n = max_index - min_index + 1;
360 *pdelta -= min_index;
386 const struct _mesa_index_buffer *ib, GLuint min_index,
403 vbo_bind_vertices(ctx, arrays, basevertex, min_index,
252 vbo_maybe_split(struct gl_context * ctx,const struct tnl_vertex_array * arrays,const struct _mesa_prim * prims,GLuint nr_prims,const struct _mesa_index_buffer * ib,GLuint min_index,GLuint max_index) argument
312 vbo_bind_vertices(struct gl_context * ctx,const struct tnl_vertex_array * arrays,int base,unsigned min_index,unsigned max_index,int * pdelta) argument
384 vbo_draw_vbo(struct gl_context * ctx,const struct tnl_vertex_array * arrays,const struct _mesa_prim * prims,GLuint nr_prims,const struct _mesa_index_buffer * ib,GLuint min_index,GLuint max_index) argument
434 vbo_draw_imm(struct gl_context * ctx,const struct tnl_vertex_array * arrays,const struct _mesa_prim * prims,GLuint nr_prims,const struct _mesa_index_buffer * ib,GLuint min_index,GLuint max_index) argument
[all...]

Completed in 15 milliseconds

123456