Home
last modified time | relevance | path

Searched refs:max_index (Results 1 – 25 of 116) sorted by relevance

12345

/external/mesa3d/src/mesa/vbo/
Dvbo_minmax_index.c106 GLuint *min_index, GLuint *max_index) in vbo_get_minmax_cached() argument
149 *max_index = entry->max; in vbo_get_minmax_cached()
240 GLuint *min_index, GLuint *max_index, in vbo_get_minmax_index() argument
255 count, min_index, max_index)) in vbo_get_minmax_index()
290 *max_index = max_ui; in vbo_get_minmax_index()
312 *max_index = max_us; in vbo_get_minmax_index()
334 *max_index = max_ub; in vbo_get_minmax_index()
343 count, *min_index, *max_index); in vbo_get_minmax_index()
356 GLuint *max_index, in vbo_get_minmax_indices() argument
364 *max_index = 0; in vbo_get_minmax_indices()
[all …]
Dvbo_split_inplace.c50 GLuint max_index; member
76 ib.count = split->max_index - split->min_index + 1; in flush_vertex()
85 assert(split->max_index >= split->min_index); in flush_vertex()
96 split->max_index, in flush_vertex()
104 split->max_index = 0; in flush_vertex()
125 split->max_index = MAX2(split->max_index, prim->start + prim->count - 1); in update_index_bounds()
137 (prim->start < split->max_index && in get_max_vertices()
138 split->max_index - prim->start >= split->limit)) in get_max_vertices()
270 GLuint max_index, in vbo_split_inplace() argument
286 split.max_index = 0; in vbo_split_inplace()
Dvbo_split.c107 GLuint max_index, in vbo_split_prims() argument
123 else if (max_index - min_index >= limits->max_verts) { in vbo_split_prims()
138 min_index, max_index, draw, limits ); in vbo_split_prims()
146 if (max_index - min_index >= limits->max_verts) { in vbo_split_prims()
152 min_index, max_index, draw, limits ); in vbo_split_prims()
Dvbo_primitive_restart.c70 GLuint max_index; member
106 sub_prims[scan_num].max_index = 0; \ in find_sub_primitives()
116 sub_prims[scan_num].max_index = 0; \ in find_sub_primitives()
123 UPDATE_MAX2(sub_prims[scan_num].max_index, scan_index); \ in find_sub_primitives()
253 GL_TRUE, sub_prim->min_index, sub_prim->max_index, in vbo_sw_primitive_restart()
Dvbo.h106 GLuint max_index,
146 GLuint max_index,
162 GLuint max_index,
188 GLuint *min_index, GLuint *max_index, GLuint nr_prims);
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_vbo_t.c234 GLuint min_index, GLuint max_index,
243 GLuint min_index, GLuint max_index) in vbo_maybe_split() argument
260 if (max_index - min_index > vert_avail || in vbo_maybe_split()
269 max_index, TAG(vbo_render_prims), &limits); in vbo_maybe_split()
301 int base, unsigned min_index, unsigned max_index, int *pdelta) in vbo_bind_vertices() argument
327 int n = max_index - min_index + 1; in vbo_bind_vertices()
371 GLuint max_index) in vbo_draw_vbo() argument
388 max_index, &delta); in vbo_draw_vbo()
421 GLuint max_index) in vbo_draw_imm() argument
467 GLuint min_index, GLuint max_index, in TAG()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c251 uint32_t max_index = *(uint32_t *)(untrusted + 9); in validate_indexed_prim_list() local
262 if (max_index > shader_state->max_index) in validate_indexed_prim_list()
263 shader_state->max_index = max_index; in validate_indexed_prim_list()
286 uint32_t max_index; in validate_gl_array_primitive() local
300 max_index = length + base_index - 1; in validate_gl_array_primitive()
302 if (max_index > shader_state->max_index) in validate_gl_array_primitive()
303 shader_state->max_index = max_index; in validate_gl_array_primitive()
319 exec->shader_state[i].max_index = 0; in validate_gl_shader_state()
880 uint32_t max_index; in validate_gl_shader_rec() local
893 max_index = ((vbo->base.size - offset - attr_size) / in validate_gl_shader_rec()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.c52 unsigned max_index; in util_draw_max_index() local
55 max_index = ~0U - 1; in util_draw_max_index()
107 max_index = MIN2(max_index, buffer_max_index); in util_draw_max_index()
125 return max_index + 1; in util_draw_max_index()
Du_draw.h47 info->max_index = 0xffffffff; in util_draw_init_info()
64 info.max_index = start + count - 1; in util_draw_arrays()
104 info.max_index = start + count - 1; in util_draw_arrays_instanced()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit_tmp.h42 const unsigned max_index = draw->pt.user.max_index; in CONCAT() local
63 if (idx < min_index || idx > max_index) { in CONCAT()
76 if (max_index - min_index > icount - 1) in CONCAT()
89 fetch_count = max_index - min_index + 1; in CONCAT()
100 if (idx < min_index || idx > max_index) { in CONCAT()
110 if (idx < min_index || idx > max_index) { in CONCAT()
Ddraw_pipe.c197 #define GET_ELT(idx) (MIN2(elts[idx], max_index))
208 unsigned max_index
245 unsigned max_index = 0x0, i; in draw_pipeline_run() local
249 if (index > max_index) in draw_pipeline_run()
250 max_index = index; in draw_pipeline_run()
252 if (max_index >= vert_info->count) { in draw_pipeline_run()
255 max_index, in draw_pipeline_run()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c153 unsigned min_index, unsigned max_index, in svga_hwtnl_simple_draw_range_elements() argument
176 min_index, max_index, index_buffer, in svga_hwtnl_simple_draw_range_elements()
185 unsigned min_index, unsigned max_index, in svga_hwtnl_draw_range_elements() argument
224 max_index, in svga_hwtnl_draw_range_elements()
251 max_index, in svga_hwtnl_draw_range_elements()
Dsvga_swtnl_backend.c167 ushort max_index) in svga_vbuf_render_unmap_vertices() argument
172 size_t used = svga_render->vertex_size * ((size_t)max_index + 1); in svga_vbuf_render_unmap_vertices()
178 length = svga_render->vertex_size * (max_index + 1 - min_index); in svga_vbuf_render_unmap_vertices()
196 svga_render->max_index = max_index; in svga_vbuf_render_unmap_vertices()
370 svga_render->max_index, in svga_vbuf_render_draw_elements()
382 svga_render->max_index, in svga_vbuf_render_draw_elements()
Dsvga_draw_private.h148 unsigned max_index[QSZ]; member
227 unsigned max_index,
237 unsigned max_index,
Dsvga_pipe_draw.c63 unsigned max_index, in retry_draw_range_elements() argument
91 min_index, max_index, in retry_draw_range_elements()
106 min_index, max_index, in retry_draw_range_elements()
275 info->max_index, in svga_draw_vbo()
/external/vixl/test/
Dtest-invalset.cc193 int max_index = 100 * kNPreallocatedElements; in TEST() local
194 for (int i = 0; i <= max_index; i++) { in TEST()
199 VIXL_CHECK(set.GetMinElement() == Obj(-max_index, max_index)); in TEST()
203 VIXL_CHECK(set.GetMinElement() == Obj(-max_index, max_index)); in TEST()
205 VIXL_CHECK(set.GetMinElement() == Obj(-(max_index - 2), max_index - 2)); in TEST()
/external/tensorflow/tensorflow/core/kernels/
Deigen_contraction_kernel.h135 static const int max_index = (std::numeric_limits<int>::max)();
137 eigen_assert(max_index >= rows);
138 eigen_assert(max_index >= cols);
139 eigen_assert(max_index >= depth);
140 eigen_assert(max_index >= output.stride());
162 EIGEN_UNUSED_VARIABLE(max_index);
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_lower_uniforms.c138 uint32_t max_index = 0; in qir_lower_uniforms() local
145 max_index = index; in qir_lower_uniforms()
149 struct qreg unif = qir_reg(QFILE_UNIF, max_index); in qir_lower_uniforms()
182 inst->src[i].index == max_index) { in qir_lower_uniforms()
/external/mesa3d/src/broadcom/compiler/
Dvir_lower_uniforms.c138 uint32_t max_index = 0; in vir_lower_uniforms() local
145 max_index = index; in vir_lower_uniforms()
149 struct qreg unif = vir_reg(QFILE_UNIF, max_index); in vir_lower_uniforms()
183 inst->src[i].index == max_index) { in vir_lower_uniforms()
/external/jemalloc/test/unit/
Dsize_classes.c29 szind_t index, max_index; in TEST_BEGIN() local
32 max_index = size2index(max_size_class); in TEST_BEGIN()
34 for (index = 0, size_class = index2size(index); index < max_index || in TEST_BEGIN()
37 assert_true(index < max_index, in TEST_BEGIN()
/external/jemalloc_new/test/unit/
Dsize_classes.c27 szind_t index, max_index; in TEST_BEGIN() local
30 max_index = sz_size2index(max_size_class); in TEST_BEGIN()
32 for (index = 0, size_class = sz_index2size(index); index < max_index || in TEST_BEGIN()
35 assert_true(index < max_index, in TEST_BEGIN()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c127 unsigned max_index) in r300_emit_draw_init() argument
131 assert(max_index < (1 << 24)); in r300_emit_draw_init()
137 OUT_CS(max_index); in r300_emit_draw_init()
429 unsigned max_index, in r300_emit_draw_elements() argument
441 "refusing to render (max_index: %i).\n", count, max_index); in r300_emit_draw_elements()
446 count, max_index); in r300_emit_draw_elements()
448 r300_emit_draw_init(r300, mode, max_index); in r300_emit_draw_elements()
515 r300_emit_draw_init(r300, info->mode, info->max_index); in r300_draw_elements_immediate()
640 info->max_index, info->mode, start, count, in r300_draw_elements()
651 info->max_index, in r300_draw_elements()
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_draw.c427 GLuint max_index, in _tnl_draw_prims() argument
440 vbo_get_minmax_indices(ctx, prim, ib, &min_index, &max_index, nr_prims); in _tnl_draw_prims()
453 printf("%s %d..%d\n", __func__, min_index, max_index); in _tnl_draw_prims()
465 min_index, max_index, in _tnl_draw_prims()
469 else if ((GLint)max_index + max_basevertex > max) { in _tnl_draw_prims()
483 0, max_index + prim->basevertex, in _tnl_draw_prims()
516 bind_inputs(ctx, arrays, max_index + prim[i].basevertex + 1, in _tnl_draw_prims()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfreeze_requantization_ranges.cc161 int max_index = in FreezeRequantizationRanges() local
163 if (max_index > (maxs.size() - 1)) { in FreezeRequantizationRanges()
164 max_index = maxs.size() - 1; in FreezeRequantizationRanges()
167 const float max = maxs[max_index]; in FreezeRequantizationRanges()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c138 GLuint max_index, in st_draw_vbo() argument
164 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, in st_draw_vbo()
170 info.max_index = max_index; in st_draw_vbo()
215 info.max_index = info.start + info.count - 1; in st_draw_vbo()

12345