/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 | 331 unsigned width, unsigned height, unsigned vertex_count) in panfrost_choose_tile_size() argument 361 unsigned vertex_count, bool hierarchy) in panfrost_choose_hierarchy_mask() argument 365 if (!vertex_count) in panfrost_choose_hierarchy_mask() 369 return panfrost_choose_tile_size(width, height, vertex_count); in panfrost_choose_hierarchy_mask()
|
D | pan_indirect_draw.c | 56 nir_ssa_def *vertex_count; member 417 nir_iadd_imm(b, builder->draw.vertex_count, -1), 1); in update_job() 683 nir_ssa_def *vertex_count) in update_varying_buf() argument 689 nir_ssa_def *size = nir_imul(b, stride, vertex_count); in update_varying_buf() 713 nir_ssa_def *vertex_count = in update_varyings() local 720 update_varying_buf(builder, buf_ptr, vertex_count); in update_varyings() 726 update_varying_buf(builder, buf_ptr, vertex_count); in update_varyings() 733 update_varying_buf(builder, buf_ptr, vertex_count); in update_varyings() 836 builder->instance_size.raw = builder->draw.vertex_count; in get_instance_size() 861 nir_imul_imm(b, builder->draw.vertex_count, index_size)); in get_instance_size() [all …]
|
D | pan_encoder.h | 49 unsigned vertex_count, bool hierarchy); 83 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 | 240 draw->pipeline.vertex_count = vert_info->count; in draw_pipeline_run() 278 draw->pipeline.vertex_count = 0; in draw_pipeline_run() 335 draw->pipeline.vertex_count = count; in draw_pipeline_run_linear() 348 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()
|
D | draw_gs.c | 305 int vertex_count = 0; in llvm_fetch_gs_outputs() local 330 debug_printf("--- %d) [%f, %f, %f, %f]\n", j + vertex_count, in llvm_fetch_gs_outputs() 338 memmove(output_ptr + (vertex_count + current_verts) * shader->vertex_size, in llvm_fetch_gs_outputs() 342 vertex_count += current_verts; in llvm_fetch_gs_outputs()
|
/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() 246 emit(GS_OPCODE_SET_WRITE_OFFSET, mrf_reg, this->vertex_count, in emit_urb_write_header() 321 emit(ADD(dst_reg(prev_count), this->vertex_count, in emit_control_data_bits() 407 emit(SHL(dst_reg(shift_count), this->vertex_count, brw_imm_ud(1u))); in set_stream_control_data_bits() 465 emit(AND(dst_null_ud(), this->vertex_count, in gs_emit_vertex() 474 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), in gs_emit_vertex() 553 emit(ADD(dst_reg(prev_count), this->vertex_count, brw_imm_ud(0xffffffffu))); in gs_end_primitive()
|
D | gfx6_gs_visitor.cpp | 222 emit(CMP(dst_null_ud(), this->vertex_count, in gs_end_primitive() 225 this->vertex_count, brw_imm_ud(0u), in gs_end_primitive() 359 this->vertex_count, in emit_thread_end() 370 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), BRW_CONDITIONAL_G)); in emit_thread_end() 382 emit(CMP(dst_null_d(), vertex, this->vertex_count, BRW_CONDITIONAL_GE)); in emit_thread_end() 590 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
|
/third_party/spirv-tools/source/val/ |
D | validate_mesh_shading.cpp | 93 const uint32_t vertex_count = _.GetOperandTypeId(inst, 0); in MeshShadingPass() local 94 if (!_.IsUnsignedIntScalarType(vertex_count) || in MeshShadingPass() 95 _.GetBitWidth(vertex_count) != 32) { in MeshShadingPass()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_save_api.c | 267 node->cold->vertex_count++; in convert_line_loop_to_strip() 399 grow_vertex_storage(struct gl_context *ctx, int vertex_count) in grow_vertex_storage() argument 405 vertex_count * save->vertex_size) * sizeof(GLfloat); in grow_vertex_storage() 409 vertex_count > 0 && in grow_vertex_storage() 533 node->cold->vertex_count = get_vertex_count(save); in compile_vertex_list() 554 if (node->cold->vertex_count) in compile_vertex_list() 555 vertex_offset = (node->cold->vertex_count - 1) * stride; in compile_vertex_list() 566 assert(save->attrsz[VBO_ATTRIB_POS] != 0 || node->cold->vertex_count == 0); in compile_vertex_list() 586 if (node->cold->vertex_count == 0 || node->cold->prim_count == 0) in compile_vertex_list() 629 int vertex_count = original_prims[i].count; in compile_vertex_list() local [all …]
|
D | vbo_save.h | 91 GLuint vertex_count; /**< number of vertices in this list */ member
|
/third_party/mesa3d/src/mesa/main/ |
D | glthread_draw.c | 526 GLsizei vertex_count = count[i]; in _mesa_marshal_MultiDrawArrays() local 528 if (vertex_count < 0) { in _mesa_marshal_MultiDrawArrays() 533 if (vertex_count == 0) in _mesa_marshal_MultiDrawArrays() 537 max_index_exclusive = MAX2(max_index_exclusive, first[i] + vertex_count); in _mesa_marshal_MultiDrawArrays() 1046 GLsizei vertex_count = count[i]; in _mesa_marshal_MultiDrawElementsBaseVertex() local 1048 if (vertex_count < 0) { in _mesa_marshal_MultiDrawElementsBaseVertex() 1054 if (vertex_count == 0) in _mesa_marshal_MultiDrawElementsBaseVertex() 1058 vbo_get_minmax_index_mapped(vertex_count, index_size, in _mesa_marshal_MultiDrawElementsBaseVertex() 1068 total_count += vertex_count; in _mesa_marshal_MultiDrawElementsBaseVertex() 1087 GLsizei vertex_count = count[i]; in _mesa_marshal_MultiDrawElementsBaseVertex() local [all …]
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_varyings.h | 114 unsigned vertex_count) in panvk_varyings_alloc() argument 120 unsigned size = varyings->buf[buf_idx].stride * vertex_count; in panvk_varyings_alloc()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_compute_transforms.cpp | 174 nir_ssa_def *vertex_count = nir_idiv(&b, real_so_bytes_added, stride); in get_fake_so_buffer_vertex_count() local 175 …nir_ssa_def *to_write_to_fake_buffer = nir_vec4(&b, vertex_count, nir_imm_int(&b, 1), nir_imm_int(… in get_fake_so_buffer_vertex_count() 204 nir_ssa_def *vertex_count = nir_idiv(&b, vb_bytes, stride); in get_draw_auto() local 205 …nir_ssa_def *to_write = nir_vec4(&b, vertex_count, nir_imm_int(&b, 1), nir_imm_int(&b, 0), nir_imm… in get_draw_auto()
|
D | d3d12_nir_passes.c | 759 nir_ssa_def *vertex_count = nir_load_var(b, vertex_count_var); in lower_triangle_strip_store() local 760 nir_ssa_def *index = nir_imin(b, vertex_count, nir_imm_int(b, 2)); in lower_triangle_strip_store() 794 nir_ssa_def *vertex_count = nir_load_var(b, vertex_count_var); in lower_triangle_strip_emit_vertex() local 795 nir_ssa_def *count_cmp = nir_uge(b, vertex_count, two); in lower_triangle_strip_emit_vertex() 811 …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() 819 vertex_count = nir_iadd(b, vertex_count, nir_imm_int(b, 1)); in lower_triangle_strip_emit_vertex() 820 nir_store_var(b, vertex_count_var, vertex_count, 0x1); in lower_triangle_strip_emit_vertex()
|
/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/mesa3d/src/microsoft/vulkan/ |
D | dzn_nir.h | 35 uint32_t vertex_count; member
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_cmdstream.c | 1343 uniforms[i].u[0] = batch->ctx->vertex_count; in panfrost_upload_sysvals() 2533 unsigned vertex_count, in panfrost_emit_varying_descriptor() argument 2595 stride, vertex_count); in panfrost_emit_varying_descriptor() 2606 sizeof(float) * 4, vertex_count); in panfrost_emit_varying_descriptor() 2611 2, vertex_count); in panfrost_emit_varying_descriptor() 2815 ctx->vertex_count); in panfrost_update_streamout_offsets() 3024 panfrost_batch_get_bifrost_tiler(struct panfrost_batch *batch, unsigned vertex_count) in panfrost_batch_get_bifrost_tiler() argument 3028 if (!vertex_count) in panfrost_batch_get_bifrost_tiler() 3604 ctx->vertex_count = draw->count + (info->index_size ? abs(draw->index_bias) : 0); in panfrost_direct_draw() 3631 unsigned vertex_count = ctx->vertex_count; in panfrost_direct_draw() local [all …]
|
D | pan_context.h | 172 unsigned vertex_count; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device_generated_commands.c | 286 dgc_emit_draw(nir_builder *b, struct dgc_cmdbuf *cs, nir_ssa_def *vertex_count) in dgc_emit_draw() argument 288 nir_ssa_def *values[3] = {nir_imm_int(b, PKT3(PKT3_DRAW_INDEX_AUTO, 1, false)), vertex_count, in dgc_emit_draw() 786 nir_ssa_def *vertex_count = nir_channel(&b, draw_data0, 0); in build_dgc_prepare_shader() local 791 …nir_push_if(&b, nir_iand(&b, nir_ine_imm(&b, vertex_count, 0), nir_ine_imm(&b, instance_count, 0))… in build_dgc_prepare_shader() 795 dgc_emit_draw(&b, &cmd_buf, vertex_count); in build_dgc_prepare_shader()
|