}
printf("\tcount = %d\n", extension_count);
for (i=0; i< extension_count; i++) {
- uint32_t major, minor, patch;
- char spec_version[64];
VkExtensionProperties const *ext_prop = &extension_properties[i];
if (i>0)
printf("\n"); // separator between extensions
printf("%s\t", indent);
- extract_version(ext_prop->specVersion, &major, &minor, &patch);
- snprintf(spec_version, sizeof(spec_version), "%d.%d.%d", major, minor, patch);
- printf("%s: extension version %s",
- ext_prop->extName, spec_version);
+ printf("%-32s: extension revision %2d",
+ ext_prop->extName, ext_prop->specVersion);
}
printf("\n");
fflush(stdout);
#include "vulkan.h"
#include "vk_debug_report_lunarg.h"
-#define VK_DEBUG_MARKER_EXTENSION_NUMBER 3
-#define VK_DEBUG_MARKER_EXTENSION_VERSION VK_MAKE_VERSION(0, 1, 0)
+#define VK_DEBUG_MARKER_EXTENSION_NUMBER 6
+#define VK_DEBUG_MARKER_EXTENSION_REVISION 1
#ifdef __cplusplus
extern "C"
{
#include "vulkan.h"
-#define VK_DEBUG_REPORT_EXTENSION_NUMBER 2
-#define VK_DEBUG_REPORT_EXTENSION_VERSION VK_MAKE_VERSION(0, 1, 0)
+#define VK_DEBUG_REPORT_EXTENSION_NUMBER 5
+#define VK_DEBUG_REPORT_EXTENSION_REVISION 1
#ifdef __cplusplus
extern "C"
{
static const VkExtensionProperties debug_report_extension_info = {
.extName = VK_DEBUG_REPORT_EXTENSION_NAME,
- .specVersion = VK_DEBUG_REPORT_EXTENSION_VERSION,
+ .specVersion = VK_DEBUG_REPORT_EXTENSION_REVISION,
};
void debug_report_add_instance_extensions(