return VK_SUCCESS;
}
-
-extern "C" VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL test_EnumerateInstanceExtensionProperties(VkEnumerateInstanceExtensionPropertiesChain *pChain,
- const char *pLayerName, uint32_t *pPropertyCount, VkExtensionProperties *pProperties) {
-
- printf("Hit test_EnumerateInstanceExtensionProperties with:\n");
- printf("\tpLayerName: %s\n", pLayerName);
- printf("\tpPropertyCount: %d\n", pPropertyCount ? *pPropertyCount : 0);
- printf("\tpProperties: %p\n", pProperties);
-
- VkResult res = pChain->CallDown(pLayerName, pPropertyCount, pProperties);
-
- printf("Returned from test_EnumerateInstanceExtensionProperties with:\n");
- printf("\tpLayerName: %s\n", pLayerName);
- printf("\tpPropertyCount: %d\n", pPropertyCount ? *pPropertyCount : 0);
- printf("\tpProperties: %p\n\n", pProperties);
-
- return res;
-}
-
-extern "C" VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL test_EnumerateInstanceLayerProperties(VkEnumerateInstanceLayerPropertiesChain *pChain,
- uint32_t *pPropertyCount, VkLayerProperties *pProperties) {
-
- printf("Hit test_EnumerateInstanceLayerProperties with:\n");
- printf("\tpPropertyCount: %d\n", pPropertyCount ? *pPropertyCount : 0);
- printf("\tpProperties: %p\n", pProperties);
-
- VkResult res = pChain->CallDown(pPropertyCount, pProperties);
-
- printf("Returned from test_EnumerateInstanceLayerProperties with:\n");
- printf("\tpPropertyCount: %d\n", pPropertyCount ? *pPropertyCount : 0);
- printf("\tpProperties: %p\n\n", pProperties);
-
- return res;
-}
{
- "file_format_version" : "1.1.2",
+ "file_format_version" : "1.1.0",
"layer" : {
- "name": "VK_LAYER_LUNARG_test_core_validation",
+ "name": "VK_LAYER_LUNARG_core_validation",
"type": "GLOBAL",
"library_path": "./libVkLayer_core_validation.so",
"api_version": "1.0.67",
"vkMergeValidationCachesEXT"
]
}
- ],
- "pre_instance_functions": {
- "vkEnumerateInstanceExtensionProperties": "test_EnumerateInstanceExtensionProperties",
- "vkEnumerateInstanceLayerProperties": "test_EnumerateInstanceLayerProperties"
- },
- "disable_environment": {
- "DISABLE_TEST_CORE_VALIDATION": ""
- }
+ ]
}
}
+
+
+
+
+