/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_private.h | 68 svga_translate_prim(unsigned mode, unsigned vcount, unsigned *prim_count, in svga_translate_prim() argument 73 *prim_count = vcount; in svga_translate_prim() 77 *prim_count = vcount / 2; in svga_translate_prim() 81 *prim_count = vcount - 1; in svga_translate_prim() 85 *prim_count = vcount / 3; in svga_translate_prim() 89 *prim_count = vcount - 2; in svga_translate_prim() 93 *prim_count = vcount - 2; in svga_translate_prim() 97 *prim_count = vcount / 4; in svga_translate_prim() 101 *prim_count = vcount - 3; in svga_translate_prim() 105 *prim_count = vcount / 6; in svga_translate_prim() [all …]
|
D | svga_draw.c | 80 for (i = 0; i < hwtnl->cmd.prim_count; i++) in svga_hwtnl_destroy() 122 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_vertex_decls() 170 if (!hwtnl->cmd.prim_count) { in svga_hwtnl_is_buffer_referred() 180 for (i = 0; i < hwtnl->cmd.prim_count; ++i) { in svga_hwtnl_is_buffer_referred() 231 for (i = 0; i < hwtnl->cmd.prim_count; i++) { in draw_vgpu9() 275 hwtnl->cmd.prim_count); in draw_vgpu9() 280 &prim, hwtnl->cmd.prim_count); in draw_vgpu9() 297 if (hwtnl->cmd.prim_count == 1) { in draw_vgpu9() 312 hwtnl->cmd.prim, hwtnl->cmd.prim_count * sizeof hwtnl->cmd.prim[0]); in draw_vgpu9() 314 for (i = 0; i < hwtnl->cmd.prim_count; i++) { in draw_vgpu9() [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | gfx6_gs_visitor.cpp | 97 this->prim_count = src_reg(this, glsl_type::uint_type); in emit_prolog() 98 emit(MOV(dst_reg(this->prim_count), brw_imm_ud(0u))); in emit_prolog() 186 emit(ADD(dst_reg(this->prim_count), this->prim_count, brw_imm_ud(1u))); in gs_emit_vertex() 242 emit(ADD(dst_reg(this->prim_count), this->prim_count, brw_imm_ud(1u))); in gs_end_primitive() 360 this->prim_count, in emit_thread_end() 363 dst_reg(this->temp), this->prim_count, this->svbi); in emit_thread_end() 366 dst_reg(this->temp), this->prim_count, brw_imm_ud(0u)); in emit_thread_end()
|
D | gfx6_gs_visitor.h | 72 src_reg prim_count; variable
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_exec_draw.c | 49 exec->vtx.prim_count, in vbo_exec_debug_verts() 52 for (i = 0 ; i < exec->vtx.prim_count ; i++) { in vbo_exec_debug_verts() 70 unsigned last = exec->vtx.prim_count - 1; in vbo_exec_copy_vertices() 314 if (exec->vtx.prim_count && in vbo_exec_vtx_flush() 332 printf("%s %d %d\n", __func__, exec->vtx.prim_count, in vbo_exec_vtx_flush() 338 exec->vtx.prim_count); in vbo_exec_vtx_flush() 367 exec->vtx.prim_count = 0; in vbo_exec_vtx_flush()
|
D | vbo_exec_api.c | 66 if (exec->vtx.prim_count == 0) { in vbo_exec_wrap_buffers() 73 unsigned last = exec->vtx.prim_count - 1; in vbo_exec_wrap_buffers() 105 exec->vtx.prim_count = 0; in vbo_exec_wrap_buffers() 111 assert(exec->vtx.prim_count == 0); in vbo_exec_wrap_buffers() 117 exec->vtx.prim_count++; in vbo_exec_wrap_buffers() 844 i = exec->vtx.prim_count++; in _mesa_Begin() 875 unsigned cur = exec->vtx.prim_count - 1; in try_vbo_merge() 877 assert(exec->vtx.prim_count >= 1); in try_vbo_merge() 881 if (exec->vtx.prim_count >= 2) { in try_vbo_merge() 896 exec->vtx.prim_count--; /* drop the last primitive */ in try_vbo_merge() [all …]
|
D | vbo_save_loopback.c | 184 const GLuint prim_count = node->cold->prim_count; in _vbo_loopback_vertex_list() local 186 for (GLuint i = 0; i < prim_count; i++) { in _vbo_loopback_vertex_list()
|
D | vbo_save_api.c | 154 struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in copy_vertices() 175 realloc_prim_store(struct vbo_save_primitive_store *store, int prim_count) in realloc_prim_store() argument 181 store->size = prim_count; in realloc_prim_store() 206 GLuint *prim_count) in merge_prims() argument 211 for (i = 1; i < *prim_count; i++) { in merge_prims() 237 *prim_count = prev_prim - prim_list + 1; in merge_prims() 250 struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in convert_line_loop_to_strip() 538 node->cold->prim_count = save->prim_store->used; in compile_vertex_list() 575 if (node->cold->prims[node->cold->prim_count - 1].mode == GL_LINE_LOOP) { in compile_vertex_list() 579 merge_prims(ctx, node->cold->prims, &node->cold->prim_count); in compile_vertex_list() [all …]
|
D | vbo_save_draw.c | 121 if (node->cold->prim_count) { in playback_copy_to_current() 122 const struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in playback_copy_to_current()
|
D | vbo_save.h | 95 GLuint prim_count; member
|
D | vbo.h | 110 unsigned prim_count; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_vsc.c | 65 prim_count(const struct pipe_draw_info *info, in prim_count() function 95 unsigned num_prims = prim_count(info, draw); in primitive_stream_size_bits()
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.c | 1840 unsigned prim_count; in emit_vertex() local 1848 prim_count = mach->OutputPrimCount[stream_id]; in emit_vertex() 1850 if (mach->Primitives[stream_id][prim_count] >= mach->MaxOutputVertices) in emit_vertex() 1853 if (mach->Primitives[stream_id][prim_count] == 0) in emit_vertex() 1854 mach->PrimitiveOffsets[stream_id][prim_count] = mach->OutputVertexOffset; in emit_vertex() 1856 mach->Primitives[stream_id][prim_count]++; in emit_vertex() 1864 unsigned *prim_count; in emit_primitive() local 1876 prim_count = &mach->OutputPrimCount[stream_id]; in emit_primitive() 1878 ++(*prim_count); in emit_primitive() 1879 assert((*prim_count * mach->NumOutputs) < TGSI_MAX_TOTAL_VERTICES); in emit_primitive() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | draw.c | 461 size_t prim_count = count_tessellated_primitives(mode, count, numInstances); in validate_draw_arrays() local 462 if (xfb_obj->GlesRemainingPrims < prim_count) in validate_draw_arrays() 465 xfb_obj->GlesRemainingPrims -= prim_count; in validate_draw_arrays()
|
D | dlist.c | 780 node->cold->vertex_count, node->cold->prim_count, vertex_size, in vbo_print_vertex_list() 783 for (i = 0; i < node->cold->prim_count; i++) { in vbo_print_vertex_list()
|