Home
last modified time | relevance | path

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

12345

/third_party/mesa3d/src/mesa/vbo/
Dvbo_minmax_index.c107 GLuint *min_index, GLuint *max_index) in vbo_get_minmax_cached() argument
150 *max_index = entry->max; in vbo_get_minmax_cached()
235 unsigned *min_index, unsigned *max_index) in vbo_get_minmax_index_mapped() argument
263 *max_index = max_ui; in vbo_get_minmax_index_mapped()
285 *max_index = max_us; in vbo_get_minmax_index_mapped()
307 *max_index = max_ub; in vbo_get_minmax_index_mapped()
327 GLuint *max_index) in vbo_get_minmax_index() argument
337 max_index)) in vbo_get_minmax_index()
346 min_index, max_index); in vbo_get_minmax_index()
350 *max_index); in vbo_get_minmax_index()
[all …]
Dvbo_save_api.c459 uint32_t index, fi_type *new_buffer, uint32_t *max_index) in add_vertex() argument
482 *max_index = MAX2(n, *max_index); in add_vertex()
585 node->cold->min_index = node->cold->max_index = 0; in compile_vertex_list()
598 node->cold->max_index = end - 1; in compile_vertex_list()
619 uint32_t max_index = 0; in compile_vertex_list() local
682 temp_vertices_buffer, &max_index); in compile_vertex_list()
690 temp_vertices_buffer, &max_index); in compile_vertex_list()
709 temp_vertices_buffer, &max_index); in compile_vertex_list()
714 temp_vertices_buffer, &max_index); in compile_vertex_list()
725 temp_vertices_buffer, &max_index); in compile_vertex_list()
[all …]
/third_party/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 …]
/third_party/mesa3d/src/mesa/main/
Dglthread_draw.c612 GLuint max_index; member
627 const GLuint max_index = cmd->max_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
652 cmd->max_index = max_index; in draw_elements_async()
679 GLuint max_index; member
704 const GLuint max_index = cmd->max_index; in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance() local
722 (mode, min_index, max_index, count, in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance()
746 bool index_bounds_valid, GLuint min_index, GLuint max_index, in draw_elements_async_user() argument
765 cmd->max_index = max_index; in draw_elements_async_user()
[all …]
Dsse_minmax.c35 unsigned *max_index, const unsigned count) in _mesa_uint_array_min_max() argument
94 *max_index = max_ui; in _mesa_uint_array_min_max()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_helpers.c127 unsigned *min_index, unsigned *max_index) in panfrost_get_index_buffer_bounded() argument
135 *max_index = info->max_index; in panfrost_get_index_buffer_bounded()
143 max_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
58 *max_index = hit >> 32; 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/node/deps/v8/src/objects/
Dscope-info-inl.h52 DCHECK_LT(index_, range_->max_index());
68 DCHECK_LT(index_, range_->max_index()); in name()
101 InternalIndex max = range_->max_index(); in advance_hashtable_index()
115 InternalIndex max_index() const { in max_index() function
126 inline Iterator end() const { return Iterator(this, max_index()); } in end()
/third_party/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.c204 #define GET_ELT(idx) (MIN2(elts[idx], max_index))
215 unsigned max_index
251 unsigned max_index = 0x0; in draw_pipeline_run() local
255 if (index > max_index) in draw_pipeline_run()
256 max_index = index; in draw_pipeline_run()
258 if (max_index >= vert_info->count) { in draw_pipeline_run()
261 max_index, in draw_pipeline_run()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c176 unsigned min_index, max_index; member
211 info->max_index = MAX2(info->max_index, start + count - 1); in add_range()
229 unsigned *max_index, in util_prim_restart_convert_to_direct() argument
276 *max_index = ranges.max_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_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()
63 info.max_index = start + count - 1; in util_draw_arrays()
113 info.max_index = start + count - 1; in util_draw_arrays_instanced()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_backend.c169 ushort max_index) in svga_vbuf_render_unmap_vertices() argument
174 size_t used = svga_render->vertex_size * ((size_t)max_index + 1); in svga_vbuf_render_unmap_vertices()
180 length = svga_render->vertex_size * (max_index + 1 - min_index); in svga_vbuf_render_unmap_vertices()
198 svga_render->max_index = max_index; in svga_vbuf_render_unmap_vertices()
334 .max_index = svga_render->max_index, in svga_vbuf_render_draw_elements()
Dsvga_draw_private.h157 unsigned max_index[QSZ]; member
228 unsigned max_index,
240 unsigned max_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()
283 info->index_bounds_valid ? info->max_index : ~0, in svga_hwtnl_draw_range_elements()
311 … info->index_bounds_valid ? info->max_index : ~0, in svga_hwtnl_draw_range_elements()
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_lower_uniforms.c138 uint32_t max_index = 0; in qir_lower_uniforms() local
144 max_index = index; in qir_lower_uniforms()
148 struct qreg unif = qir_reg(QFILE_UNIF, max_index); in qir_lower_uniforms()
181 inst->src[i].index == max_index) { in qir_lower_uniforms()
Dvc4_draw.c185 uint32_t max_index = 0xffff; in vc4_emit_gl_shader_state() local
212 max_index = MIN2(max_index, in vc4_emit_gl_shader_state()
253 vc4->max_index = max_index; in vc4_emit_gl_shader_state()
444 cl_u32(&bcl, vc4->max_index); in vc4_draw_vbo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InsertPrefetch.cpp122 int16_t max_index = -1; in findPrefetchInfo() local
145 max_index = std::max(max_index, static_cast<int16_t>(index)); in findPrefetchInfo()
148 assert(max_index + 1 >= 0 && in findPrefetchInfo()
150 assert(static_cast<size_t>(max_index + 1) == Prefetches.size() && in findPrefetchInfo()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_render.c129 unsigned max_index) in r300_emit_draw_init() argument
133 assert(max_index < (1 << 24)); in r300_emit_draw_init()
139 OUT_CS(max_index); in r300_emit_draw_init()
432 unsigned max_index, in r300_emit_draw_elements() argument
444 "refusing to render (max_index: %i).\n", count, max_index); in r300_emit_draw_elements()
449 count, max_index); in r300_emit_draw_elements()
451 r300_emit_draw_init(r300, mode, max_index); in r300_emit_draw_elements()
519 r300_emit_draw_init(r300, info->mode, info->max_index); in r300_draw_elements_immediate()
645 info->max_index, info->mode, start, count, in r300_draw_elements()
656 info->max_index, in r300_draw_elements()
[all …]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUM_FRAMESIZES.c203 __u32 max_index; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index() local
221 max_index = i - 1; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
223 i = max_index + 1; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
238 if (max_index < i) { in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
255 if (max_index < i) { in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
272 if (max_index < i) { in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_prim_vbuf.c256 ushort max_index) in i915_vbuf_render_unmap_vertices() argument
260 i915_render->vbo_max_index = max_index; in i915_vbuf_render_unmap_vertices()
262 i915_render->vertex_size * (max_index + 1)); in i915_vbuf_render_unmap_vertices()
274 i915_vbuf_ensure_index_bounds(struct vbuf_render *render, unsigned max_index) in i915_vbuf_ensure_index_bounds() argument
278 if (max_index + i915_render->vbo_index < ((1 << 17) - 1)) in i915_vbuf_ensure_index_bounds()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c103 unsigned max_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()
209 info.max_index = max_index; in st_feedback_draw_vbo()
456 info.max_index = d.start + d.count - 1; in st_feedback_draw_vbo()

12345