Skip to content

Commit

Permalink
docs: Documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlunarg committed Feb 24, 2022
1 parent 727a2ce commit 26dc857
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LAYER_CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Vulkan validation and utility layers give Vulkan application developers the abil

Developers can configure layers through a graphical user interface. *[Vulkan Configurator](https://vulkan.lunarg.com/doc/sdk/latest/windows/vkconfig.html)* allows full user control of Vulkan layers, including enabling or disabling specific layers, controlling layer order, changing layer settings, etc.

## Enabling Vulkan Layers using `VkCreateInfo()`
## Enabling Vulkan Layers using `VkCreateInstance()`
Applications may programmatically activate layers via the `vkCreateInstance()` entry point. This
is done by setting `enabledLayerCount` and `ppEnabledLayerNames` in the `VkInstanceCreateInfo`
structure.
Expand All @@ -30,7 +30,7 @@ structure.

### Windows
Layers can be activated by using the `VK_INSTANCE_LAYERS` environment variable.
The variable should include a semi-colon separated list of layer names to activate.
The variable should include a semicolon-separated list of layer names to activate.
Note that order is relevant, with the initial layer being the closest to the application, and the final layer being closest to the driver.

For example:
Expand All @@ -55,7 +55,7 @@ These commands will run vkcube, enabling the api_dump and validation layers that

### Linux and macOS
Layers can be activated by using the `VK_INSTANCE_LAYERS` environment variable.
The variable should include a colon separated list of layer names to activate.
The variable should include a colon-separated list of layer names to activate.
Note that order is relevant, with the initial layer being the closest to the application, and the final layer being closest to the driver.

For example:
Expand Down

0 comments on commit 26dc857

Please sign in to comment.