Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/util/
Du_index_modify.c31 int index_bias, in util_shorten_ubyte_elts_to_userptr() argument
52 *out_map = (unsigned short)(*in_map + index_bias); in util_shorten_ubyte_elts_to_userptr()
64 int index_bias, in util_shorten_ubyte_elts() argument
79 util_shorten_ubyte_elts_to_userptr(context, ib, index_bias, in util_shorten_ubyte_elts()
92 int index_bias, in util_rebuild_ushort_elts_to_userptr() argument
112 *out_map = (unsigned short)(*in_map + index_bias); in util_rebuild_ushort_elts_to_userptr()
124 int index_bias, in util_rebuild_ushort_elts() argument
138 util_rebuild_ushort_elts_to_userptr(context, ib, index_bias, in util_rebuild_ushort_elts()
151 int index_bias, in util_rebuild_uint_elts_to_userptr() argument
171 *out_map = (unsigned int)(*in_map + index_bias); in util_rebuild_uint_elts_to_userptr()
[all …]
Du_index_modify.h32 int index_bias,
40 int index_bias,
48 int index_bias,
55 int index_bias,
62 int index_bias,
69 int index_bias,
Du_draw.h67 util_draw_elements(struct pipe_context *pipe, int index_bias, in util_draw_elements() argument
77 info.index_bias = index_bias; in util_draw_elements()
104 int index_bias, in util_draw_elements_instanced() argument
116 info.index_bias = index_bias; in util_draw_elements_instanced()
125 int index_bias, in util_draw_range_elements() argument
137 info.index_bias = index_bias; in util_draw_range_elements()
Du_vbuf.c1034 start_vertex = min_index + info->index_bias; in u_vbuf_draw_vbo()
1116 new_info.index_bias = 0; in u_vbuf_draw_vbo()
/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 …]
Dr300_context.h718 void r500_emit_index_bias(struct r300_context *r300, int index_bias);
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c103 int index_bias, in svga_hwtnl_simple_draw_range_elements() argument
148 range.indexBias = index_bias; in svga_hwtnl_simple_draw_range_elements()
168 int index_bias, in svga_hwtnl_draw_range_elements() argument
209 index_bias, in svga_hwtnl_draw_range_elements()
237 index_bias, in svga_hwtnl_draw_range_elements()
Dsvga_draw.c279 int index_bias) in svga_hwtnl_set_index_bias() argument
281 hwtnl->index_bias = index_bias; in svga_hwtnl_set_index_bias()
306 int index_bias = (int) range->indexBias + hwtnl->index_bias; in svga_hwtnl_prim() local
372 if (index_bias >= 0) { in svga_hwtnl_prim()
373 assert(offset + index_bias*stride + width <= size); in svga_hwtnl_prim()
435 hwtnl->cmd.prim[hwtnl->cmd.prim_count].indexBias += hwtnl->index_bias; in svga_hwtnl_prim()
Dsvga_pipe_draw.c222 int index_bias, in retry_draw_range_elements() argument
240 ret = svga_upload_user_buffers( svga, min_index + index_bias, in retry_draw_range_elements()
250 index_buffer, index_size, index_bias, in retry_draw_range_elements()
264 index_buffer, index_size, index_bias, in retry_draw_range_elements()
387 info->index_bias, in svga_draw_vbo()
Dsvga_draw.h72 int index_bias,
87 int index_bias);
Dsvga_draw_private.h125 int index_bias; member
159 int index_bias,
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_vbo_translate.c59 nvc0_vertex_configure_translate(struct nvc0_context *nvc0, int32_t index_bias) in nvc0_vertex_configure_translate() argument
74 if (index_bias && !unlikely(nvc0->vertex->instance_bufs & (1 << i))) in nvc0_vertex_configure_translate()
75 map += (intptr_t)index_bias * vb->stride; in nvc0_vertex_configure_translate()
95 int32_t index_bias) in nvc0_push_map_edgeflag() argument
106 if (index_bias) in nvc0_push_map_edgeflag()
107 ctx->edgeflag.data += (intptr_t)index_bias * vb->stride; in nvc0_push_map_edgeflag()
440 nvc0_vertex_configure_translate(nvc0, info->index_bias); in nvc0_push_vbo()
443 nvc0_push_map_edgeflag(&ctx, nvc0, info->index_bias); in nvc0_push_vbo()
579 if (!index_size || info->index_bias) in nvc0_push_upload_vertex_ids()
589 if (!info->index_bias) { in nvc0_push_upload_vertex_ids()
[all …]
Dnvc0_vbo.c567 if (nvc0->state.index_bias) { in nvc0_draw_arrays()
570 nvc0->state.index_bias = 0; in nvc0_draw_arrays()
688 unsigned instance_count, int32_t index_bias) in nvc0_draw_elements() argument
696 if (index_bias != nvc0->state.index_bias) { in nvc0_draw_elements()
699 PUSH_DATA (push, index_bias); in nvc0_draw_elements()
700 nvc0->state.index_bias = index_bias; in nvc0_draw_elements()
791 nvc0->vb_elt_first = info->min_index + info->index_bias; in nvc0_draw_vbo()
868 info->instance_count, info->index_bias); in nvc0_draw_vbo()
Dnvc0_push.c304 boolean apply_bias = info->indexed && info->index_bias; in nvc0_push_vbo()
317 data += info->index_bias * vb->stride; in nvc0_push_vbo()
Dnvc0_context.h98 int32_t index_bias; member
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_vbo.c451 if (nv50->state.index_bias) { in nv50_draw_arrays()
454 nv50->state.index_bias = 0; in nv50_draw_arrays()
565 unsigned instance_count, int32_t index_bias) in nv50_draw_elements() argument
573 if (index_bias != nv50->state.index_bias) { in nv50_draw_elements()
575 PUSH_DATA (push, index_bias); in nv50_draw_elements()
576 nv50->state.index_bias = index_bias; in nv50_draw_elements()
722 nv50->vb_elt_first = info->min_index + info->index_bias; in nv50_draw_vbo()
795 info->instance_count, info->index_bias); in nv50_draw_vbo()
Dnv50_push.c215 boolean apply_bias = info->indexed && info->index_bias; in nv50_push_vbo()
233 data += (ptrdiff_t)info->index_bias * vb->stride; in nv50_push_vbo()
Dnv50_context.h92 int32_t index_bias; member
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_vbo.c454 unsigned instance_count, int32_t index_bias) in nv30_draw_elements() argument
462 if (index_bias != nv30->state.index_bias) { in nv30_draw_elements()
464 PUSH_DATA (push, index_bias); in nv30_draw_elements()
465 nv30->state.index_bias = index_bias; in nv30_draw_elements()
610 info->instance_count, info->index_bias); in nv30_draw_vbo()
Dnv30_push.c202 boolean apply_bias = info->indexed && info->index_bias; in nv30_push_vbo()
218 data += info->index_bias * vb->stride; in nv30_push_vbo()
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_context.h735 info.index_bias = base_vertex_location; in DrawIndexed()
760 info.index_bias = 0; in Draw()
787 info.index_bias = base_vertex_location; in DrawIndexedInstanced()
814 info.index_bias = 0; in DrawInstanced()
839 info.index_bias = 0; in DrawAuto()
863 unsigned index_bias; in DrawIndexedInstancedIndirect() member
873 info.index_bias = data.index_bias; in DrawIndexedInstancedIndirect()
906 info.index_bias = 0; in DrawInstancedIndirect()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h539 int index_bias; /**< a bias to be added to each index */ member
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c264 info.index_bias = prims[i].basevertex; in st_draw_vbo()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c1184 info.index_bias = info.start; in r600_draw_vbo()
1192 r600_pipe_state_add_reg(&rctx->vgt, R_028408_VGT_INDX_OFFSET, info.index_bias); in r600_draw_vbo()
1204 r600_pipe_state_mod_reg(&rctx->vgt, info.index_bias); in r600_draw_vbo()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt.c461 draw->pt.user.eltBias = info->index_bias; in draw_vbo()

12