/third_party/mesa3d/src/panfrost/lib/ |
D | pan_attributes.c | 49 panfrost_large_padded_vertex_count(uint32_t vertex_count) in panfrost_large_padded_vertex_count() argument 52 unsigned highest = 32 - __builtin_clz(vertex_count); in panfrost_large_padded_vertex_count() 56 unsigned nibble = (vertex_count >> n) & 0xF; in panfrost_large_padded_vertex_count() 82 panfrost_padded_vertex_count(unsigned vertex_count) in panfrost_padded_vertex_count() argument 84 if (vertex_count < 20) in panfrost_padded_vertex_count() 85 return panfrost_small_padded_vertex_count(vertex_count); in panfrost_padded_vertex_count() 87 return panfrost_large_padded_vertex_count(vertex_count); in panfrost_padded_vertex_count()
|
D | pan_tiler.c | 332 unsigned width, unsigned height, unsigned vertex_count) in panfrost_choose_tile_size() argument 362 unsigned vertex_count, bool hierarchy) in panfrost_choose_hierarchy_mask() argument 366 if (!vertex_count) in panfrost_choose_hierarchy_mask() 370 return panfrost_choose_tile_size(width, height, vertex_count); in panfrost_choose_hierarchy_mask()
|
D | pan_indirect_draw.c | 57 nir_ssa_def *vertex_count; member 412 nir_iadd_imm(b, builder->draw.vertex_count, -1), 1); in update_job() 685 nir_ssa_def *vertex_count) in update_varying_buf() argument 691 nir_ssa_def *size = nir_imul(b, stride, vertex_count); in update_varying_buf() 715 nir_ssa_def *vertex_count = in update_varyings() local 722 update_varying_buf(builder, buf_ptr, vertex_count); in update_varyings() 728 update_varying_buf(builder, buf_ptr, vertex_count); in update_varyings() 735 update_varying_buf(builder, buf_ptr, vertex_count); in update_varyings() 827 builder->instance_size.raw = builder->draw.vertex_count; in get_instance_size() 852 nir_imul_imm(b, builder->draw.vertex_count, index_size)); in get_instance_size() [all …]
|
D | pan_encoder.h | 50 unsigned vertex_count, bool hierarchy); 86 panfrost_padded_vertex_count(unsigned vertex_count);
|
/third_party/skia/modules/skottie/src/animator/ |
D | ShapeKeyframeAnimator.cpp | 37 static size_t shape_encoding_len(size_t vertex_count) { in shape_encoding_len() argument 38 return vertex_count * kFloatsPerVertex + 1; in shape_encoding_len() 117 const auto vertex_count = this->size() / kFloatsPerVertex; in operator SkPath() local 121 if (vertex_count) { in operator SkPath() 123 path.incReserve(1 + SkToInt(vertex_count * 3)); in operator SkPath() 152 for (size_t i = 1; i < vertex_count; ++i) { in operator SkPath() 157 if (vertex_count && this->back() != 0) { in operator SkPath() 158 addCubic(vertex_count - 1, 0); in operator SkPath()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_emit.c | 142 unsigned vertex_count = vert_info->count; in draw_pt_emit() local 155 if (vertex_count == 0) in draw_pt_emit() 165 assert(vertex_count <= 65535); in draw_pt_emit() 168 (ushort)vertex_count); in draw_pt_emit() 191 vertex_count, in draw_pt_emit() 196 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()
|
/third_party/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 | 173 this->vertex_count = src_reg(this, glsl_type::uint_type); in emit_prolog() 177 inst = emit(MOV(dst_reg(this->vertex_count), brw_imm_ud(0u))); in emit_prolog() 223 emit(GS_OPCODE_SET_VERTEX_COUNT, mrf_reg, this->vertex_count); in emit_thread_end() 248 emit(GS_OPCODE_SET_WRITE_OFFSET, mrf_reg, this->vertex_count, in emit_urb_write_header() 323 emit(ADD(dst_reg(prev_count), this->vertex_count, in emit_control_data_bits() 409 emit(SHL(dst_reg(shift_count), this->vertex_count, brw_imm_ud(1u))); in set_stream_control_data_bits() 467 emit(AND(dst_null_ud(), this->vertex_count, in gs_emit_vertex() 476 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), in gs_emit_vertex() 555 emit(ADD(dst_reg(prev_count), this->vertex_count, brw_imm_ud(0xffffffffu))); in gs_end_primitive()
|
D | gfx6_gs_visitor.cpp | 221 emit(CMP(dst_null_ud(), this->vertex_count, in gs_end_primitive() 224 this->vertex_count, brw_imm_ud(0u), in gs_end_primitive() 358 this->vertex_count, in emit_thread_end() 369 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), BRW_CONDITIONAL_G)); in emit_thread_end() 381 emit(CMP(dst_null_d(), vertex, this->vertex_count, BRW_CONDITIONAL_GE)); in emit_thread_end() 589 emit(CMP(dst_null_d(), sol_temp, this->vertex_count, in xfb_write()
|
D | brw_vec4_gs_visitor.h | 70 src_reg vertex_count; variable
|
/third_party/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
|
/third_party/mesa3d/src/mesa/main/ |
D | glthread_draw.c | 519 GLsizei vertex_count = count[i]; in _mesa_marshal_MultiDrawArrays() local 521 if (vertex_count < 0) { in _mesa_marshal_MultiDrawArrays() 526 if (vertex_count == 0) in _mesa_marshal_MultiDrawArrays() 530 max_index_exclusive = MAX2(max_index_exclusive, first[i] + vertex_count); in _mesa_marshal_MultiDrawArrays() 1032 GLsizei vertex_count = count[i]; in _mesa_marshal_MultiDrawElementsBaseVertex() local 1034 if (vertex_count < 0) { in _mesa_marshal_MultiDrawElementsBaseVertex() 1040 if (vertex_count == 0) in _mesa_marshal_MultiDrawElementsBaseVertex() 1044 vbo_get_minmax_index_mapped(vertex_count, index_size, in _mesa_marshal_MultiDrawElementsBaseVertex() 1054 total_count += vertex_count; in _mesa_marshal_MultiDrawElementsBaseVertex() 1073 GLsizei vertex_count = count[i]; in _mesa_marshal_MultiDrawElementsBaseVertex() local [all …]
|
/third_party/boost/libs/graph/test/ |
D | grid_graph_test.cpp | 101 vertices_size_type vertex_count = 0; in do_test() local 188 ++vertex_count; in do_test() 191 BOOST_TEST(vertex_count == num_vertices(graph)); in do_test()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_varyings.h | 149 unsigned vertex_count) in panvk_varyings_alloc() argument 155 unsigned size = varyings->buf[buf_idx].stride * vertex_count; in panvk_varyings_alloc()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_nir_passes.c | 702 nir_ssa_def *vertex_count = nir_load_var(b, vertex_count_var); in lower_triangle_strip_store() local 703 nir_ssa_def *index = nir_imin(b, vertex_count, nir_imm_int(b, 2)); in lower_triangle_strip_store() 737 nir_ssa_def *vertex_count = nir_load_var(b, vertex_count_var); in lower_triangle_strip_emit_vertex() local 738 nir_ssa_def *count_cmp = nir_uge(b, vertex_count, two); in lower_triangle_strip_emit_vertex() 754 …f(b, nir_build_deref_array(b, nir_build_deref_var(b, varyings[i]), nir_umod(b, vertex_count, two)), in lower_triangle_strip_emit_vertex() 762 vertex_count = nir_iadd(b, vertex_count, nir_imm_int(b, 1)); in lower_triangle_strip_emit_vertex() 763 nir_store_var(b, vertex_count_var, vertex_count, 0x1); in lower_triangle_strip_emit_vertex()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_save_api.c | 274 node->cold->vertex_count++; in convert_line_loop_to_strip() 406 grow_vertex_storage(struct gl_context *ctx, int vertex_count) in grow_vertex_storage() argument 412 vertex_count * save->vertex_size) * sizeof(GLfloat); in grow_vertex_storage() 416 vertex_count > 0 && in grow_vertex_storage() 542 node->cold->vertex_count = get_vertex_count(save); in compile_vertex_list() 563 if (node->cold->vertex_count) in compile_vertex_list() 564 vertex_offset = (node->cold->vertex_count - 1) * stride; in compile_vertex_list() 575 assert(save->attrsz[VBO_ATTRIB_POS] != 0 || node->cold->vertex_count == 0); in compile_vertex_list() 595 if (node->cold->vertex_count == 0 || node->cold->prim_count == 0) in compile_vertex_list() 635 int vertex_count = original_prims[i].count; in compile_vertex_list() local [all …]
|
D | vbo_save.h | 87 GLuint vertex_count; /**< number of vertices in this list */ member
|
/third_party/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()
|
/third_party/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()
|
/third_party/boost/libs/compute/example/ |
D | opengl_sphere.cpp | 50 const size_t vertex_count = phi_slices * theta_slices; in tesselate_sphere() local 57 sizeof(float) * 4 * vertex_count, in tesselate_sphere()
|
/third_party/boost/boost/graph/ |
D | dijkstra_shortest_paths_no_color_map.hpp | 205 typename std::vector< DistanceType >::size_type vertex_count in dijkstra_no_color_map_dispatch1() local 208 std::vector< DistanceType > default_distance_map(vertex_count); in dijkstra_no_color_map_dispatch1()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_cmdstream.c | 2197 unsigned vertex_count, in panfrost_emit_varying_descriptor() argument 2263 u_stream_outputs_for_vertices(ctx->active_prim, ctx->vertex_count); in panfrost_emit_varying_descriptor() 2275 stride, vertex_count); in panfrost_emit_varying_descriptor() 2281 sizeof(float) * 4, vertex_count); in panfrost_emit_varying_descriptor() 2286 2, vertex_count); in panfrost_emit_varying_descriptor() 2490 ctx->vertex_count); in panfrost_update_streamout_offsets() 2642 panfrost_batch_get_bifrost_tiler(struct panfrost_batch *batch, unsigned vertex_count) in panfrost_batch_get_bifrost_tiler() argument 2646 if (!vertex_count) in panfrost_batch_get_bifrost_tiler() 2788 ctx->vertex_count = draw->count + (info->index_size ? abs(draw->index_bias) : 0); in panfrost_direct_draw() 2800 unsigned vertex_count = ctx->vertex_count; in panfrost_direct_draw() local [all …]
|