layers: Add ShaderChecker as Validation layer
authorTobin Ehlis <tobin@lunarg.com>
Fri, 17 Apr 2015 14:55:13 +0000 (08:55 -0600)
committerTobin Ehlis <tobin@lunarg.com>
Fri, 17 Apr 2015 14:55:13 +0000 (08:55 -0600)
layers/shader_checker.cpp

index 1cc72ee..659251a 100644 (file)
@@ -178,13 +178,13 @@ struct extProps {
     uint32_t version;
     const char * const name;
 };
-#define SHADER_CHECKER_LAYER_EXT_ARRAY_SIZE 1
+#define SHADER_CHECKER_LAYER_EXT_ARRAY_SIZE 2
 static const struct extProps shaderCheckerExts[SHADER_CHECKER_LAYER_EXT_ARRAY_SIZE] = {
     // TODO what is the version?
     0x10, "ShaderChecker",
+    0x10, "Validation",
 };
 
-
 VK_LAYER_EXPORT VkResult VKAPI vkGetGlobalExtensionInfo(
                                                VkExtensionInfoType infoType,
                                                uint32_t extensionIndex,