Lines Matching defs:vertex_header
227 * Create LLVM type for struct vertex_header;
234 LLVMTypeRef vertex_header;
237 util_snprintf(struct_name, 23, "vertex_header%d", data_elems);
244 vertex_header = LLVMStructTypeInContext(gallivm->context, elem_types,
247 LLVMAddTypeName(gallivm->module, struct_name, vertex_header);
249 LLVMInvalidateStructLayout(gallivm->target, vertex_header);
253 LP_CHECK_MEMBER_OFFSET(struct vertex_header, clipmask,
254 target, vertex_header,
256 LP_CHECK_MEMBER_OFFSET(struct vertex_header, edgeflag,
257 target, vertex_header,
259 LP_CHECK_MEMBER_OFFSET(struct vertex_header, pad,
260 target, vertex_header,
262 LP_CHECK_MEMBER_OFFSET(struct vertex_header, vertex_id,
263 target, vertex_header,
266 LP_CHECK_MEMBER_OFFSET(struct vertex_header, clip,
267 target, vertex_header,
269 LP_CHECK_MEMBER_OFFSET(struct vertex_header, pre_clip_pos,
270 target, vertex_header,
272 LP_CHECK_MEMBER_OFFSET(struct vertex_header, data,
273 target, vertex_header,
276 assert(LLVMABISizeOfType(target, vertex_header) ==
277 offsetof(struct vertex_header, data[data_elems]));
279 return vertex_header;
385 LLVMTypeRef vertex_header;
401 vertex_header = create_jit_vertex_header(variant->gallivm, num_inputs);
403 variant->vertex_header_ptr_type = LLVMPointerType(vertex_header, 0);
635 * code here. See struct vertex_header in draw_private.h.
1100 arg_types[1] = get_vertex_header_ptr_type(variant); /* vertex_header */