From 81e27dfcdffb73c2cd03913600a1a497b59174b0 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Sat, 6 Feb 2016 17:22:25 -0700 Subject: layers: MR221: Fix implementationVersion --- layers/device_limits.cpp | 2 +- layers/draw_state.cpp | 6 +++--- layers/image.cpp | 2 +- layers/mem_tracker.cpp | 2 +- layers/param_checker.cpp | 2 +- layers/swapchain.cpp | 2 +- vk-layer-generate.py | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/layers/device_limits.cpp b/layers/device_limits.cpp index 5466d3d0..0aafb2b8 100644 --- a/layers/device_limits.cpp +++ b/layers/device_limits.cpp @@ -167,7 +167,7 @@ static const VkLayerProperties dl_global_layers[] = { { "VK_LAYER_LUNARG_device_limits", VK_API_VERSION, - VK_MAKE_VERSION(0, 1, 0), + 1, "Validation layer: Device Limits", } }; diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index f76bddbf..fadb98fe 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -3620,7 +3620,7 @@ static const VkLayerProperties ds_global_layers[] = { { "VK_LAYER_LUNARG_draw_state", VK_API_VERSION, - VK_MAKE_VERSION(0, 1, 0), + 1, "Validation layer: draw_state", } }; @@ -3637,7 +3637,7 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceLayerPropertie static const VkExtensionProperties ds_device_extensions[] = { { DEBUG_MARKER_EXTENSION_NAME, - VK_MAKE_VERSION(0, 1, 0), + 1, } }; @@ -3645,7 +3645,7 @@ static const VkLayerProperties ds_device_layers[] = { { "VK_LAYER_LUNARG_draw_state", VK_API_VERSION, - VK_MAKE_VERSION(0, 1, 0), + 1, "Validation layer: draw_state", } }; diff --git a/layers/image.cpp b/layers/image.cpp index 19c91ca6..60b85698 100644 --- a/layers/image.cpp +++ b/layers/image.cpp @@ -262,7 +262,7 @@ static const VkLayerProperties pc_global_layers[] = { { "VK_LAYER_LUNARG_image", VK_API_VERSION, - VK_MAKE_VERSION(0, 1, 0), + 1, "Validation layer: image", } }; diff --git a/layers/mem_tracker.cpp b/layers/mem_tracker.cpp index 6e8399e3..76fee5c5 100644 --- a/layers/mem_tracker.cpp +++ b/layers/mem_tracker.cpp @@ -1291,7 +1291,7 @@ static const VkLayerProperties mtGlobalLayers[] = { { "VK_LAYER_LUNARG_mem_tracker", VK_API_VERSION, - VK_MAKE_VERSION(0, 1, 0), + 1, "Validation layer: mem_tracker", } }; diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index 8b826783..9ed3a358 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -192,7 +192,7 @@ static const VkLayerProperties pc_global_layers[] = { { "VK_LAYER_LUNARG_param_checker", VK_API_VERSION, - VK_MAKE_VERSION(0, 1, 0), + 1, "Validation layer: param_checker", } }; diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index 8502af0d..1888b48c 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -63,7 +63,7 @@ static const VkLayerProperties swapchain_global_layers[] = { { "swapchain", VK_API_VERSION, - VK_MAKE_VERSION(0, 1, 0), + 1, "Validation layer: swapchain", } }; diff --git a/vk-layer-generate.py b/vk-layer-generate.py index 510f200b..9499d663 100755 --- a/vk-layer-generate.py +++ b/vk-layer-generate.py @@ -386,7 +386,7 @@ class Subcommand(object): ggep_body.append(' {') ggep_body.append(' "VK_LAYER_LUNARG_%s",' % layer_name) ggep_body.append(' VK_API_VERSION, // specVersion') - ggep_body.append(' VK_MAKE_VERSION(0, 1, 0), // implementationVersion') + ggep_body.append(' 1, // implementationVersion') ggep_body.append(' "layer: %s",' % layer) ggep_body.append(' }') ggep_body.append('};') @@ -406,7 +406,7 @@ class Subcommand(object): gpdlp_body.append(' {') gpdlp_body.append(' "VK_LAYER_LUNARG_%s",' % layer) gpdlp_body.append(' VK_API_VERSION,') - gpdlp_body.append(' VK_MAKE_VERSION(0, 1, 0),') + gpdlp_body.append(' 1,') gpdlp_body.append(' "layer: %s",' % layer) gpdlp_body.append(' }') gpdlp_body.append('};') -- cgit v1.2.3