Home
last modified time | relevance | path

Searched refs:vertex_count (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_swtnl_t.c160 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++; \
Dnouveau_render.h48 unsigned vertex_count; member
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_emit.c140 unsigned vertex_count = vert_info->count; in draw_pt_emit() local
153 if (vertex_count == 0) in draw_pt_emit()
163 (ushort)vertex_count); in draw_pt_emit()
186 vertex_count, in draw_pt_emit()
191 render->unmap_vertices(render, 0, vertex_count - 1); in draw_pt_emit()
Ddraw_pipe.c234 draw->pipeline.vertex_count = vert_info->count; in draw_pipeline_run()
272 draw->pipeline.vertex_count = 0; in draw_pipeline_run()
329 draw->pipeline.vertex_count = count; in draw_pipeline_run_linear()
342 draw->pipeline.vertex_count = 0; in draw_pipeline_run_linear()
Ddraw_pipe_util.c131 for (i = 0; i < draw->pipeline.vertex_count; i++) { in draw_reset_vertex_ids()
Ddraw_gs.c294 int vertex_count = 0; in llvm_fetch_gs_outputs() local
319 debug_printf("--- %d) [%f, %f, %f, %f]\n", j + vertex_count, in llvm_fetch_gs_outputs()
327 memmove(output_ptr + (vertex_count + current_verts) * shader->vertex_size, in llvm_fetch_gs_outputs()
331 vertex_count += current_verts; in llvm_fetch_gs_outputs()
Ddraw_private.h146 unsigned vertex_count; member
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_gs_visitor.cpp172 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()
240 emit(GS_OPCODE_SET_VERTEX_COUNT, mrf_reg, this->vertex_count); in emit_thread_end()
265 emit(GS_OPCODE_SET_WRITE_OFFSET, mrf_reg, this->vertex_count, in emit_urb_write_header()
346 emit(ADD(dst_reg(prev_count), this->vertex_count, in emit_control_data_bits()
439 emit(SHL(dst_reg(shift_count), this->vertex_count, brw_imm_ud(1u))); in set_stream_control_data_bits()
497 emit(AND(dst_null_ud(), this->vertex_count, in gs_emit_vertex()
506 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), in gs_emit_vertex()
585 emit(ADD(dst_reg(prev_count), this->vertex_count, brw_imm_ud(0xffffffffu))); in gs_end_primitive()
Dbrw_vec4_gs_nir.cpp84 this->vertex_count = in nir_emit_intrinsic()
92 this->vertex_count = in nir_emit_intrinsic()
98 this->vertex_count = in nir_emit_intrinsic()
Dgen6_gs_visitor.cpp223 emit(CMP(dst_null_ud(), this->vertex_count, in gs_end_primitive()
226 this->vertex_count, brw_imm_ud(0u), in gs_end_primitive()
353 emit(CMP(dst_null_ud(), this->vertex_count, brw_imm_ud(0u), BRW_CONDITIONAL_G)); in emit_thread_end()
363 this->vertex_count, 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()
Dbrw_vec4_gs_visitor.h69 src_reg vertex_count; variable
Dbrw_fs.h255 void set_gs_stream_control_data_bits(const fs_reg &vertex_count,
257 void emit_gs_control_data_bits(const fs_reg &vertex_count);
Dbrw_fs_nir.cpp1795 fs_reg vertex_count = get_nir_src(vertex_count_nir_src); in emit_gs_end_primitive() local
1796 vertex_count.type = BRW_REGISTER_TYPE_UD; in emit_gs_end_primitive()
1823 abld.ADD(prev_count, vertex_count, brw_imm_ud(0xffffffffu)); in emit_gs_end_primitive()
1834 fs_visitor::emit_gs_control_data_bits(const fs_reg &vertex_count) in emit_gs_control_data_bits() argument
1893 abld.ADD(prev_count, vertex_count, brw_imm_ud(0xffffffffu)); in emit_gs_control_data_bits()
1947 fs_visitor::set_gs_stream_control_data_bits(const fs_reg &vertex_count, in set_gs_stream_control_data_bits() argument
1976 abld.SHL(shift_count, vertex_count, brw_imm_ud(1u)); in set_gs_stream_control_data_bits()
1996 fs_reg vertex_count = get_nir_src(vertex_count_nir_src); in emit_gs_vertex() local
1997 vertex_count.type = BRW_REGISTER_TYPE_UD; in emit_gs_vertex()
2045 abld.AND(bld.null_reg_d(), vertex_count, in emit_gs_vertex()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_save_draw.c63 const GLuint pos = node->vertex_count > 0 ? node->vertex_count - 1 : 0; in playback_copy_to_current()
327 if (node->vertex_count > 0) { in vbo_save_playback_vertex_list()
329 GLuint max_index = min_index + node->vertex_count - 1; in vbo_save_playback_vertex_list()
Dvbo_save_api.c391 node->vertex_count++; in convert_line_loop_to_strip()
439 node->vertex_count = save->vert_count; in compile_vertex_list()
468 if (node->vertex_count) in compile_vertex_list()
470 (node->vertex_count - 1) * node->vertex_size * sizeof(GLfloat); in compile_vertex_list()
479 assert(node->attrsz[VBO_ATTRIB_POS] != 0 || node->vertex_count == 0); in compile_vertex_list()
484 save->vertex_store->used += save->vertex_size * node->vertex_count; in compile_vertex_list()
1702 node->vertex_count, node->prim_count, node->vertex_size, in vbo_print_vertex_list()
Dvbo_save.h78 GLuint vertex_count; /**< number of vertices in this list */ member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_cmdbuf.c137 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/
Detnaviv_emit.h128 uint32_t vertex_count, uint32_t offset) in etna_draw_instanced() argument
138 VIV_FE_DRAW_INSTANCED_COUNT_VERTEX_COUNT(vertex_count)); in etna_draw_instanced()
/external/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c3182 uint32_t vertex_count) in radv_cs_emit_draw_packet() argument
3185 radeon_emit(cmd_buffer->cs, vertex_count); in radv_cs_emit_draw_packet()