Home
last modified time | relevance | path

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

12

/external/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 */
118 static inline struct vertex_header *
120 const struct vertex_header *vert, in dup_vert()
123 struct vertex_header *tmp = stage->tmp[idx]; in dup_vert()
124 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.c88 const struct vertex_header *leading_vertex) in draw_viewport_index()
123 struct vertex_header *dst, in copy_flat()
124 const struct vertex_header *src) in copy_flat()
137 struct vertex_header *dst, in interp()
139 const struct vertex_header *out, in interp()
140 const struct vertex_header *in, in interp()
246 struct vertex_header **inlist, in emit_poly()
357 struct vertex_header *vert, in getclipdist()
396 struct vertex_header *a[MAX_CLIPPED_VERTICES]; in do_clip_tri()
397 struct vertex_header *b[MAX_CLIPPED_VERTICES]; in do_clip_tri()
[all …]
Ddraw_pipe_stipple.c70 struct vertex_header *dst, in screen_interp()
72 const struct vertex_header *v0, in screen_interp()
73 const struct vertex_header *v1) in screen_interp()
93 struct vertex_header *v0new = dup_vert(stage, header->v[0], 0); in emit_segment()
94 struct vertex_header *v1new = dup_vert(stage, header->v[1], 1); in emit_segment()
123 struct vertex_header *v0 = header->v[0]; in stipple_line()
124 struct vertex_header *v1 = header->v[1]; in stipple_line()
Ddraw_pipe.c122 prim.v[0] = (struct vertex_header *)v0; in do_point()
141 prim.v[0] = (struct vertex_header *)v0; in do_line()
142 prim.v[1] = (struct vertex_header *)v1; in do_line()
160 prim.v[0] = (struct vertex_header *)v0; in do_triangle()
161 prim.v[1] = (struct vertex_header *)v1; in do_triangle()
162 prim.v[2] = (struct vertex_header *)v2; in do_triangle()
204 struct vertex_header *vertices, \
303 struct vertex_header *vertices, \
336 (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.c120 struct vertex_header *v = (struct vertex_header*)(input + input_offset); in inject_primid()
248 output_verts->verts = (struct vertex_header*)MALLOC( in draw_prim_assembler_run()
Ddraw_gs.c317 struct vertex_header *vh = (struct vertex_header *) in llvm_fetch_gs_outputs()
338 struct vertex_header *vh = (struct vertex_header *)(output_ptr + shader->vertex_size * i); in llvm_fetch_gs_outputs()
385 (struct vertex_header*)input, in llvm_gs_run()
540 unsigned vertex_size = sizeof(struct vertex_header) + num_outputs * 4 * sizeof(float); in draw_geometry_shader_run()
567 (struct vertex_header *)MALLOC(output_verts->vertex_size * in draw_geometry_shader_run()
Ddraw_cliptest_tmp.h34 struct vertex_header *out = info->verts; in TAG()
194 out = (struct vertex_header *)( (char *)out + info->stride ); in TAG()
Ddraw_llvm.c387 LLVMTypeRef vertex_header; in create_jit_vertex_header() local
396 vertex_header = LLVMStructTypeInContext(gallivm->context, elem_types, in create_jit_vertex_header()
414 LP_CHECK_MEMBER_OFFSET(struct vertex_header, clip_pos, in create_jit_vertex_header()
415 target, vertex_header, in create_jit_vertex_header()
417 LP_CHECK_MEMBER_OFFSET(struct vertex_header, data, in create_jit_vertex_header()
418 target, vertex_header, in create_jit_vertex_header()
421 assert(LLVMABISizeOfType(target, vertex_header) == in create_jit_vertex_header()
422 offsetof(struct vertex_header, data[data_elems])); in create_jit_vertex_header()
424 return vertex_header; in create_jit_vertex_header()
553 LLVMTypeRef vertex_header; in draw_llvm_create_variant() local
[all …]
Ddraw_pt_fetch_shade_pipeline.c108 fpme->vertex_size = sizeof(struct vertex_header) + nr * 4 * sizeof(float); in fetch_pipeline_prepare()
215 (struct vertex_header *)MALLOC(output_verts->vertex_size * in draw_vertex_shader_run()
253 (struct vertex_header *)MALLOC(fpme->vertex_size * in fetch_pipeline_generic()
Ddraw_private.h88 struct vertex_header { struct
356 struct vertex_header *verts;
Ddraw_gs.h99 struct vertex_header *gs_output;
Ddraw_llvm.h266 struct vertex_header *io,
281 struct vertex_header *output,
Ddraw_pt.h135 struct vertex_header;
Ddraw_pt_post_vs.c57 initialize_vertex_header(struct vertex_header *header) in initialize_vertex_header()
Ddraw_pt_fetch_shade_pipeline_llvm.c199 fpme->vertex_size = sizeof(struct vertex_header) + nr * 4 * sizeof(float); in llvm_middle_end_prepare()
375 llvm_vert_info.verts = (struct vertex_header *) in llvm_pipeline_generic()
Ddraw_pt_fetch.c77 dst_offset = offsetof(struct vertex_header, data); in draw_pt_fetch_prepare()
/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_emit.c70 const struct vertex_header *vertex) in emit_hw_vertex()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c114 const struct vertex_header *vert, in update_attrib()
Dst_cb_feedback.c82 const struct vertex_header *v) in feedback_vertex()

12