diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-09-04 13:39:59 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-09-10 10:16:35 -0600 |
| commit | c5f3987068d9857be82fd77f2c8888fccba64315 (patch) | |
| tree | d5be3012b8a1a6bb0055cd6f67a67d3522abfebf /layers/vk_layer_extension_utils.cpp | |
| parent | fae25d2777686b78b39042e621dfb0aae567d47f (diff) | |
| download | usermoji-c5f3987068d9857be82fd77f2c8888fccba64315.tar.xz | |
bug-14538: Remove driver validation checks
Marked validation checks done in the driver with
TODOVV. Once we verify the check is covered in a
validation layer we can remove the driver code.
Diffstat (limited to 'layers/vk_layer_extension_utils.cpp')
| -rw-r--r-- | layers/vk_layer_extension_utils.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/layers/vk_layer_extension_utils.cpp b/layers/vk_layer_extension_utils.cpp index 9e85a5b6..2a5d9a3c 100644 --- a/layers/vk_layer_extension_utils.cpp +++ b/layers/vk_layer_extension_utils.cpp @@ -42,10 +42,6 @@ VkResult util_GetExtensionProperties( { uint32_t copy_size; - if (pCount == NULL) { - return VK_ERROR_INVALID_POINTER; - } - if (pProperties == NULL || layer_extensions == NULL) { *pCount = count; return VK_SUCCESS; @@ -69,10 +65,6 @@ VkResult util_GetLayerProperties( { uint32_t copy_size; - if (pCount == NULL) { - return VK_ERROR_INVALID_POINTER; - } - if (pProperties == NULL || layer_properties == NULL) { *pCount = count; return VK_SUCCESS; |
