aboutsummaryrefslogtreecommitdiff
path: root/layers/threading.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/threading.cpp')
-rw-r--r--layers/threading.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/layers/threading.cpp b/layers/threading.cpp
index ef23a80d..b110bbf0 100644
--- a/layers/threading.cpp
+++ b/layers/threading.cpp
@@ -207,9 +207,9 @@ VK_LAYER_EXPORT VkResult VKAPI_CALL vkEnumerateInstanceExtensionProperties(const
static const VkLayerProperties globalLayerProps[] = {
{
- "Threading",
+ "VK_LAYER_GOOGLE_threading",
VK_API_VERSION, // specVersion
- VK_MAKE_VERSION(0, 1, 0), // implVersion
+ 1,
"Google Validation Layer",
}
};
@@ -222,9 +222,9 @@ VK_LAYER_EXPORT VkResult VKAPI_CALL vkEnumerateInstanceLayerProperties(uint32_t
static const VkLayerProperties deviceLayerProps[] = {
{
- "Threading",
- VK_API_VERSION,
- VK_MAKE_VERSION(0, 1, 0),
+ "VK_LAYER_GOOGLE_threading",
+ VK_API_VERSION, // specVersion
+ 1,
"Google Validation Layer",
}
};
@@ -256,7 +256,6 @@ VK_LAYER_EXPORT VkResult VKAPI_CALL vkEnumerateDeviceLayerProperties(VkPhysicalD
return util_GetLayerProperties(ARRAY_SIZE(deviceLayerProps), deviceLayerProps, pCount, pProperties);
}
-
static inline PFN_vkVoidFunction layer_intercept_proc(const char *name)
{
for (int i=0; i<sizeof(procmap)/sizeof(procmap[0]); i++) {