H A D | ac_llvm_cull.c | 146 LLVMValueRef vp_scale[2], LLVMValueRef vp_translate[2], in cull_bbox() 217 min = ac_build_fmad(ctx, bbox_min[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox() 218 max = ac_build_fmad(ctx, bbox_max[chan], vp_scale[chan], vp_translate[chan]); in cull_bbox() 225 * It also works for MSAA, but vp_scale, vp_translate, in cull_bbox() 270 v0[chan] = ac_build_fmad(ctx, pos[0][chan], vp_scale[chan], vp_translate[chan]); in cull_bbox() 271 v1[chan] = ac_build_fmad(ctx, pos[1][chan], vp_scale[chan], vp_translate[chan]); in cull_bbox() 326 * \param vp_scale Viewport scale XY. 338 LLVMValueRef initially_accepted, LLVMValueRef vp_scale[2], in ac_cull_primitive() 357 cull_bbox(ctx, pos, accepted, &w, vp_scale, vp_translate, small_prim_precision, in ac_cull_primitive() 144 cull_bbox(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4], LLVMValueRef initially_accepted, struct ac_position_w_info *w, LLVMValueRef vp_scale[2], LLVMValueRef vp_translate[2], LLVMValueRef small_prim_precision, LLVMValueRef clip_half_line_width[2], struct ac_cull_options *options, ac_cull_accept_func accept_func, void *userdata) cull_bbox() argument 337 ac_cull_primitive(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4], LLVMValueRef initially_accepted, LLVMValueRef vp_scale[2], LLVMValueRef vp_translate[2], LLVMValueRef small_prim_precision, LLVMValueRef clip_half_line_width[2], struct ac_cull_options *options, ac_cull_accept_func accept_func, void *userdata) ac_cull_primitive() argument
|