/external/mesa3d/src/panfrost/lib/ |
D | pan_attributes.c | 50 panfrost_large_padded_vertex_count(uint32_t vertex_count) in panfrost_large_padded_vertex_count() argument 53 unsigned highest = 32 - __builtin_clz(vertex_count); in panfrost_large_padded_vertex_count() 57 unsigned nibble = (vertex_count >> n) & 0xF; in panfrost_large_padded_vertex_count() 83 panfrost_padded_vertex_count(unsigned vertex_count) in panfrost_padded_vertex_count() argument 85 if (vertex_count < 20) in panfrost_padded_vertex_count() 86 return panfrost_small_padded_vertex_count(vertex_count); in panfrost_padded_vertex_count() 88 return panfrost_large_padded_vertex_count(vertex_count); in panfrost_padded_vertex_count()
|
D | pan_tiler.c | 330 unsigned width, unsigned height, unsigned vertex_count) in panfrost_choose_tile_size() argument 360 unsigned vertex_count, bool hierarchy) in panfrost_choose_hierarchy_mask() argument 364 if (!vertex_count) in panfrost_choose_hierarchy_mask() 368 return panfrost_choose_tile_size(width, height, vertex_count); in panfrost_choose_hierarchy_mask()
|
D | pan_encoder.h | 57 unsigned vertex_count, bool hierarchy); 75 panfrost_padded_vertex_count(unsigned vertex_count);
|
D | pan_blit.c | 260 mali_ptr coordinates, unsigned vertex_count, in panfrost_load_emit_varying() argument 275 cfg.size = cfg.stride * vertex_count; in panfrost_load_emit_varying() 435 mali_ptr coordinates, unsigned vertex_count, in panfrost_load_midg() argument 448 panfrost_load_emit_varying(pool, &cfg, coordinates, vertex_count, false); in panfrost_load_midg() 457 cfg.index_count = vertex_count; in panfrost_load_midg() 468 1, vertex_count, 1, 1, 1, 1, true); in panfrost_load_midg() 630 mali_ptr coordinates, unsigned vertex_count, in panfrost_load_bifrost() argument 642 panfrost_load_emit_varying(pool, &cfg, coordinates, vertex_count, true); in panfrost_load_bifrost() 651 cfg.index_count = vertex_count; in panfrost_load_bifrost() 662 1, vertex_count, 1, 1, 1, 1, true); in panfrost_load_bifrost()
|
D | pan_texture.h | 208 mali_ptr coordinates, unsigned vertex_count, 218 mali_ptr coordinates, unsigned vertex_count,
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_emit.c | 140 unsigned vertex_count = vert_info->count; in draw_pt_emit() local 153 if (vertex_count == 0) in draw_pt_emit() 161 assert(vertex_count <= 65535); in draw_pt_emit() 164 (ushort)vertex_count); in draw_pt_emit() 187 vertex_count, in draw_pt_emit() 192 render->unmap_vertices(render, 0, vertex_count - 1); in draw_pt_emit()
|
D | draw_pipe.c | 238 draw->pipeline.vertex_count = vert_info->count; in draw_pipeline_run() 276 draw->pipeline.vertex_count = 0; in draw_pipeline_run() 333 draw->pipeline.vertex_count = count; in draw_pipeline_run_linear() 346 draw->pipeline.vertex_count = 0; in draw_pipeline_run_linear()
|
D | draw_pipe_util.c | 131 for (i = 0; i < draw->pipeline.vertex_count; i++) { in draw_reset_vertex_ids()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_sfbd.c | 158 unsigned vertex_count) in panfrost_emit_sfdb_local_storage() argument 177 unsigned vertex_count) in panfrost_emit_sfdb_tiler() argument 181 panfrost_emit_midg_tiler(batch, tiler, vertex_count); in panfrost_emit_sfdb_tiler() 189 panfrost_attach_sfbd(struct panfrost_batch *batch, unsigned vertex_count) in panfrost_attach_sfbd() argument 193 panfrost_emit_sfdb_local_storage(batch, sfbd, vertex_count); in panfrost_attach_sfbd() 197 panfrost_emit_sfdb_tiler(batch, sfbd, vertex_count); in panfrost_attach_sfbd()
|
D | pan_mfbd.c | 449 unsigned vertex_count) in panfrost_mfbd_emit_midgard_tiler() argument 453 panfrost_emit_midg_tiler(batch, t, vertex_count); in panfrost_mfbd_emit_midgard_tiler() 469 unsigned vertex_count) in panfrost_mfbd_emit_bifrost_tiler() argument 472 tiler.address = panfrost_batch_get_bifrost_tiler(batch, vertex_count); in panfrost_mfbd_emit_bifrost_tiler() 478 panfrost_attach_mfbd(struct panfrost_batch *batch, unsigned vertex_count) in panfrost_attach_mfbd() argument 499 panfrost_mfbd_emit_midgard_tiler(batch, fb, vertex_count); in panfrost_attach_mfbd() 508 unsigned vertex_count = has_draws; in panfrost_mfbd_fragment() local 606 panfrost_mfbd_emit_bifrost_tiler(batch, fb, vertex_count); in panfrost_mfbd_fragment() 608 panfrost_mfbd_emit_midgard_tiler(batch, fb, vertex_count); in panfrost_mfbd_fragment()
|
D | pan_context.h | 136 unsigned vertex_count; member 347 panfrost_attach_mfbd(struct panfrost_batch *batch, unsigned vertex_count); 350 panfrost_attach_sfbd(struct panfrost_batch *batch, unsigned vertex_count); 355 unsigned vertex_count);
|
D | pan_context.c | 64 unsigned vertex_count) in panfrost_emit_midg_tiler() argument 74 vertex_count, hierarchy); in panfrost_emit_midg_tiler() 86 if (vertex_count) { in panfrost_emit_midg_tiler() 249 ctx->vertex_count); in panfrost_update_streamout_offsets() 365 ctx->vertex_count; in panfrost_draw_emit_tiler() 466 ctx->vertex_count = info->count + abs(info->index_bias); in panfrost_draw_vbo() 482 unsigned vertex_count = ctx->vertex_count; in panfrost_draw_vbo() local 495 vertex_count = max_index - min_index + 1; in panfrost_draw_vbo() 504 ctx->padded_count = panfrost_padded_vertex_count(vertex_count); in panfrost_draw_vbo() 506 ctx->padded_count = vertex_count; in panfrost_draw_vbo() [all …]
|
D | pan_cmdstream.h | 75 unsigned vertex_count,
|
D | pan_job.c | 672 panfrost_batch_get_bifrost_tiler(struct panfrost_batch *batch, unsigned vertex_count) in panfrost_batch_get_bifrost_tiler() argument 674 if (!vertex_count) in panfrost_batch_get_bifrost_tiler() 864 unsigned vertex_count = rsrc->damage.inverted_len * 6; in panfrost_load_surface() local 867 panfrost_batch_get_bifrost_tiler(batch, vertex_count); in panfrost_load_surface() 872 transfer.gpu, vertex_count, in panfrost_load_surface() 878 transfer.gpu, vertex_count, in panfrost_load_surface()
|
D | pan_job.h | 208 panfrost_batch_get_bifrost_tiler(struct panfrost_batch *batch, unsigned vertex_count);
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4_gs_nir.cpp | 68 this->vertex_count = in nir_emit_intrinsic() 76 this->vertex_count = in nir_emit_intrinsic() 82 this->vertex_count = in nir_emit_intrinsic()
|
D | brw_vec4_gs_visitor.cpp | 172 this->vertex_count = src_reg(this, glsl_type::uint_type); in emit_prolog() 176 inst = emit(MOV(dst_reg(this->vertex_count), brw_imm_ud(0u))); in emit_prolog() 222 emit(GS_OPCODE_SET_VERTEX_COUNT, mrf_reg, this->vertex_count); in emit_thread_end() 247 emit(GS_OPCODE_SET_WRITE_OFFSET, mrf_reg, this->vertex_count, in emit_urb_write_header() 322 emit(ADD(dst_reg(prev_count), this->vertex_count, in emit_control_data_bits() 408 emit(SHL(dst_reg(shift_count), this->vertex_count, brw_imm_ud(1u))); in set_stream_control_data_bits() 466 emit(AND(dst_null_ud(), this->vertex_count, in gs_emit_vertex() 475 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), in gs_emit_vertex() 554 emit(ADD(dst_reg(prev_count), this->vertex_count, brw_imm_ud(0xffffffffu))); in gs_end_primitive()
|
D | gen6_gs_visitor.cpp | 223 emit(CMP(dst_null_ud(), this->vertex_count, in gs_end_primitive() 226 this->vertex_count, brw_imm_ud(0u), in gs_end_primitive() 360 this->vertex_count, in emit_thread_end() 371 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), BRW_CONDITIONAL_G)); in emit_thread_end() 383 emit(CMP(dst_null_d(), vertex, this->vertex_count, BRW_CONDITIONAL_GE)); in emit_thread_end() 628 emit(CMP(dst_null_d(), sol_temp, this->vertex_count, in xfb_write()
|
D | brw_vec4_gs_visitor.h | 69 src_reg vertex_count; variable
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_swtnl_t.c | 160 swtnl->vertex_count = 0; in swtnl_alloc_vertices() 203 unsigned npush, start = 0, count = swtnl->vertex_count; in swtnl_flush_vertices() 259 if (swtnl->vertex_count + (n) > SWTNL_VBO_SIZE/vertex_len \ 260 || (swtnl->vertex_count && swtnl->primitive != p)) \ 266 memcpy(swtnl->buf + swtnl->vertex_count * vertex_len, \ 268 swtnl->vertex_count++; \
|
D | nouveau_render.h | 48 unsigned vertex_count; member
|
/external/mesa3d/src/mesa/main/ |
D | glthread_draw.c | 462 GLsizei vertex_count = count[i]; in _mesa_marshal_MultiDrawArrays() local 464 if (vertex_count < 0) { in _mesa_marshal_MultiDrawArrays() 469 if (vertex_count == 0) in _mesa_marshal_MultiDrawArrays() 473 max_index_exclusive = MAX2(max_index_exclusive, first[i] + vertex_count); in _mesa_marshal_MultiDrawArrays() 860 GLsizei vertex_count = count[i]; in _mesa_marshal_MultiDrawElementsBaseVertex() local 862 if (vertex_count < 0) { in _mesa_marshal_MultiDrawElementsBaseVertex() 868 if (vertex_count == 0) in _mesa_marshal_MultiDrawElementsBaseVertex() 872 vbo_get_minmax_index_mapped(vertex_count, index_size, in _mesa_marshal_MultiDrawElementsBaseVertex() 882 total_count += vertex_count; in _mesa_marshal_MultiDrawElementsBaseVertex() 901 GLsizei vertex_count = count[i]; in _mesa_marshal_MultiDrawElementsBaseVertex() local [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_cmdbuf.c | 137 static void r200FireEB(r200ContextPtr rmesa, int vertex_count, int type) in r200FireEB() argument 141 if (vertex_count > 0) { in r200FireEB() 146 ((vertex_count + 0) << 16) | in r200FireEB() 152 OUT_BATCH((vertex_count + 1)/2); in r200FireEB()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_emit.h | 127 uint32_t vertex_count, uint32_t offset) in etna_draw_instanced() argument 137 VIV_FE_DRAW_INSTANCED_COUNT_VERTEX_COUNT(vertex_count)); in etna_draw_instanced()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_save.h | 64 GLuint vertex_count; /**< number of vertices in this list */ member
|