Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/Vulkan-Loader.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2022-11-01 02:27:29 +0300
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2022-11-04 23:08:39 +0300
commit209455be86eead56b8799bfb19e121b71cfdd934 (patch)
treeff6a74ea6a79d6ee66a36e0045f872f9d649afb5
parent99af2c419f246e5f34bab343df52fb71ccd2e7fd (diff)
Add the 1.3.224 Header version to the Env-Var documentation
This way users know exactly which version of the loader contains the new environment variables.
-rw-r--r--docs/LoaderDebugging.md8
-rw-r--r--docs/LoaderDriverInterface.md2
-rw-r--r--docs/LoaderInterfaceArchitecture.md8
-rw-r--r--docs/LoaderLayerInterface.md2
-rw-r--r--loader/vk_loader_platform.h11
5 files changed, 17 insertions, 14 deletions
diff --git a/docs/LoaderDebugging.md b/docs/LoaderDebugging.md
index b7fce45af..8ed0dfc65 100644
--- a/docs/LoaderDebugging.md
+++ b/docs/LoaderDebugging.md
@@ -166,7 +166,7 @@ which indicates that it was likely enabled by the application.
### Disable Layers
**NOTE:** This functionality is only available with Loaders built with version
-1.3.yyyy of the Vulkan headers and later.
+1.3.234 of the Vulkan headers and later.
Sometimes, implicit layers can cause issues with an application.
Because of this, the next step is to try to disable one or more of the listed
@@ -193,7 +193,7 @@ WARNING | LAYER: Implicit layer "VK_LAYER_Twitch_Overlay" forced disabled becau
### Selectively Re-enable Layers
**NOTE:** This functionality is only available with Loaders built with version
-1.3.yyyy of the Vulkan headers and later.
+1.3.234 of the Vulkan headers and later.
When trying to diagnose problems caused by layers, it is useful to first disable
all layers and re-enable each layer individually.
@@ -232,7 +232,7 @@ For more info on how to use the filtering environment variables, refer to the
### Enable Driver Logging
**NOTE:** This functionality is only available with Loaders built with version
-1.3.yyyy of the Vulkan headers and later.
+1.3.234 of the Vulkan headers and later.
If you suspect a driver issue, set the loader logging to specifically output
driver messages:
@@ -301,7 +301,7 @@ DRIVER: Using "Intel(R) UHD Graphics 630 (CFL GT2)" with driver: "/usr/li
### Selectively Enable Specific Drivers
**NOTE:** This functionality is only available with Loaders built with version
-1.3.yyyy of the Vulkan headers and later.
+1.3.234 of the Vulkan headers and later.
You can now use the filtering environment variables
(`VK_LOADER_DRIVERS_SELECT` and `VK_LOADER_DRIVERS_DISABLE`) to control what
diff --git a/docs/LoaderDriverInterface.md b/docs/LoaderDriverInterface.md
index 6e820e0a6..b66411060 100644
--- a/docs/LoaderDriverInterface.md
+++ b/docs/LoaderDriverInterface.md
@@ -141,7 +141,7 @@ ignored.
### Driver Filtering
**NOTE:** This functionality is only available with Loaders built with version
-1.3.yyyy of the Vulkan headers and later.
+1.3.234 of the Vulkan headers and later.
The loader supports filter environment variables which can forcibly select and
disable known drivers.
diff --git a/docs/LoaderInterfaceArchitecture.md b/docs/LoaderInterfaceArchitecture.md
index 357be1b94..a2cc63580 100644
--- a/docs/LoaderInterfaceArchitecture.md
+++ b/docs/LoaderInterfaceArchitecture.md
@@ -772,7 +772,7 @@ discovery.
</small></td>
<td><small>
This functionality is only available with Loaders built with version
- 1.3.yyyy of the Vulkan headers and later.<br/>
+ 1.3.234 of the Vulkan headers and later.<br/>
If no drivers are found with a manifest filename that matches any of the
provided globs, then no driver is enabled and it <b>may</b> result
in Vulkan applications failing to run properly.
@@ -803,7 +803,7 @@ discovery.
</small></td>
<td><small>
This functionality is only available with Loaders built with version
- 1.3.yyyy of the Vulkan headers and later.<br/>
+ 1.3.234 of the Vulkan headers and later.<br/>
If all available drivers are disabled using this environment variable,
then no drivers will be found by the loader and <b>will</b> result
in Vulkan applications failing to run properly.<br/>
@@ -839,7 +839,7 @@ discovery.
</small></td>
<td><small>
This functionality is only available with Loaders built with version
- 1.3.yyyy of the Vulkan headers and later.
+ 1.3.234 of the Vulkan headers and later.
</small></td>
<td><small>
export<br/>
@@ -866,7 +866,7 @@ discovery.
</small></td>
<td><small>
This functionality is only available with Loaders built with version
- 1.3.yyyy of the Vulkan headers and later.<br/>
+ 1.3.234 of the Vulkan headers and later.<br/>
Disabling a layer that an application intentionally enables as an
explicit layer <b>may</b> cause the application to not function
properly.<br/>
diff --git a/docs/LoaderLayerInterface.md b/docs/LoaderLayerInterface.md
index dab8846ad..797377882 100644
--- a/docs/LoaderLayerInterface.md
+++ b/docs/LoaderLayerInterface.md
@@ -420,7 +420,7 @@ following:
### Layer Filtering
**NOTE:** This functionality is only available with Loaders built with version
-1.3.yyyy of the Vulkan headers and later.
+1.3.234 of the Vulkan headers and later.
The loader supports filter environment variables which can forcibly enable and
disable known layers.
diff --git a/loader/vk_loader_platform.h b/loader/vk_loader_platform.h
index 6f01c653d..44120f2c2 100644
--- a/loader/vk_loader_platform.h
+++ b/loader/vk_loader_platform.h
@@ -43,7 +43,8 @@
#include "dlopen_fuchsia.h"
#endif // defined(__Fuchsia__)
-#if defined(__linux__) || defined(__APPLE__) || defined(__Fuchsia__) || defined(__QNXNTO__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__linux__) || defined(__APPLE__) || defined(__Fuchsia__) || defined(__QNXNTO__) || defined(__FreeBSD__) || \
+ defined(__OpenBSD__)
#include <unistd.h>
// Note: The following file is for dynamic loading:
#include <dlfcn.h>
@@ -92,7 +93,7 @@
// Support added in v1.3.207 loader
#define VK_ADDITIONAL_DRIVER_FILES_ENV_VAR "VK_ADD_DRIVER_FILES"
#define VK_ADDITIONAL_LAYER_PATH_ENV_VAR "VK_ADD_LAYER_PATH"
-// Support added in v1.3.yyyy loader
+// Support added in v1.3.234 loader
#define VK_LAYERS_ENABLE_ENV_VAR "VK_LOADER_LAYERS_ENABLE"
#define VK_LAYERS_DISABLE_ENV_VAR "VK_LOADER_LAYERS_DISABLE"
#define VK_DRIVERS_SELECT_ENV_VAR "VK_LOADER_DRIVERS_SELECT"
@@ -109,7 +110,8 @@
#define LAYERS_PATH_ENV "VK_LAYER_PATH"
#define ENABLED_LAYERS_ENV "VK_INSTANCE_LAYERS"
-#if defined(__linux__) || defined(__APPLE__) || defined(__Fuchsia__) || defined(__QNXNTO__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__linux__) || defined(__APPLE__) || defined(__Fuchsia__) || defined(__QNXNTO__) || defined(__FreeBSD__) || \
+ defined(__OpenBSD__)
/* Linux-specific common code: */
// VK Library Filenames, Paths, etc.:
@@ -230,7 +232,8 @@ static inline void loader_platform_thread_once_fn(pthread_once_t *ctl, void (*fu
#endif
-#if defined(__linux__) || defined(__APPLE__) || defined(__Fuchsia__) || defined(__QNXNTO__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__linux__) || defined(__APPLE__) || defined(__Fuchsia__) || defined(__QNXNTO__) || defined(__FreeBSD__) || \
+ defined(__OpenBSD__)
// File IO
static inline bool loader_platform_file_exists(const char *path) {