aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorChia-I Wu <olv@google.com>2016-04-22 08:12:19 +0800
committerJon Ashburn <jon@lunarg.com>2016-04-22 08:26:54 -0600
commit7f409438b630a032875cc5faedd7a44d04d67bcd (patch)
tree26bfd9b9d9e5091719adac6c472f4e18e79ff067 /loader
parentdf8a6072af3545111edf4fa1462a4ed993544c36 (diff)
downloadusermoji-7f409438b630a032875cc5faedd7a44d04d67bcd.tar.xz
doc: remove rules on vkEnumerate*Properties for layers
Diffstat (limited to 'loader')
-rw-r--r--loader/LoaderAndLayerInterface.md15
1 files changed, 2 insertions, 13 deletions
diff --git a/loader/LoaderAndLayerInterface.md b/loader/LoaderAndLayerInterface.md
index 8a35cbaa..5d706ca1 100644
--- a/loader/LoaderAndLayerInterface.md
+++ b/loader/LoaderAndLayerInterface.md
@@ -1057,19 +1057,8 @@ indirectly from its upper layers.
When a layer requires host memory, it is free to scope the allocations to
itself, bypassing the provided allocators entirely.
-`vkEnumerateInstanceLayerProperties` must always fail with
-`VK_ERROR_LAYER_NOT_PRESENT`.
-
-`vkEnumerateInstanceExtensionProperties` must always fail with
-`VK_ERROR_LAYER_NOT_PRESENT`, including when `pLayerName` is `NULL`.
-
-`vkEnumerateDeviceLayerProperties` must always fail with
-`VK_ERROR_LAYER_NOT_PRESENT`.
-
-`vkEnumerateDeviceExtensionProperties` must always fail with
-`VK_ERROR_LAYER_NOT_PRESENT`, except when `pLayerName` is `NULL`. It must
-handle the case where `pLayerName` is `NULL`, usually by chaining to other
-layers.
+`vkEnumerateDeviceExtensionProperties` must handle the case where `pLayerName`
+is `NULL`, usually by chaining to other layers.
`vkGetInstanceProcAddr` can intercept a command by returning a function
pointer different from what would be returned through chaining.