Remove unnecessary Valid Usage statement

Function can return VK_ERROR_LAYER_NOT_PRESENT so does not need
a valid usage statement for pLayer. Behavior is well defined.
[ChangeLog] Remove VU for vkEnumerateInstanceExtensionProperties.
Fix Github bug #487
https://github.com/KhronosGroup/Vulkan-Docs/issues/487
This commit is contained in:
Courtney Goeltzenleuchter 2017-04-21 12:07:42 -06:00
parent 8ca865f0f8
commit a087feca30

View File

@ -249,12 +249,6 @@ The extensions supported by a layer may also change between two calls, e.g.
if the layer implementation is replaced by a different version between those
calls.
.Valid Usage
****
* If pname:pLayerName is not `NULL`, it must: be the name of a layer
returned by flink:vkEnumerateInstanceLayerProperties
****
include::../validity/protos/vkEnumerateInstanceExtensionProperties.txt[]
To enable an instance extension, the name of the extension should: be added
@ -287,12 +281,6 @@ Vulkan implementation or by implicitly enabled layers are returned.
When pname:pLayerName is the name of a layer, the device extensions provided
by that layer are returned.
.Valid Usage
****
* If pname:pLayerName is not `NULL`, it must: be the name of a layer
returned by flink:vkEnumerateDeviceLayerProperties
****
include::../validity/protos/vkEnumerateDeviceExtensionProperties.txt[]
// refBegin VkExtensionProperties Structure specifying a extension properties