diff options
| author | Mark Young <marky@lunarg.com> | 2017-02-13 15:39:22 -0700 |
|---|---|---|
| committer | Mark Young <marky@lunarg.com> | 2017-02-13 15:39:22 -0700 |
| commit | 777c1c528a502d0dbd96707b0aa863fd3bf06bdd (patch) | |
| tree | 1d29bc2688f4d076791d8d19d956bfffd4658655 /loader/LoaderAndLayerInterface.md | |
| parent | 8672eaa64a3acf83e795bf330d537b5e3add0ba4 (diff) | |
| download | usermoji-777c1c528a502d0dbd96707b0aa863fd3bf06bdd.tar.xz | |
docs: Update LoaderAndLayerInterface
Added section detailing the loader's instance extension name
filtering behavior and the environment varaible that can be used
to disable the behavior.
Change-Id: Iadbde47e2933a163906a7cfa1c4b340da0d73789
Diffstat (limited to 'loader/LoaderAndLayerInterface.md')
| -rw-r--r-- | loader/LoaderAndLayerInterface.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/loader/LoaderAndLayerInterface.md b/loader/LoaderAndLayerInterface.md index 32de7710..6b71d600 100644 --- a/loader/LoaderAndLayerInterface.md +++ b/loader/LoaderAndLayerInterface.md @@ -699,6 +699,19 @@ No! Most extension functionality only affects either a physical or logical device and not an instance. Thus, the overwhelming majority of extensions should be supported with direct loader support. +##### Filtering Out Unknown Instance Extension Names +In some cases, an ICD may support instance extensions that the loader does not. +For the above reasons, the loader will filter out the names of these unknown instance +extensions when an application calls `vkEnumerateInstanceExtensionProperties`. +Additionally, this behavior will cause the loader to throw an error during +`vkCreateInstance` if you still attempt to use one of these extensions. The intent is +to protect applications so that they don't inadvertantly use functionality +which could lead to a crash. + +On the other-hand, if you know you can safely use the extension, you may disable +the filtering by defining the environment variable `VK_LOADER_DISABLE_INST_EXT_FILTER` +and setting the value to a non-zero number. This will effectively disable the +loader's filtering out of instance extension names. <br/> <br/> |
