Lines Matching defs:accepted
75 /* Perform front/back face culling and return true if the primitive is accepted. */
102 LLVMValueRef accepted = NULL;
105 accepted = LLVMBuildFCmp(builder, cond, det, ctx->f32_0, "");
108 accepted = LLVMBuildFCmp(builder, cond, det, ctx->f32_0, "");
110 accepted = LLVMBuildFCmp(builder, LLVMRealONE, det, ctx->f32_0, "");
113 if (accepted) {
117 accepted = LLVMBuildOr(builder, accepted, ac_build_is_inf_or_nan(ctx, det), "");
120 return accepted;
143 * if the primitive is accepted and initially_accepted == true. */
164 LLVMValueRef accepted = ctx->i1true;
193 accepted = LLVMBuildAnd(builder, accepted, visible, "");
198 accepted = LLVMBuildAnd(builder, accepted, visible, "");
233 accepted = LLVMBuildAnd(builder, accepted, visible, "");
305 accepted = LLVMBuildAnd(builder, accepted,
312 accepted = LLVMBuildOr(builder, accepted, w->any_w_negative, "");
315 accept_func(ctx, accepted, userdata);
321 * Return i1 true if the primitive is accepted (not culled).
335 * \param accept_func Callback invoked in the inner-most branch where the primitive is accepted.
347 LLVMValueRef accepted = options->cull_w ? w.w_accepted : ctx->i1true;
348 accepted = LLVMBuildAnd(ctx->builder, accepted, initially_accepted, "");
351 accepted = LLVMBuildAnd(
352 ctx->builder, accepted,
357 cull_bbox(ctx, pos, accepted, &w, vp_scale, vp_translate, small_prim_precision,