mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-16 16:26:26 +00:00
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:
parent
8ca865f0f8
commit
a087feca30
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user