Home
last modified time | relevance | path

Searched refs:vertex_header (Results 1 – 25 of 29) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe.h48 struct vertex_header *v[3]; /**< 1 to 3 vertex pointers */
63 struct vertex_header **tmp; /**< temp vert storage, such as for clipping */
119 static inline struct vertex_header *
121 const struct vertex_header *vert, in dup_vert()
124 struct vertex_header *tmp = stage->tmp[idx]; in dup_vert()
125 const uint vsize = sizeof(struct vertex_header) in dup_vert()
Ddraw_pipe_unfilled.c78 struct vertex_header *v = header->v[i]; in inject_front_face_info()
90 struct vertex_header *v0) in point()
101 struct vertex_header *v0, in line()
102 struct vertex_header *v1) in line()
116 struct vertex_header *v0 = header->v[0]; in points()
117 struct vertex_header *v1 = header->v[1]; in points()
118 struct vertex_header *v2 = header->v[2]; in points()
134 struct vertex_header *v0 = header->v[0]; in lines()
135 struct vertex_header *v1 = header->v[1]; in lines()
136 struct vertex_header *v2 = header->v[2]; in lines()
Ddraw_pipe_clip.c83 const struct vertex_header *leading_vertex) in draw_viewport_index()
118 struct vertex_header *dst, in copy_flat()
119 const struct vertex_header *src) in copy_flat()
132 struct vertex_header *dst, in interp()
134 const struct vertex_header *out, in interp()
135 const struct vertex_header *in, in interp()
217 struct vertex_header **inlist, in emit_poly()
312 struct vertex_header *vert, in getclipdist()
351 struct vertex_header *a[MAX_CLIPPED_VERTICES]; in do_clip_tri()
352 struct vertex_header *b[MAX_CLIPPED_VERTICES]; in do_clip_tri()
[all …]
Ddraw_pipe_stipple.c71 struct vertex_header *dst, in screen_interp()
73 const struct vertex_header *v0, in screen_interp()
74 const struct vertex_header *v1) in screen_interp()
94 struct vertex_header *v0new = dup_vert(stage, header->v[0], 0); in emit_segment()
95 struct vertex_header *v1new = dup_vert(stage, header->v[1], 1); in emit_segment()
124 struct vertex_header *v0 = header->v[0]; in stipple_line()
125 struct vertex_header *v1 = header->v[1]; in stipple_line()
Ddraw_pipe.c126 prim.v[0] = (struct vertex_header *)v0; in do_point()
145 prim.v[0] = (struct vertex_header *)v0; in do_line()
146 prim.v[1] = (struct vertex_header *)v1; in do_line()
164 prim.v[0] = (struct vertex_header *)v0; in do_triangle()
165 prim.v[1] = (struct vertex_header *)v1; in do_triangle()
166 prim.v[2] = (struct vertex_header *)v2; in do_triangle()
208 struct vertex_header *vertices, \
307 struct vertex_header *vertices, \
340 (struct vertex_header*)verts, in draw_pipeline_run_linear()
Ddraw_pipe_util.c84 stage->tmp = (struct vertex_header **) MALLOC( sizeof(struct vertex_header *) * nr ); in draw_alloc_temp_verts()
91 stage->tmp[i] = (struct vertex_header *)(store + i * MAX_VERTEX_SIZE); in draw_alloc_temp_verts()
132 ((struct vertex_header *)verts)->vertex_id = UNDEFINED_VERTEX_ID; in draw_reset_vertex_ids()
Ddraw_pipe_wide_line.c56 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); in wideline_line()
57 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); in wideline_line()
58 struct vertex_header *v2 = dup_vert(stage, header->v[1], 2); in wideline_line()
59 struct vertex_header *v3 = dup_vert(stage, header->v[1], 3); in wideline_line()
Ddraw_pipe_wide_point.c99 struct vertex_header *v, const float tc[4]) in set_texcoords()
136 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); in widepoint_point()
137 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); in widepoint_point()
138 struct vertex_header *v2 = dup_vert(stage, header->v[0], 2); in widepoint_point()
139 struct vertex_header *v3 = dup_vert(stage, header->v[0], 3); in widepoint_point()
Ddraw_pipe_flatshade.c59 struct vertex_header *dst, in copy_flats()
60 const struct vertex_header *src ) in copy_flats()
74 struct vertex_header *dst0, in copy_flats2()
75 struct vertex_header *dst1, in copy_flats2()
76 const struct vertex_header *src ) in copy_flats2()
Ddraw_pipe_twoside.c54 static inline struct vertex_header *
56 const struct vertex_header *v, in copy_bfc()
59 struct vertex_header *tmp = dup_vert( &twoside->stage, v, idx ); in copy_bfc()
Ddraw_prim_assembler.c139 struct vertex_header *v = (struct vertex_header*)(input + input_offset); in inject_primid()
294 output_verts->verts = (struct vertex_header*)MALLOC( in draw_prim_assembler_run()
Ddraw_cliptest_tmp.h35 struct vertex_header *out = info->verts; in TAG()
199 out = (struct vertex_header *)( (char *)out + info->stride ); in TAG()
Ddraw_gs.c327 struct vertex_header *vh = (struct vertex_header *) in llvm_fetch_gs_outputs()
348 struct vertex_header *vh = (struct vertex_header *)(output_ptr + shader->vertex_size * i); in llvm_fetch_gs_outputs()
388 struct vertex_header *input[PIPE_MAX_VERTEX_STREAMS]; in llvm_gs_run()
392 input[i] = (struct vertex_header *)tmp; in llvm_gs_run()
563 unsigned vertex_size = sizeof(struct vertex_header) + num_outputs * 4 * sizeof(float); in draw_geometry_shader_run()
591 (struct vertex_header *)MALLOC(output_verts[i].vertex_size * in draw_geometry_shader_run()
Ddraw_pt_fetch_shade_pipeline.c108 fpme->vertex_size = sizeof(struct vertex_header) + nr * 4 * sizeof(float); in fetch_pipeline_prepare()
216 (struct vertex_header *)MALLOC(output_verts->vertex_size * in draw_vertex_shader_run()
257 (struct vertex_header *)MALLOC(fpme->vertex_size * in fetch_pipeline_generic()
Ddraw_gs.h104 struct vertex_header *gs_output[PIPE_MAX_VERTEX_STREAMS];
Ddraw_tess.c168 unsigned vertex_size = sizeof(struct vertex_header) + num_outputs * 4 * sizeof(float); in draw_tess_ctrl_shader_run()
308 struct vertex_header *output) in llvm_tes_run()
334 unsigned vertex_size = sizeof(struct vertex_header) + num_outputs * 4 * sizeof(float); in draw_tess_eval_shader_run()
393 …llvm_tes_run(shader, i, num_input_vertices_per_patch, &data, &factors, (struct vertex_header *)out… in draw_tess_eval_shader_run()
Ddraw_private.h119 struct vertex_header { struct
447 struct vertex_header *verts;
Ddraw_pt.h135 struct vertex_header;
Ddraw_llvm.h454 struct vertex_header *io,
470 struct vertex_header **output,
487 struct vertex_header *io,
Ddraw_pt_post_vs.c57 initialize_vertex_header(struct vertex_header *header) in initialize_vertex_header()
Ddraw_llvm.c513 LLVMTypeRef vertex_header; in create_jit_vertex_header() local
522 vertex_header = LLVMStructTypeInContext(gallivm->context, elem_types, in create_jit_vertex_header()
540 LP_CHECK_MEMBER_OFFSET(struct vertex_header, clip_pos, in create_jit_vertex_header()
541 target, vertex_header, in create_jit_vertex_header()
543 LP_CHECK_MEMBER_OFFSET(struct vertex_header, data, in create_jit_vertex_header()
544 target, vertex_header, in create_jit_vertex_header()
547 assert(LLVMABISizeOfType(target, vertex_header) == in create_jit_vertex_header()
548 offsetof(struct vertex_header, data[data_elems])); in create_jit_vertex_header()
550 return vertex_header; in create_jit_vertex_header()
875 LLVMTypeRef vertex_header; in draw_llvm_create_variant() local
[all …]
Ddraw_pt_fetch.c72 dst_offset = offsetof(struct vertex_header, data); in draw_pt_fetch_prepare()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_prim_emit.c64 emit_hw_vertex(struct i915_context *i915, const struct vertex_header *vertex) in emit_hw_vertex()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c119 const struct vertex_header *vert, in update_attrib()
Dst_cb_feedback.c84 const struct vertex_header *v) in feedback_vertex()

12