diff options
| author | Jon Ashburn <jon@lunarg.com> | 2016-03-22 12:57:13 -0600 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-03-22 14:18:54 -0600 |
| commit | 6b501fb701599a9748ab3b87b1e64d842e9ac623 (patch) | |
| tree | 8724977b524b4dc6825b54bf52e490237f4a4d43 /layers | |
| parent | cd4bfc0060c4f2126f4b57e7f0180ed30fa024d8 (diff) | |
| download | usermoji-6b501fb701599a9748ab3b87b1e64d842e9ac623.tar.xz | |
misc: Update to header version 1.0.6
Change-Id: Idf7a9d40278b796e16effa54e9b60668d275b8ec
Diffstat (limited to 'layers')
24 files changed, 26 insertions, 24 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index aa6c38a3..501f3878 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -163,7 +163,7 @@ struct layer_data { }; static const VkLayerProperties cv_global_layers[] = {{ - "VK_LAYER_LUNARG_core_validation", VK_API_VERSION, 1, "LunarG Validation Layer", + "VK_LAYER_LUNARG_core_validation", VK_LAYER_API_VERSION, 1, "LunarG Validation Layer", }}; template <class TCreateInfo> void ValidateLayerOrdering(const TCreateInfo &createInfo) { @@ -4825,7 +4825,7 @@ vkEnumerateInstanceLayerProperties(uint32_t *pCount, VkLayerProperties *pPropert // TODO: Why does this exist - can we just use global? static const VkLayerProperties cv_device_layers[] = {{ - "VK_LAYER_LUNARG_core_validation", VK_API_VERSION, 1, "LunarG Validation Layer", + "VK_LAYER_LUNARG_core_validation", VK_LAYER_API_VERSION, 1, "LunarG Validation Layer", }}; VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, diff --git a/layers/device_limits.cpp b/layers/device_limits.cpp index cda1ae70..ff761f6c 100644 --- a/layers/device_limits.cpp +++ b/layers/device_limits.cpp @@ -118,7 +118,7 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateDeviceExtensionPropert } static const VkLayerProperties dl_global_layers[] = {{ - "VK_LAYER_LUNARG_device_limits", VK_API_VERSION, 1, "LunarG Validation Layer", + "VK_LAYER_LUNARG_device_limits", VK_LAYER_API_VERSION, 1, "LunarG Validation Layer", }}; VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL diff --git a/layers/image.cpp b/layers/image.cpp index 409bcb91..a95584e1 100644 --- a/layers/image.cpp +++ b/layers/image.cpp @@ -211,7 +211,7 @@ vkEnumerateInstanceExtensionProperties(const char *pLayerName, uint32_t *pCount, } static const VkLayerProperties pc_global_layers[] = {{ - "VK_LAYER_LUNARG_image", VK_API_VERSION, 1, "LunarG Validation Layer", + "VK_LAYER_LUNARG_image", VK_LAYER_API_VERSION, 1, "LunarG Validation Layer", }}; VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL diff --git a/layers/linux/VkLayer_core_validation.json b/layers/linux/VkLayer_core_validation.json index adccb562..e819cc1d 100644 --- a/layers/linux/VkLayer_core_validation.json +++ b/layers/linux/VkLayer_core_validation.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_core_validation", "type": "GLOBAL", "library_path": "./libVkLayer_core_validation.so", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/linux/VkLayer_device_limits.json b/layers/linux/VkLayer_device_limits.json index 29911c3f..1974af64 100644 --- a/layers/linux/VkLayer_device_limits.json +++ b/layers/linux/VkLayer_device_limits.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_device_limits", "type": "GLOBAL", "library_path": "./libVkLayer_device_limits.so", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/linux/VkLayer_image.json b/layers/linux/VkLayer_image.json index 344f3e3c..6caf23a5 100644 --- a/layers/linux/VkLayer_image.json +++ b/layers/linux/VkLayer_image.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_image", "type": "GLOBAL", "library_path": "./libVkLayer_image.so", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/linux/VkLayer_object_tracker.json b/layers/linux/VkLayer_object_tracker.json index b4cc6158..42b97589 100644 --- a/layers/linux/VkLayer_object_tracker.json +++ b/layers/linux/VkLayer_object_tracker.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_object_tracker", "type": "GLOBAL", "library_path": "./libVkLayer_object_tracker.so", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/linux/VkLayer_parameter_validation.json b/layers/linux/VkLayer_parameter_validation.json index a268ce40..a9d1fa1d 100644 --- a/layers/linux/VkLayer_parameter_validation.json +++ b/layers/linux/VkLayer_parameter_validation.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_parameter_validation", "type": "GLOBAL", "library_path": "./libVkLayer_parameter_validation.so", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/linux/VkLayer_swapchain.json b/layers/linux/VkLayer_swapchain.json index b514958f..c9e28453 100644 --- a/layers/linux/VkLayer_swapchain.json +++ b/layers/linux/VkLayer_swapchain.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_swapchain", "type": "GLOBAL", "library_path": "./libVkLayer_swapchain.so", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/linux/VkLayer_threading.json b/layers/linux/VkLayer_threading.json index 948b6c88..5c1f3eba 100644 --- a/layers/linux/VkLayer_threading.json +++ b/layers/linux/VkLayer_threading.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_GOOGLE_threading", "type": "GLOBAL", "library_path": "./libVkLayer_threading.so", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "Google Validation Layer", "instance_extensions": [ diff --git a/layers/linux/VkLayer_unique_objects.json b/layers/linux/VkLayer_unique_objects.json index 2e29d73d..34667409 100644 --- a/layers/linux/VkLayer_unique_objects.json +++ b/layers/linux/VkLayer_unique_objects.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_GOOGLE_unique_objects", "type": "GLOBAL", "library_path": "./libVkLayer_unique_objects.so", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "Google Validation Layer" } diff --git a/layers/parameter_validation.cpp b/layers/parameter_validation.cpp index 092bd8b7..4302e9c8 100644 --- a/layers/parameter_validation.cpp +++ b/layers/parameter_validation.cpp @@ -136,7 +136,7 @@ vkEnumerateInstanceExtensionProperties(const char *pLayerName, uint32_t *pCount, } static const VkLayerProperties pc_global_layers[] = {{ - "VK_LAYER_LUNARG_parameter_validation", VK_API_VERSION, 1, "LunarG Validation Layer", + "VK_LAYER_LUNARG_parameter_validation", VK_LAYER_API_VERSION, 1, "LunarG Validation Layer", }}; VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index 3134e36d..d513208f 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -63,7 +63,7 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateDeviceExtensionPropert } static const VkLayerProperties swapchain_layers[] = {{ - "VK_LAYER_LUNARG_swapchain", VK_API_VERSION, 1, "LunarG Validation Layer", + "VK_LAYER_LUNARG_swapchain", VK_LAYER_API_VERSION, 1, "LunarG Validation Layer", }}; VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL diff --git a/layers/threading.cpp b/layers/threading.cpp index e7c4b396..a75bcdc5 100644 --- a/layers/threading.cpp +++ b/layers/threading.cpp @@ -160,7 +160,7 @@ vkEnumerateInstanceExtensionProperties(const char *pLayerName, uint32_t *pCount, static const VkLayerProperties globalLayerProps[] = {{ "VK_LAYER_GOOGLE_threading", - VK_API_VERSION, // specVersion + VK_LAYER_API_VERSION, // specVersion 1, "Google Validation Layer", }}; @@ -170,7 +170,7 @@ VK_LAYER_EXPORT VkResult VKAPI_CALL vkEnumerateInstanceLayerProperties(uint32_t static const VkLayerProperties deviceLayerProps[] = {{ "VK_LAYER_GOOGLE_threading", - VK_API_VERSION, // specVersion + VK_LAYER_API_VERSION, // specVersion 1, "Google Validation Layer", }}; diff --git a/layers/unique_objects.h b/layers/unique_objects.h index 42008448..b8effcf5 100644 --- a/layers/unique_objects.h +++ b/layers/unique_objects.h @@ -43,6 +43,7 @@ #include "vk_layer_logging.h" #include "vk_layer_extension_utils.h" #include "vk_safe_struct.h" +#include "vk_layer_utils.h" struct layer_data { bool wsi_enabled; diff --git a/layers/vk_layer_utils.h b/layers/vk_layer_utils.h index 1dc2e0ed..d349ffe7 100644 --- a/layers/vk_layer_utils.h +++ b/layers/vk_layer_utils.h @@ -40,6 +40,7 @@ extern "C" { #endif +#define VK_LAYER_API_VERSION (VK_VERSION_MAJOR(1) | VK_VERSION_MINOR(0) | VK_VERSION_PATCH(VK_HEADER_VERSION)) typedef enum VkFormatCompatibilityClass { VK_FORMAT_COMPATIBILITY_CLASS_NONE_BIT = 0, VK_FORMAT_COMPATIBILITY_CLASS_8_BIT = 1, diff --git a/layers/windows/VkLayer_core_validation.json b/layers/windows/VkLayer_core_validation.json index b21a8dfd..4fbae55c 100644 --- a/layers/windows/VkLayer_core_validation.json +++ b/layers/windows/VkLayer_core_validation.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_core_validation", "type": "GLOBAL", "library_path": ".\\VkLayer_core_validation.dll", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/windows/VkLayer_device_limits.json b/layers/windows/VkLayer_device_limits.json index d3313bfd..79c744ae 100644 --- a/layers/windows/VkLayer_device_limits.json +++ b/layers/windows/VkLayer_device_limits.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_device_limits", "type": "GLOBAL", "library_path": ".\\VkLayer_device_limits.dll", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/windows/VkLayer_image.json b/layers/windows/VkLayer_image.json index c06b98fe..dbcbfb22 100644 --- a/layers/windows/VkLayer_image.json +++ b/layers/windows/VkLayer_image.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_image", "type": "GLOBAL", "library_path": ".\\VkLayer_image.dll", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/windows/VkLayer_object_tracker.json b/layers/windows/VkLayer_object_tracker.json index 51c1145d..04c28095 100644 --- a/layers/windows/VkLayer_object_tracker.json +++ b/layers/windows/VkLayer_object_tracker.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_object_tracker", "type": "GLOBAL", "library_path": ".\\VkLayer_object_tracker.dll", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/windows/VkLayer_parameter_validation.json b/layers/windows/VkLayer_parameter_validation.json index 84245d24..8d75f27f 100644 --- a/layers/windows/VkLayer_parameter_validation.json +++ b/layers/windows/VkLayer_parameter_validation.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_parameter_validation", "type": "GLOBAL", "library_path": ".\\VkLayer_parameter_validation.dll", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/windows/VkLayer_swapchain.json b/layers/windows/VkLayer_swapchain.json index 1e058b6e..52feca20 100644 --- a/layers/windows/VkLayer_swapchain.json +++ b/layers/windows/VkLayer_swapchain.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_LUNARG_swapchain", "type": "GLOBAL", "library_path": ".\\VkLayer_swapchain.dll", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "LunarG Validation Layer", "instance_extensions": [ diff --git a/layers/windows/VkLayer_threading.json b/layers/windows/VkLayer_threading.json index bfc686f8..228a148e 100644 --- a/layers/windows/VkLayer_threading.json +++ b/layers/windows/VkLayer_threading.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_GOOGLE_threading", "type": "GLOBAL", "library_path": ".\\VkLayer_threading.dll", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "Google Validation Layer", "instance_extensions": [ diff --git a/layers/windows/VkLayer_unique_objects.json b/layers/windows/VkLayer_unique_objects.json index 2383e1a9..11f53433 100644 --- a/layers/windows/VkLayer_unique_objects.json +++ b/layers/windows/VkLayer_unique_objects.json @@ -4,7 +4,7 @@ "name": "VK_LAYER_GOOGLE_unique_objects", "type": "GLOBAL", "library_path": ".\\VkLayer_unique_objects.dll", - "api_version": "1.0.5", + "api_version": "1.0.6", "implementation_version": "1", "description": "Google Validation Layer" } |
