This commit is contained in:
parent
48f185ae5d
commit
cee10bcc43
2 changed files with 4 additions and 11 deletions
|
@ -191,19 +191,9 @@ void Instance::initialize_instance()
|
|||
.pValues = &setting_duplicate_message_limit,
|
||||
},
|
||||
});
|
||||
auto disable = VK_VALIDATION_FEATURE_DISABLE_SHADER_VALIDATION_CACHE_EXT;
|
||||
|
||||
auto validation_features = VkValidationFeaturesEXT {
|
||||
.sType = VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT,
|
||||
.enabledValidationFeatureCount = 0u,
|
||||
.pEnabledValidationFeatures = nullptr,
|
||||
.disabledValidationFeatureCount = 1u,
|
||||
.pDisabledValidationFeatures = &disable,
|
||||
};
|
||||
|
||||
const VkLayerSettingsCreateInfoEXT layer_settings_create_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT,
|
||||
.pNext = &validation_features,
|
||||
.settingCount = settings.size(),
|
||||
.pSettings = settings.data(),
|
||||
};
|
||||
|
|
|
@ -237,7 +237,10 @@ private:
|
|||
std::any &user_data
|
||||
)
|
||||
{
|
||||
std::cout << "VULKAN MESSAGE: " << data.message << std::endl; // NOLINT
|
||||
// I know this makes the tests too verbose...
|
||||
// but makes it easier to figure out what the problem is when things fail on ci
|
||||
log_trc("vulkan: {}", data.message);
|
||||
|
||||
std::ignore = data;
|
||||
std::ignore = type;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue