HomeSort by: relevance | last modified time | path
    Searched refs:neg_w (Results 1 - 2 of 2) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/amd/llvm/
ac_llvm_cull.c 64 LLVMValueRef neg_w; local
66 neg_w = LLVMBuildFCmp(builder, LLVMRealOLT, pos[i][3], ctx->f32_0, "");
67 /* If neg_w is true, negate w_reflection. */
68 w->w_reflection = LLVMBuildXor(builder, w->w_reflection, neg_w, "");
69 w->any_w_negative = LLVMBuildOr(builder, w->any_w_negative, neg_w, "");
70 all_w_negative = LLVMBuildAnd(builder, all_w_negative, neg_w, "");
  /xsrc/external/mit/MesaLib/dist/src/amd/common/
ac_nir_cull.c 48 nir_ssa_def *neg_w = nir_flt(b, pos[i][3], nir_imm_float(b, 0.0f)); local
49 w_info->w_reflection = nir_ixor(b, neg_w, w_info->w_reflection);
50 w_info->any_w_negative = nir_ior(b, neg_w, w_info->any_w_negative);
51 all_w_negative = nir_iand(b, neg_w, all_w_negative);

Completed in 6 milliseconds