/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_index_modify.c | 32 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()
|
D | u_draw.h | 73 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()
|
D | u_index_modify.h | 32 int index_bias, 40 int index_bias, 47 int index_bias,
|
D | u_draw.c | 181 info.index_bias = info_in->index_size ? params[3] : 0; in util_draw_indirect()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_render.c | 116 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/ |
D | nv50_push.c | 29 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()
|
D | nv50_vbo.c | 471 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()
|
D | nv50_screen.h | 40 int32_t index_bias; member
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_vbo_translate.c | 63 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 …]
|
D | nvc0_vbo.c | 576 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 …]
|
D | nvc0_screen.h | 46 int32_t index_bias; member
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_elements.c | 184 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()
|
D | svga_draw_private.h | 170 int index_bias; member 238 int index_bias,
|
D | svga_draw.c | 982 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()
|
D | svga_draw.h | 77 void svga_hwtnl_set_index_bias(struct svga_hwtnl *hwtnl, int index_bias);
|
D | svga_pipe_draw.c | 251 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/ |
D | fd3_draw.c | 70 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/ |
D | nv30_vbo.c | 462 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);
|
D | nv30_push.c | 202 bool apply_bias = info->index_size && info->index_bias; in nv30_push_vbo() 222 data += info->index_bias * vb->stride; in nv30_push_vbo()
|
D | nv30_context.h | 54 int index_bias; member
|
/external/mesa3d/src/gallium/auxiliary/indices/ |
D | u_primconvert.c | 113 new_info.index_bias = info->index_bias; in util_primconvert_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_draw.c | 193 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/ |
D | com9097.mme | 238 * 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/ |
D | 10.3.7.rst | 55 - nv50,nvc0: set vertex id base to index_bias
|
/external/virglrenderer/src/gallium/include/pipe/ |
D | p_state.h | 585 int index_bias; /**< a bias to be added to each index */ member
|