aboutsummaryrefslogtreecommitdiff
path: root/loader/LoaderAndLayerInterface.md
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-10-19 13:58:23 -0600
committerTobin Ehlis <tobine@google.com>2017-10-20 17:03:22 -0600
commit50909f1d50cfd647e07f39c6b50b4fcac40aeeb7 (patch)
treec174f5348d0eae4ba32796664337c4c42fd4f0e9 /loader/LoaderAndLayerInterface.md
parentf3e9f2010c37b31df1874d3217457bc030e94e94 (diff)
downloadusermoji-50909f1d50cfd647e07f39c6b50b4fcac40aeeb7.tar.xz
loader:Updates to LL Interface Doc
Fixing some formatting issues and typos as I read through doc.
Diffstat (limited to 'loader/LoaderAndLayerInterface.md')
-rw-r--r--loader/LoaderAndLayerInterface.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/loader/LoaderAndLayerInterface.md b/loader/LoaderAndLayerInterface.md
index 3ba68caa..e019fb95 100644
--- a/loader/LoaderAndLayerInterface.md
+++ b/loader/LoaderAndLayerInterface.md
@@ -1278,15 +1278,15 @@ function.
- A layer initializes its device dispatch table within its `vkCreateDevice`
function.
- The loader passes a linked list of initialization structures to layers via
-the "pNext" field in the VkInstanceCreateInfo and `VkDeviceCreateInfo`
+the "pNext" field in the `VkInstanceCreateInfo` and `VkDeviceCreateInfo`
structures for `vkCreateInstance` and `VkCreateDevice` respectively.
- The head node in this linked list is of type `VkLayerInstanceCreateInfo` for
instance and VkLayerDeviceCreateInfo for device. See file
`include/vulkan/vk_layer.h` for details.
- A VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO is used by the loader for the
-"sType" field in VkLayerInstanceCreateInfo.
+"sType" field in `VkLayerInstanceCreateInfo`.
- A VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO is used by the loader for the
-"sType" field in VkLayerDeviceCreateInfo.
+"sType" field in `VkLayerDeviceCreateInfo`.
- The "function" field indicates how the union field "u" should be interpreted
within `VkLayer*CreateInfo`. The loader will set the "function" field to
VK_LAYER_LINK_INFO. This indicates "u" field should be `VkLayerInstanceLink` or
@@ -1300,7 +1300,7 @@ used by a layer.
- Given the above structures set up by the loader, layer must initialize their
dispatch table as follows:
- Find the `VkLayerInstanceCreateInfo`/`VkLayerDeviceCreateInfo` structure in
-the VkInstanceCreateInfo/VkDeviceCreateInfo structure.
+the `VkInstanceCreateInfo`/`VkDeviceCreateInfo` structure.
- Get the next entity's vkGet*ProcAddr from the "pLayerInfo" field.
- For CreateInstance get the next entity's `vkCreateInstance` by calling the
"pfnNextGetInstanceProcAddr":
@@ -2078,7 +2078,7 @@ The following section discusses the details of the ICD Manifest JSON file
format. The JSON file itself does not have any requirements for naming. The
only requirement is that the extension suffix of the file ends with ".json".
-Here is an example layer JSON Manifest file:
+Here is an example ICD JSON Manifest file:
```
{