/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw.h | 67 draw.index_bias = 0; in util_draw_arrays() 76 int index_bias, enum pipe_prim_type mode, in util_draw_elements() argument 88 draw.index_bias = index_bias; in util_draw_elements() 117 draw.index_bias = 0; in util_draw_arrays_instanced() 126 int index_bias, in util_draw_elements_instanced() argument 141 draw.index_bias = index_bias; in util_draw_elements_instanced()
|
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_index_modify.h | 36 int index_bias, 44 int index_bias, 51 int index_bias,
|
D | u_prim_restart.c | 186 … pipe_prim_type mode, struct range_info *info, unsigned start, unsigned count, unsigned index_bias) in add_range() argument 216 info->draws[info->count].index_bias = index_bias; in add_range() 245 if (!add_range(info->mode, &ranges, draw->start + start, count, draw->index_bias)) { \ in util_prim_restart_convert_to_direct()
|
D | u_draw.c | 180 draws[i].draw.index_bias = info_in->index_size ? params[3] : 0; in util_draw_indirect_read() 244 draw.index_bias = info_in->index_size ? params[3] : 0; in util_draw_indirect()
|
D | u_threaded_context.c | 2928 unsigned index_bias; member 2949 draw.index_bias = info->index_bias; in tc_call_draw_single_drawid() 3024 bool index_bias_varies = first->index_bias != next->index_bias; in tc_call_draw_single() 3029 multi[0].index_bias = first->index_bias; in tc_call_draw_single() 3032 multi[1].index_bias = next->index_bias; in tc_call_draw_single() 3041 multi[num_draws].index_bias = next->index_bias; in tc_call_draw_single() 3042 index_bias_varies |= first->index_bias != next->index_bias; in tc_call_draw_single() 3062 draw.index_bias = first->index_bias; in tc_call_draw_single() 3209 p->index_bias = draws[0].index_bias; in tc_draw_vbo() 3228 p->index_bias = draws[0].index_bias; in tc_draw_vbo() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_render.c | 117 void r500_emit_index_bias(struct r300_context *r300, int index_bias) in r500_emit_index_bias() argument 123 (index_bias & 0xFFFFFF) | (index_bias < 0 ? 1<<24 : 0)); in r500_emit_index_bias() 149 static void r300_split_index_bias(struct r300_context *r300, int index_bias, in r300_split_index_bias() argument 157 if (index_bias < 0) { in r300_split_index_bias() 169 *buffer_offset = MAX2(-max_neg_bias, index_bias); in r300_split_index_bias() 172 *buffer_offset = index_bias; in r300_split_index_bias() 175 *index_offset = index_bias - *buffer_offset; in r300_split_index_bias() 241 int index_bias, int instance_id) in r300_emit_states() argument 264 r500_emit_index_bias(r300, index_bias); in r300_emit_states() 305 int index_bias, in r300_prepare_for_rendering() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_vbo_translate.c | 64 nvc0_vertex_configure_translate(struct nvc0_context *nvc0, int32_t index_bias) in nvc0_vertex_configure_translate() argument 83 if (index_bias && !unlikely(nvc0->vertex->instance_bufs & (1 << i))) in nvc0_vertex_configure_translate() 84 map += (intptr_t)index_bias * vb->stride; in nvc0_vertex_configure_translate() 105 int32_t index_bias) in nvc0_push_map_edgeflag() argument 122 if (index_bias) in nvc0_push_map_edgeflag() 123 ctx->edgeflag.data += (intptr_t)index_bias * vb->stride; in nvc0_push_map_edgeflag() 528 sdraw.index_bias = cmd->baseVertex; in nvc0_push_vbo_indirect() 545 PUSH_DATA (push, sdraw.index_bias); in nvc0_push_vbo_indirect() 565 unsigned index_bias = info->index_size ? draw->index_bias : 0; in nvc0_push_vbo() local 572 nvc0_vertex_configure_translate(nvc0, index_bias); in nvc0_push_vbo() [all …]
|
D | nvc0_vbo.c | 577 if (nvc0->state.index_bias) { in nvc0_draw_arrays() 583 nvc0->state.index_bias = 0; in nvc0_draw_arrays() 703 unsigned instance_count, int32_t index_bias, in nvc0_draw_elements() argument 711 if (index_bias != nvc0->state.index_bias) { in nvc0_draw_elements() 714 PUSH_DATA (push, index_bias); in nvc0_draw_elements() 716 PUSH_DATA (push, index_bias); in nvc0_draw_elements() 717 nvc0->state.index_bias = index_bias; in nvc0_draw_elements() 844 if (nvc0->state.index_bias) { in nvc0_draw_indirect() 848 nvc0->state.index_bias = 0; in nvc0_draw_indirect() 949 nvc0->vb_elt_first = info->min_index + (info->index_size ? draws->index_bias : 0); in nvc0_draw_vbo() [all …]
|
/third_party/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() 249 bool apply_bias = info->index_size && draw->index_bias; in nv50_push_vbo() 256 ctx.index_bias = info->index_size ? draw->index_bias : 0; in nv50_push_vbo() 279 data += (ptrdiff_t)(info->index_size ? draw->index_bias : 0) * vb->stride; in nv50_push_vbo() 358 PUSH_DATA (ctx.push, nv50->state.index_bias); in nv50_push_vbo()
|
D | nv50_vbo.c | 474 if (nv50->state.index_bias) { in nv50_draw_arrays() 481 nv50->state.index_bias = 0; in nv50_draw_arrays() 593 unsigned instance_count, int32_t index_bias, in nv50_draw_elements() argument 601 if (index_bias != nv50->state.index_bias) { in nv50_draw_elements() 603 PUSH_DATA (push, index_bias); in nv50_draw_elements() 606 PUSH_DATA (push, index_bias); in nv50_draw_elements() 608 nv50->state.index_bias = index_bias; in nv50_draw_elements() 792 nv50->vb_elt_first = info->min_index + (info->index_size ? draws->index_bias : 0); in nv50_draw_vbo() 916 info->instance_count, draws->index_bias, info->index_size); in nv50_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_draw.c | 186 unsigned index_bias = info->index_size ? draws->index_bias : 0; in vc4_emit_gl_shader_state() local 195 vb->stride * (index_bias + in vc4_emit_gl_shader_state() 252 vc4->last_index_bias = index_bias + extra_index_bias; in vc4_emit_gl_shader_state() 345 unsigned index_bias = info->index_size ? draws->index_bias : 0; in vc4_draw_vbo() local 356 vc4->last_index_bias != index_bias) { in vc4_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_draw.c | 72 info->index_size ? emit->draw->index_bias : 0) in draw_impl() 76 info->index_size ? emit->draw->index_bias : 0) in draw_impl() 79 OUT_RING(ring, info->index_size ? emit->draw->index_bias in draw_impl()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_elements.c | 185 unsigned index_size, int index_bias, in svga_hwtnl_simple_draw_range_elements() argument 207 range.indexBias = index_bias; in svga_hwtnl_simple_draw_range_elements() 281 draw->index_bias, in svga_hwtnl_draw_range_elements() 309 draw->index_bias, in svga_hwtnl_draw_range_elements()
|
D | svga_pipe_draw.c | 266 unsigned index_bias = info->index_size ? draws->index_bias : 0; in svga_draw_vbo() local 267 if (svga->curr.vertex_id_bias != (draws[0].start + index_bias)) { in svga_draw_vbo() 268 svga->curr.vertex_id_bias = draws[0].start + index_bias; in svga_draw_vbo()
|
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 | 78 void svga_hwtnl_set_index_bias(struct svga_hwtnl *hwtnl, int index_bias);
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt.c | 152 … (index_bias_varies ? draw_info[i].index_bias : draw_info[0].index_bias) : in draw_pt_arrays() 237 draw_print_arrays(struct draw_context *draw, uint prim, int start, uint count, int index_bias) in draw_print_arrays() argument 274 ii += index_bias; in draw_print_arrays() 276 index_bias, ii); in draw_print_arrays() 572 … use_info->index_bias_varies ? use_draws[i].index_bias : use_draws[0].index_bias); in draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_vbo.c | 463 unsigned instance_count, int32_t index_bias, argument 470 if (eng3d->oclass >= NV40_3D_CLASS && index_bias != nv30->state.index_bias) { 472 PUSH_DATA (push, index_bias); 473 nv30->state.index_bias = index_bias; 651 info->instance_count, draws[0].index_bias, info->index_size);
|
D | nv30_push.c | 203 bool apply_bias = info->index_size && draw->index_bias; in nv30_push_vbo() 223 data += draw->index_bias * vb->stride; in nv30_push_vbo()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | Draw.cpp | 188 draw.index_bias = BaseVertexLocation; in DrawIndexed() 289 draw.index_bias = BaseVertexLocation; in DrawIndexedInstanced()
|
/third_party/mesa3d/src/gallium/auxiliary/indices/ |
D | u_primconvert.c | 243 new_draw.index_bias = info->index_size ? draw->index_bias : 0; in util_primconvert_draw_vbo()
|
/third_party/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 */
|
/third_party/mesa3d/docs/relnotes/ |
D | 10.3.7.rst | 55 - nv50,nvc0: set vertex id base to index_bias
|