Searched refs:max_index (Results 1 - 25 of 105) sorted by relevance

12345

/external/mesa3d/src/mesa/main/
H A Dsse_minmax.h30 unsigned *max_index, const unsigned count);
H A Dsse_minmax.c34 unsigned *max_index, const unsigned count)
93 *max_index = max_ui;
33 _mesa_uint_array_min_max(const unsigned *ui_indices, unsigned *min_index, unsigned *max_index, const unsigned count) argument
/external/mesa3d/src/mesa/vbo/
H A Dvbo_split.c107 GLuint max_index,
123 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 );
101 vbo_split_prims( struct gl_context *ctx, const struct gl_vertex_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw, const struct split_limits *limits ) argument
H A Dvbo_split_inplace.c50 GLuint max_index; member in struct:split_context
76 ib.count = split->max_index - split->min_index + 1;
85 assert(split->max_index >= split->min_index);
96 split->max_index,
104 split->max_index = 0;
125 split->max_index = MAX2(split->max_index, prim->start + prim->count - 1);
137 (prim->start < split->max_index &&
138 split->max_index - prim->start >= split->limit))
270 GLuint max_index,
264 vbo_split_inplace( struct gl_context *ctx, const struct gl_vertex_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw, const struct split_limits *limits ) argument
[all...]
H A Dvbo_minmax_index.c105 GLuint *min_index, GLuint *max_index)
148 *max_index = entry->max;
239 GLuint *min_index, GLuint *max_index,
253 min_index, max_index))
287 *max_index = max_ui;
309 *max_index = max_us;
331 *max_index = max_ub;
340 *min_index, *max_index);
353 GLuint *max_index,
361 *max_index
103 vbo_get_minmax_cached(struct gl_buffer_object *bufferObj, GLenum type, GLintptr offset, GLuint count, GLuint *min_index, GLuint *max_index) argument
236 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
349 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...]
H A Dvbo_split.h58 GLuint max_index,
H A Dvbo_primitive_restart.c70 GLuint max_index; member in struct:sub_primitive
106 sub_prims[scan_num].max_index = 0; \
116 sub_prims[scan_num].max_index = 0; \
123 UPDATE_MAX2(sub_prims[scan_num].max_index, scan_index); \
253 GL_TRUE, sub_prim->min_index, sub_prim->max_index,
H A Dvbo_rebase.c130 GLuint max_index,
145 printf("%s %d..%d\n", __func__, min_index, max_index);
260 max_index - min_index,
124 vbo_rebase_prims( struct gl_context *ctx, const struct gl_vertex_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index, vbo_draw_func draw ) argument
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_draw.h47 info->max_index = 0xffffffff;
64 info.max_index = start + count - 1;
104 info.max_index = start + count - 1;
136 uint max_index,
150 info.max_index = max_index;
133 util_draw_range_elements(struct pipe_context *pipe, int index_bias, uint min_index, uint max_index, enum pipe_prim_type mode, uint start, uint count) argument
H A Du_draw.c39 * all vertex lookups need to be clamped to 0..max_index-1 to prevent
52 unsigned max_index; local
55 max_index = ~0U - 1;
107 max_index = MIN2(max_index, buffer_max_index);
125 return max_index + 1;
/external/mesa3d/src/mesa/state_tracker/
H A Dst_draw.h59 GLuint max_index,
71 GLuint max_index,
/external/mesa3d/src/gallium/drivers/vc4/kernel/
H A Dvc4_validate.c251 uint32_t max_index = *(uint32_t *)(untrusted + 9); local
262 if (max_index > shader_state->max_index)
263 shader_state->max_index = max_index;
286 uint32_t max_index; local
300 max_index = length + base_index - 1;
302 if (max_index > shader_state->max_index)
303 shader_state->max_index
880 uint32_t max_index; local
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_draw_private.h149 unsigned max_index[QSZ]; member in struct:draw_cmd
228 unsigned max_index,
238 unsigned max_index,
H A Dsvga_draw.h71 unsigned max_index,
H A Dsvga_swtnl_private.h77 ushort max_index; member in struct:svga_vbuf_render
H A Dsvga_draw_elements.c153 unsigned min_index, unsigned max_index,
176 min_index, max_index, index_buffer,
185 unsigned min_index, unsigned max_index,
224 max_index,
253 max_index,
150 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) argument
182 svga_hwtnl_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) argument
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_vbo_t.c224 GLuint min_index, GLuint max_index,
233 GLuint min_index, GLuint max_index)
250 if (max_index - min_index > vert_avail ||
259 max_index, TAG(vbo_render_prims), &limits);
291 int base, unsigned min_index, unsigned max_index, int *pdelta)
317 int n = max_index - min_index + 1;
361 GLuint max_index)
378 max_index, &delta);
411 GLuint max_index)
457 GLuint min_index, GLuint max_index,
230 vbo_maybe_split(struct gl_context *ctx, const struct gl_vertex_array **arrays, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index) argument
290 vbo_bind_vertices(struct gl_context *ctx, const struct gl_vertex_array **arrays, int base, unsigned min_index, unsigned max_index, int *pdelta) argument
358 vbo_draw_vbo(struct gl_context *ctx, const struct gl_vertex_array **arrays, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index) argument
408 vbo_draw_imm(struct gl_context *ctx, const struct gl_vertex_array **arrays, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLuint min_index, GLuint max_index) argument
453 vbo_render_prims(struct gl_context *ctx, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *tfb_vertcount, unsigned stream, struct gl_buffer_object *indirect) argument
491 vbo_check_render_prims(struct gl_context *ctx, const struct _mesa_prim *prims, GLuint nr_prims, const struct _mesa_index_buffer *ib, GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_transform_feedback_object *tfb_vertcount, unsigned stream, struct gl_buffer_object *indirect) argument
[all...]
/external/jemalloc/test/unit/
H A Dsize_classes.c29 szind_t index, max_index; local
32 max_index = size2index(max_size_class);
34 for (index = 0, size_class = index2size(index); index < max_index ||
37 assert_true(index < max_index,
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_vbuf.h91 ushort max_index );
H A Ddraw_pipe.c197 #define GET_ELT(idx) (MIN2(elts[idx], max_index))
208 unsigned max_index
245 unsigned max_index = 0x0, i; local
249 if (index > max_index)
250 max_index = index;
252 if (max_index >= vert_info->count) {
253 debug_printf("%s: max_index (%u) outside vertex buffer (%u)\n",
255 max_index,
H A Ddraw_pt_vsplit_tmp.h32 * Fetch all elements in [min_index, max_index] with bias, and use the
42 const unsigned max_index = draw->pt.user.max_index; local
63 if (idx < min_index || idx > max_index) {
76 if (max_index - min_index > icount - 1)
89 fetch_count = max_index - min_index + 1;
100 if (idx < min_index || idx > max_index) {
110 if (idx < min_index || idx > max_index) {
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir_lower_uniforms.c138 uint32_t max_index = 0; local
145 max_index = index;
149 struct qreg unif = qir_reg(QFILE_UNIF, max_index);
182 inst->src[i].index == max_index) {
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_draw.h53 GLuint max_index,
/external/mesa3d/src/mesa/tnl/
H A Dtnl.h85 GLuint max_index,
/external/tensorflow/tensorflow/core/kernels/
H A Dsparse_xent_op.cc33 Status CheckInvalidLabelIndex(const Tensor& labels, int64 max_index) { argument
39 if (*min_max_dim_value.first < 0 || *min_max_dim_value.second >= max_index) {
44 " which is outside the valid range of [0, ", max_index,

Completed in 372 milliseconds

12345