Skip to content

Commit 470f154

Browse files
committed
Added handling of revisions of VK_EXT_validation_features extension
1 parent 0db4ca3 commit 470f154

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

include/vsg/vk/vulkan.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,13 @@ typedef struct VkValidationFeaturesEXT {
323323
const VkValidationFeatureDisableEXT* pDisabledValidationFeatures;
324324
} VkValidationFeaturesEXT;
325325

326+
#else
327+
328+
#if (VK_EXT_VALIDATION_FEATURES_SPEC_VERSION < 4)
329+
#define VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT static_cast<VkValidationFeatureEnableEXT>(4)
330+
#endif
331+
332+
326333
#endif
327334

328335
////////////////////////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)