| /xsrc/external/mit/MesaLib/dist/src/mesa/vbo/ |
| H A D | vbo_exec_draw.c | 46 GLuint count = exec->vtx.vert_count; 52 exec->vtx.prim_count, 53 exec->vtx.vertex_size); 55 for (i = 0 ; i < exec->vtx.prim_count ; i++) { 58 _mesa_lookup_prim_by_nr(exec->vtx.mode[i]), 59 exec->vtx.draw[i].start, 60 exec->vtx.draw[i].start + exec->vtx.draw[i].count, 61 exec->vtx.markers[i].begin ? "BEGIN" : "(wrap)", 62 exec->vtx [all...] |
| H A D | vbo_exec_api.c | 78 if (exec->vtx.prim_count == 0) { 79 exec->vtx.copied.nr = 0; 80 exec->vtx.vert_count = 0; 81 exec->vtx.buffer_ptr = exec->vtx.buffer_map; 85 unsigned last = exec->vtx.prim_count - 1; 86 struct pipe_draw_start_count_bias *last_draw = &exec->vtx.draw[last]; 87 const bool last_begin = exec->vtx.markers[last].begin; 91 last_draw->count = exec->vtx.vert_count - last_draw->start; 93 exec->vtx [all...] |
| H A D | vbo_exec_eval.c | 144 COPY_SZ_4V( exec->vtx.attrptr[attr], 145 exec->vtx.attr[attr].size, 194 COPY_SZ_4V( exec->vtx.attrptr[attr], 195 exec->vtx.attr[attr].size, 233 COPY_SZ_4V( exec->vtx.attrptr[VBO_ATTRIB_NORMAL], 234 exec->vtx.attr[VBO_ATTRIB_NORMAL].size, 244 if (exec->vtx.attr[VBO_ATTRIB_POS].size == 4)
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/ |
| H A D | t_vertex.c | 41 static GLboolean match_fastpath( struct tnl_clipspace *vtx, argument 46 if (vtx->attr_count != fp->attr_count) 49 for (j = 0; j < vtx->attr_count; j++) 50 if (vtx->attr[j].format != fp->attr[j].format || 51 vtx->attr[j].inputsize != fp->attr[j].size || 52 vtx->attr[j].vertoffset != fp->attr[j].offset) 56 if (vtx->vertex_size != fp->vertex_size) 59 for (j = 0; j < vtx->attr_count; j++) 60 if (vtx->attr[j].inputstride != fp->attr[j].stride) 67 static GLboolean search_fastpath_emit( struct tnl_clipspace *vtx ) argument 81 _tnl_register_fastpath(struct tnl_clipspace * vtx,GLboolean match_strides) argument 123 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:choose_emit_func 169 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:choose_interp_func 186 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:choose_copy_pv_func 214 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_interp 222 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_copy_pv 234 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_get_attr 265 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_set_attr 281 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_get_vertex 290 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_invalidate_vertex_state 297 invalidate_funcs(struct tnl_clipspace * vtx) argument 309 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_install_attrs 382 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_invalidate_vertices 392 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_notify_pipeline_output_change 400 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:adjust_input_ptrs 415 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:update_input_ptrs 449 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_build_vertices 464 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_emit_vertices_to_buffer 483 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_emit_indexed_vertices_to_buffer 506 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_init_vertices 557 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_free_vertices [all...] |
| H A D | t_vertex_generic.c | 873 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); \ 874 struct tnl_clipspace_attr *a = vtx->attr; \ 877 for (i = 0 ; i < count ; i++, v += vtx->vertex_size) { \ 934 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:EMIT2 940 switch (vtx->attr_count) { 942 if (vtx->attr[0].emit == insert_3f_viewport_3) { 943 if (vtx->attr[1].emit == insert_4ub_4f_bgra_4) 945 else if (vtx->attr[1].emit == insert_4ub_4f_rgba_4) 948 else if (vtx->attr[0].emit == insert_3f_3 && 949 vtx 994 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_generic_emit 1017 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_generic_interp 1063 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_generic_copy_pv [all...] |
| H A D | t_vertex_sse.c | 309 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local in function:get_src_ptr 310 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 323 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local in function:update_src_ptr 324 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 348 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:build_vertex_emit 378 /* Dereference ctx to get tnl, then vtx: 387 if (vtx->need_viewport) { 388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0]))); 389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx, 644 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_generate_sse_emit [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/tnl/ |
| H A D | t_vertex.c | 42 static GLboolean match_fastpath( struct tnl_clipspace *vtx, argument 47 if (vtx->attr_count != fp->attr_count) 50 for (j = 0; j < vtx->attr_count; j++) 51 if (vtx->attr[j].format != fp->attr[j].format || 52 vtx->attr[j].inputsize != fp->attr[j].size || 53 vtx->attr[j].vertoffset != fp->attr[j].offset) 57 if (vtx->vertex_size != fp->vertex_size) 60 for (j = 0; j < vtx->attr_count; j++) 61 if (vtx->attr[j].inputstride != fp->attr[j].stride) 68 static GLboolean search_fastpath_emit( struct tnl_clipspace *vtx ) argument 82 _tnl_register_fastpath(struct tnl_clipspace * vtx,GLboolean match_strides) argument 124 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:choose_emit_func 170 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:choose_interp_func 187 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:choose_copy_pv_func 215 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_interp 223 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_copy_pv 235 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_get_attr 266 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_set_attr 282 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_get_vertex 291 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_invalidate_vertex_state 298 invalidate_funcs(struct tnl_clipspace * vtx) argument 310 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_install_attrs 383 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_invalidate_vertices 393 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_notify_pipeline_output_change 401 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:adjust_input_ptrs 416 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:update_input_ptrs 450 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_build_vertices 465 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_emit_vertices_to_buffer 484 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_emit_indexed_vertices_to_buffer 507 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_init_vertices 558 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_free_vertices [all...] |
| H A D | t_vertex_generic.c | 873 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); \ 874 struct tnl_clipspace_attr *a = vtx->attr; \ 877 for (i = 0 ; i < count ; i++, v += vtx->vertex_size) { \ 934 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:EMIT2 940 switch (vtx->attr_count) { 942 if (vtx->attr[0].emit == insert_3f_viewport_3) { 943 if (vtx->attr[1].emit == insert_4ub_4f_bgra_4) 945 else if (vtx->attr[1].emit == insert_4ub_4f_rgba_4) 948 else if (vtx->attr[0].emit == insert_3f_3 && 949 vtx 994 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_generic_emit 1017 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_generic_interp 1063 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_generic_copy_pv [all...] |
| H A D | t_vertex_sse.c | 309 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local in function:get_src_ptr 310 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 323 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local in function:update_src_ptr 324 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 348 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:build_vertex_emit 378 /* Dereference ctx to get tnl, then vtx: 387 if (vtx->need_viewport) { 388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0]))); 389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx, 644 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local in function:_tnl_generate_sse_emit [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/ |
| H A D | vbo_exec_draw.c | 46 GLuint count = exec->vtx.vert_count; 52 exec->vtx.prim_count, 53 exec->vtx.vertex_size); 55 for (i = 0 ; i < exec->vtx.prim_count ; i++) { 56 struct _mesa_prim *prim = &exec->vtx.prim[i]; 79 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; 82 const GLuint sz = exec->vtx.vertex_size; 83 fi_type *dst = exec->vtx.copied.buffer; 84 const fi_type *src = exec->vtx [all...] |
| H A D | vbo_exec_api.c | 67 if (exec->vtx.prim_count == 0) { 68 exec->vtx.copied.nr = 0; 69 exec->vtx.vert_count = 0; 70 exec->vtx.buffer_ptr = exec->vtx.buffer_map; 73 struct _mesa_prim *last_prim = &exec->vtx.prim[exec->vtx.prim_count - 1]; 78 last_prim->count = exec->vtx.vert_count - last_prim->start; 101 if (exec->vtx.vert_count) 104 exec->vtx [all...] |
| H A D | vbo_exec_eval.c | 142 COPY_SZ_4V( exec->vtx.attrptr[attr], 143 exec->vtx.attrsz[attr], 191 COPY_SZ_4V( exec->vtx.attrptr[attr], 192 exec->vtx.attrsz[attr], 230 COPY_SZ_4V( exec->vtx.attrptr[VBO_ATTRIB_NORMAL], 231 exec->vtx.attrsz[VBO_ATTRIB_NORMAL], 241 if (exec->vtx.attrsz[0] == 4)
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/ |
| H A D | disasm-a2xx.c | 327 instr_fetch_vtx_t *vtx = &fetch->vtx; local in function:print_fetch_vtx 329 if (vtx->pred_select) { 333 printf(vtx->pred_condition ? "EQ" : "NE"); 336 print_fetch_dst(vtx->dst_reg, vtx->dst_swiz); 337 printf(" = R%u.", vtx->src_reg); 338 printf("%c", chan_names[vtx->src_swiz & 0x3]); 339 if (fetch_types[vtx->format].name) { 340 printf(" %s", fetch_types[vtx [all...] |
| H A D | ir2_assemble.c | 183 instr_fetch_vtx_t *vtx = &bc->fetch.vtx; local in function:fill_instr 185 assert(instr->fetch.vtx.const_idx <= 0x1f); 186 assert(instr->fetch.vtx.const_idx_sel <= 0x3); 188 vtx->src_reg = src_to_reg(ctx, src); 189 vtx->src_swiz = fetch_swizzle(ctx, src, 1); 190 vtx->dst_reg = dst_to_reg(ctx, instr); 191 vtx->dst_swiz = fetch_dst_swiz(ctx, instr); 193 vtx->must_be_one = 1; 194 vtx [all...] |
| H A D | ir2.h | 40 } vtx; member in union:ir2_fetch_info::__anona57b754f010a
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir2/ |
| H A D | disasm-a2xx.c | 344 instr_fetch_vtx_t *vtx = &fetch->vtx; local in function:print_fetch_vtx 346 if (vtx->pred_select) { 350 printf(vtx->pred_condition ? "EQ" : "NE"); 353 print_fetch_dst(vtx->dst_reg, vtx->dst_swiz); 354 printf(" = R%u.", vtx->src_reg); 355 printf("%c", chan_names[vtx->src_swiz & 0x3]); 356 if (fetch_types[vtx->format].name) { 357 printf(" %s", fetch_types[vtx [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/ |
| H A D | r200_maos_arrays.c | 188 if (vfmt0 != rmesa->hw.vtx.cmd[VTX_VTXFMT_0] || 189 vfmt1 != rmesa->hw.vtx.cmd[VTX_VTXFMT_1]) { 190 R200_STATECHANGE( rmesa, vtx ); 191 rmesa->hw.vtx.cmd[VTX_VTXFMT_0] = vfmt0; 192 rmesa->hw.vtx.cmd[VTX_VTXFMT_1] = vfmt1;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/ |
| H A D | r200_maos_arrays.c | 187 if (vfmt0 != rmesa->hw.vtx.cmd[VTX_VTXFMT_0] || 188 vfmt1 != rmesa->hw.vtx.cmd[VTX_VTXFMT_1]) { 189 R200_STATECHANGE( rmesa, vtx ); 190 rmesa->hw.vtx.cmd[VTX_VTXFMT_0] = vfmt0; 191 rmesa->hw.vtx.cmd[VTX_VTXFMT_1] = vfmt1;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/ |
| H A D | fd2_program.c | 179 instr->stride = ctx->vtx.vertexbuf.vb[elem->vertex_buffer_index].stride; 185 struct fd_vertex_stateobj *vtx, 194 (instr->vtx.const_index - 20) * 3 + instr->vtx.const_index_sel; 195 patch_vtx_fetch(ctx, &vtx->pipe[idx], &instr->vtx, fi->vtx.dst_swiz); 243 patch_fetches(ctx, vpi, ctx->vtx.vtx, &ctx->tex[PIPE_SHADER_VERTEX]); 184 patch_fetches(struct fd_context * ctx,struct ir2_shader_info * info,struct fd_vertex_stateobj * vtx,struct fd_texture_stateobj * tex) argument
|
| H A D | ir2_assemble.c | 186 instr_fetch_vtx_t *vtx = &bc->fetch.vtx; local in function:fill_instr 188 assert(instr->fetch.vtx.const_idx <= 0x1f); 189 assert(instr->fetch.vtx.const_idx_sel <= 0x3); 191 vtx->src_reg = src_to_reg(ctx, src); 192 vtx->src_swiz = fetch_swizzle(ctx, src, 1); 193 vtx->dst_reg = dst_to_reg(ctx, instr); 194 vtx->dst_swiz = fetch_dst_swiz(ctx, instr); 196 vtx->must_be_one = 1; 197 vtx [all...] |
| H A D | ir2.h | 40 } vtx; member in union:ir2_fetch_info::__anond9066522010a
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| H A D | r600_asm.c | 59 LIST_INITHEAD(&cf->vtx); 77 struct r600_bytecode_vtx *vtx = CALLOC_STRUCT(r600_bytecode_vtx); local in function:r600_bytecode_vtx 79 if (!vtx) 81 LIST_INITHEAD(&vtx->list); 82 return vtx; 1222 /* cf can contains only alu or only vtx or only tex */ 1365 static int r600_bytecode_add_vtx_internal(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx, argument 1373 memcpy(nvtx, vtx, sizeof(struct r600_bytecode_vtx)); 1377 if (vtx->buffer_index_mode) 1378 egcm_load_index_reg(bc, vtx 1423 r600_bytecode_add_vtx(struct r600_bytecode * bc,const struct r600_bytecode_vtx * vtx) argument 1428 r600_bytecode_add_vtx_tc(struct r600_bytecode * bc,const struct r600_bytecode_vtx * vtx) argument 1546 r600_bytecode_vtx_build(struct r600_bytecode * bc,struct r600_bytecode_vtx * vtx,unsigned id) argument 1741 struct r600_bytecode_vtx *vtx; local in function:r600_bytecode_build 1863 struct r600_bytecode_tex *vtx = NULL, *next_vtx; local in function:r600_bytecode_clear 2086 struct r600_bytecode_vtx *vtx = NULL; local in function:r600_bytecode_disasm 2634 struct r600_bytecode_vtx vtx; local in function:r600_create_vertex_fetch_shader [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| H A D | r600_asm.c | 59 list_inithead(&cf->vtx); 77 struct r600_bytecode_vtx *vtx = CALLOC_STRUCT(r600_bytecode_vtx); local in function:r600_bytecode_vtx 79 if (!vtx) 81 list_inithead(&vtx->list); 82 return vtx; 1227 /* cf can contains only alu or only vtx or only tex */ 1370 static int r600_bytecode_add_vtx_internal(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx, argument 1378 memcpy(nvtx, vtx, sizeof(struct r600_bytecode_vtx)); 1382 if (vtx->buffer_index_mode) 1383 egcm_load_index_reg(bc, vtx 1428 r600_bytecode_add_vtx(struct r600_bytecode * bc,const struct r600_bytecode_vtx * vtx) argument 1433 r600_bytecode_add_vtx_tc(struct r600_bytecode * bc,const struct r600_bytecode_vtx * vtx) argument 1553 r600_bytecode_vtx_build(struct r600_bytecode * bc,struct r600_bytecode_vtx * vtx,unsigned id) argument 1748 struct r600_bytecode_vtx *vtx; local in function:r600_bytecode_build 1870 struct r600_bytecode_tex *vtx = NULL, *next_vtx; local in function:r600_bytecode_clear 2093 struct r600_bytecode_vtx *vtx = NULL; local in function:r600_bytecode_disasm 2641 struct r600_bytecode_vtx vtx; local in function:r600_create_vertex_fetch_shader [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_maos_arrays.c | 151 GLuint vtx, unit; local in function:radeonEmitArrays 248 vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] & 266 vtx |= RADEON_Q_BIT(unit); 270 vtx |= RADEON_Q_BIT(unit); 282 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) { 284 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_maos_arrays.c | 150 GLuint vtx, unit; local in function:radeonEmitArrays 247 vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] & 265 vtx |= RADEON_Q_BIT(unit); 269 vtx |= RADEON_Q_BIT(unit); 281 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) { 283 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
|