MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / SetValidationFeatures

Function SetValidationFeatures

layers/layer_options.cpp:386–394  ·  view source on GitHub ↗

Process Validation Features flags specified through the ValidationFeature extension

Source from the content-addressed store, hash-verified

384
385// Process Validation Features flags specified through the ValidationFeature extension
386void SetValidationFeatures(ValidationDisabled& disable_data, ValidationEnabled& enable_data,
387 const VkValidationFeaturesEXT* val_features_struct) {
388 for (uint32_t i = 0; i < val_features_struct->disabledValidationFeatureCount; ++i) {
389 SetValidationFeatureDisable(disable_data, val_features_struct->pDisabledValidationFeatures[i]);
390 }
391 for (uint32_t i = 0; i < val_features_struct->enabledValidationFeatureCount; ++i) {
392 SetValidationFeatureEnable(enable_data, val_features_struct->pEnabledValidationFeatures[i]);
393 }
394}
395
396std::string GetNextToken(std::string* token_list, const std::string& delimiter, size_t* pos) {
397 std::string token;

Callers 1

Calls 2

Tested by

no test coverage detected