Home
last modified time | relevance | path

Searched refs:index_bias (Results 1 – 25 of 62) sorted by relevance

123

/external/mesa3d/src/gallium/auxiliary/util/
Du_index_modify.c32 int index_bias, in util_shorten_ubyte_elts_to_userptr() argument
53 *out_map = (unsigned short)(*in_map + index_bias); in util_shorten_ubyte_elts_to_userptr()
67 int index_bias, in util_rebuild_ushort_elts_to_userptr() argument
87 *out_map = (unsigned short)(*in_map + index_bias); in util_rebuild_ushort_elts_to_userptr()
101 int index_bias, in util_rebuild_uint_elts_to_userptr() argument
121 *out_map = (unsigned int)(*in_map + index_bias); in util_rebuild_uint_elts_to_userptr()
Du_draw.h73 int index_bias, enum pipe_prim_type mode, in util_draw_elements() argument
86 info.index_bias = index_bias; in util_draw_elements()
117 int index_bias, in util_draw_elements_instanced() argument
133 info.index_bias = index_bias; in util_draw_elements_instanced()
Du_index_modify.h32 int index_bias,
40 int index_bias,
47 int index_bias,
Du_draw.c181 info.index_bias = info_in->index_size ? params[3] : 0; in util_draw_indirect()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c116 void r500_emit_index_bias(struct r300_context *r300, int index_bias) in r500_emit_index_bias() argument
122 (index_bias & 0xFFFFFF) | (index_bias < 0 ? 1<<24 : 0)); in r500_emit_index_bias()
148 static void r300_split_index_bias(struct r300_context *r300, int index_bias, in r300_split_index_bias() argument
156 if (index_bias < 0) { in r300_split_index_bias()
168 *buffer_offset = MAX2(-max_neg_bias, index_bias); in r300_split_index_bias()
171 *buffer_offset = index_bias; in r300_split_index_bias()
174 *index_offset = index_bias - *buffer_offset; in r300_split_index_bias()
240 int index_bias, int instance_id) in r300_emit_states() argument
263 r500_emit_index_bias(r300, index_bias); in r300_emit_states()
304 int index_bias, in r300_prepare_for_rendering() argument
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_push.c29 int32_t index_bias; member
84 PUSH_DATA (ctx->push, *elts + ctx->index_bias); in emit_vertices_i08()
123 PUSH_DATA (ctx->push, *elts + ctx->index_bias); in emit_vertices_i16()
162 PUSH_DATA (ctx->push, *elts + ctx->index_bias); in emit_vertices_i32()
247 bool apply_bias = info->index_size && info->index_bias; in nv50_push_vbo()
254 ctx.index_bias = info->index_bias; in nv50_push_vbo()
277 data += (ptrdiff_t)info->index_bias * vb->stride; in nv50_push_vbo()
356 PUSH_DATA (ctx.push, nv50->state.index_bias); in nv50_push_vbo()
Dnv50_vbo.c471 if (nv50->state.index_bias) { in nv50_draw_arrays()
478 nv50->state.index_bias = 0; in nv50_draw_arrays()
590 unsigned instance_count, int32_t index_bias, in nv50_draw_elements() argument
598 if (index_bias != nv50->state.index_bias) { in nv50_draw_elements()
600 PUSH_DATA (push, index_bias); in nv50_draw_elements()
603 PUSH_DATA (push, index_bias); in nv50_draw_elements()
605 nv50->state.index_bias = index_bias; in nv50_draw_elements()
767 nv50->vb_elt_first = info->min_index + info->index_bias; in nv50_draw_vbo()
875 info->instance_count, info->index_bias, info->index_size); in nv50_draw_vbo()
Dnv50_screen.h40 int32_t index_bias; member
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo_translate.c63 nvc0_vertex_configure_translate(struct nvc0_context *nvc0, int32_t index_bias) in nvc0_vertex_configure_translate() argument
82 if (index_bias && !unlikely(nvc0->vertex->instance_bufs & (1 << i))) in nvc0_vertex_configure_translate()
83 map += (intptr_t)index_bias * vb->stride; in nvc0_vertex_configure_translate()
104 int32_t index_bias) in nvc0_push_map_edgeflag() argument
121 if (index_bias) in nvc0_push_map_edgeflag()
122 ctx->edgeflag.data += (intptr_t)index_bias * vb->stride; in nvc0_push_map_edgeflag()
524 single.index_bias = cmd->baseVertex; in nvc0_push_vbo_indirect()
541 PUSH_DATA (push, single.index_bias); in nvc0_push_vbo_indirect()
565 nvc0_vertex_configure_translate(nvc0, info->index_bias); in nvc0_push_vbo()
567 if (nvc0->state.index_bias) { in nvc0_push_vbo()
[all …]
Dnvc0_vbo.c576 if (nvc0->state.index_bias) { in nvc0_draw_arrays()
582 nvc0->state.index_bias = 0; in nvc0_draw_arrays()
702 unsigned instance_count, int32_t index_bias, in nvc0_draw_elements() argument
710 if (index_bias != nvc0->state.index_bias) { in nvc0_draw_elements()
713 PUSH_DATA (push, index_bias); in nvc0_draw_elements()
715 PUSH_DATA (push, index_bias); in nvc0_draw_elements()
716 nvc0->state.index_bias = index_bias; in nvc0_draw_elements()
840 if (nvc0->state.index_bias) { in nvc0_draw_indirect()
844 nvc0->state.index_bias = 0; in nvc0_draw_indirect()
932 nvc0->vb_elt_first = info->min_index + info->index_bias; in nvc0_draw_vbo()
[all …]
Dnvc0_screen.h46 int32_t index_bias; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c184 unsigned index_size, int index_bias, in svga_hwtnl_simple_draw_range_elements() argument
206 range.indexBias = index_bias; in svga_hwtnl_simple_draw_range_elements()
279 info->index_bias, in svga_hwtnl_draw_range_elements()
307 info->index_bias, in svga_hwtnl_draw_range_elements()
Dsvga_draw_private.h170 int index_bias; member
238 int index_bias,
Dsvga_draw.c982 svga_hwtnl_set_index_bias(struct svga_hwtnl *hwtnl, int index_bias) in svga_hwtnl_set_index_bias() argument
984 hwtnl->index_bias = index_bias; in svga_hwtnl_set_index_bias()
1012 int index_bias = (int) range->indexBias + hwtnl->index_bias; in check_draw_params() local
1085 if (index_bias >= 0) { in check_draw_params()
1086 assert(offset + index_bias * stride + width <= size); in check_draw_params()
1188 hwtnl->cmd.prim[hwtnl->cmd.prim_count].indexBias += hwtnl->index_bias; in svga_hwtnl_prim()
Dsvga_draw.h77 void svga_hwtnl_set_index_bias(struct svga_hwtnl *hwtnl, int index_bias);
Dsvga_pipe_draw.c251 if (svga->curr.vertex_id_bias != (info->start + info->index_bias)) { in svga_draw_vbo()
252 svga->curr.vertex_id_bias = info->start + info->index_bias; in svga_draw_vbo()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_draw.c70 OUT_RING(ring, add_sat(info->min_index, info->index_bias)); /* VFD_INDEX_MIN */ in draw_impl()
71 OUT_RING(ring, add_sat(info->max_index, info->index_bias)); /* VFD_INDEX_MAX */ in draw_impl()
73 OUT_RING(ring, info->index_size ? info->index_bias : info->start); /* VFD_INDEX_OFFSET */ in draw_impl()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c462 unsigned instance_count, int32_t index_bias, argument
469 if (eng3d->oclass >= NV40_3D_CLASS && index_bias != nv30->state.index_bias) {
471 PUSH_DATA (push, index_bias);
472 nv30->state.index_bias = index_bias;
632 info->instance_count, info->index_bias, info->index_size);
Dnv30_push.c202 bool apply_bias = info->index_size && info->index_bias; in nv30_push_vbo()
222 data += info->index_bias * vb->stride; in nv30_push_vbo()
Dnv30_context.h54 int index_bias; member
/external/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c113 new_info.index_bias = info->index_bias; in util_primconvert_draw_vbo()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_draw.c193 vb->stride * (info->index_bias + in vc4_emit_gl_shader_state()
250 vc4->last_index_bias = info->index_bias + extra_index_bias; in vc4_emit_gl_shader_state()
358 vc4->last_index_bias != info->index_bias) { in vc4_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/mme/
Dcom9097.mme238 * parm[2 + 5n + 3] = index_bias
256 parm $r4 send $r4 /* index_bias, send start */
260 parm $r5 send $r4 /* start_instance, send index_bias */
350 * parm[3 + 5n + 3] = index_bias
375 parm $r4 send $r4 /* index_bias, send start */
379 parm $r5 send $r4 /* start_instance, send index_bias */
/external/mesa3d/docs/relnotes/
D10.3.7.rst55 - nv50,nvc0: set vertex id base to index_bias
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h585 int index_bias; /**< a bias to be added to each index */ member

123