From 9a59eac57832b7f3dce9e2c11f150cebb50e368a Mon Sep 17 00:00:00 2001 From: Michael Lentine Date: Tue, 19 Jan 2016 14:19:38 -0600 Subject: [PATCH] layers: MR144, Fix layer names --- layers/basic.cpp | 2 +- layers/draw_state.cpp | 2 +- layers/param_checker.cpp | 2 +- vk-layer-generate.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layers/basic.cpp b/layers/basic.cpp index ba56517..74f22b1 100644 --- a/layers/basic.cpp +++ b/layers/basic.cpp @@ -34,7 +34,7 @@ static const VkLayerProperties globalLayerProps[] = { { - "basic", + "VK_LAYER_LUNARG_basic", VK_API_VERSION, // specVersion VK_MAKE_VERSION(0, 1, 0), // implementationVersion "layer: basic", diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index b55e080..62a3477 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -2989,7 +2989,7 @@ static const VkExtensionProperties ds_device_extensions[] = { static const VkLayerProperties ds_device_layers[] = { { - "draw_state", + "VK_LAYER_LUNARG_draw_state", VK_API_VERSION, VK_MAKE_VERSION(0, 1, 0), "Validation layer: draw_state", diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index 0684290..c351837 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -181,7 +181,7 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceExtensionPrope static const VkLayerProperties pc_global_layers[] = { { - "param_checker", + "VK_LAYER_LUNARG_param_checker", VK_API_VERSION, VK_MAKE_VERSION(0, 1, 0), "Validation layer: param_checker", diff --git a/vk-layer-generate.py b/vk-layer-generate.py index b687cad..6c8a2c8 100755 --- a/vk-layer-generate.py +++ b/vk-layer-generate.py @@ -400,7 +400,7 @@ class Subcommand(object): gpdlp_body.append('%s' % self.lineinfo.get()) gpdlp_body.append('static const VkLayerProperties deviceLayerProps[] = {') gpdlp_body.append(' {') - gpdlp_body.append(' "%s",' % layer) + 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(' "layer: %s",' % layer) -- 2.7.4