| KarenGhavam-lunarG | cb06847 | 2019-02-15 11:50:14 -0700 | [diff] [blame] | 1 | <!-- markdownlint-disable MD041 --> |
| John Zulauf | 87ff48c | 2019-02-23 08:43:07 -0700 | [diff] [blame^] | 2 | <!-- Copyright 2015-2019 LunarG, Inc. --> |
| KarenGhavam-lunarG | cb06847 | 2019-02-15 11:50:14 -0700 | [diff] [blame] | 3 | [![Khronos Vulkan][1]][2] |
| 4 | |
| 5 | [1]: https://vulkan.lunarg.com/img/Vulkan_100px_Dec16.png "https://www.khronos.org/vulkan/" |
| 6 | [2]: https://www.khronos.org/vulkan/ |
| 7 | |
| Jeremy Kniager | 4b171df | 2018-03-23 12:01:12 -0600 | [diff] [blame] | 8 | # VK\_LAYER\_LUNARG\_parameter\_validation |
| KarenGhavam-lunarG | cb06847 | 2019-02-15 11:50:14 -0700 | [diff] [blame] | 9 | |
| 10 | [![Creative Commons][3]][4] |
| 11 | |
| 12 | [3]: https://i.creativecommons.org/l/by-nd/4.0/88x31.png "Creative Commons License" |
| 13 | [4]: https://creativecommons.org/licenses/by-nd/4.0/ |
| Karl Schultz | 708cc48 | 2018-12-26 11:21:32 -0700 | [diff] [blame] | 14 | |
| Jeremy Kniager | 4b171df | 2018-03-23 12:01:12 -0600 | [diff] [blame] | 15 | The `VK_LAYER_LUNARG_parameter_validation` validation layer checks the input parameters to API calls for validity. This layer performs the following tasks: |
| 16 | |
| Karl Schultz | 708cc48 | 2018-12-26 11:21:32 -0700 | [diff] [blame] | 17 | - validation of structures; structures are recursed if necessary |
| 18 | - validation of enumerated type values |
| 19 | - null pointer conditions |
| 20 | - stateless valid usage checks |
| 21 | - validation of `VkResult`. |