| 683 | } |
| 684 | |
| 685 | void setPreviewFeatures(IBuilderConfig& config, BuildOptions const& build) |
| 686 | { |
| 687 | auto const setFlag = [&](PreviewFeature feat) { |
| 688 | int32_t featVal = static_cast<int32_t>(feat); |
| 689 | if (build.previewFeatures.find(featVal) != build.previewFeatures.end()) |
| 690 | { |
| 691 | config.setPreviewFeature(feat, build.previewFeatures.at(featVal)); |
| 692 | } |
| 693 | }; |
| 694 | setFlag(PreviewFeature::kFASTER_DYNAMIC_SHAPES_0805); |
| 695 | setFlag(PreviewFeature::kDISABLE_EXTERNAL_TACTIC_SOURCES_FOR_CORE_0805); |
| 696 | setFlag(PreviewFeature::kPROFILE_SHARING_0806); |
| 697 | } |
| 698 | |
| 699 | } // namespace |
| 700 |
no test coverage detected