Lines Matching defs:selcoords
789 * vec3 \p coords, for the face implied by \p selcoords.
792 * selcoords.ma; i.e., a positive out_ma means that coords is pointed towards
793 * the selcoords major axis.
796 const struct cube_selection_coords *selcoords,
810 is_ma_positive = LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->ma, LLVMConstReal(f32, 0.0), "");
814 is_ma_z = LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->id, LLVMConstReal(f32, 4.0), "");
818 LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->id, LLVMConstReal(f32, 2.0), ""), "");
845 struct cube_selection_coords selcoords;
880 build_cube_intrinsic(ctx, coords_arg, &selcoords);
883 ac_build_intrinsic(ctx, "llvm.fabs.f32", ctx->f32, &selcoords.ma, 1, AC_FUNC_ATTR_READNONE);
887 coords[i] = LLVMBuildFMul(builder, selcoords.stc[i], invma, "");
889 coords[2] = selcoords.id;
921 build_cube_select(ctx, &selcoords, &derivs_arg[axis * 3], deriv_st, &deriv_ma);