layers: MR144, Fix layer names
authorMichael Lentine <mlentine@google.com>
Tue, 19 Jan 2016 20:19:38 +0000 (14:19 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 19 Jan 2016 20:51:18 +0000 (13:51 -0700)
layers/basic.cpp
layers/draw_state.cpp
layers/param_checker.cpp
vk-layer-generate.py

index ba56517..74f22b1 100644 (file)
@@ -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",
index b55e080..62a3477 100644 (file)
@@ -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",
index 0684290..c351837 100644 (file)
@@ -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",
index b687cad..6c8a2c8 100755 (executable)
@@ -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)