From c5f3987068d9857be82fd77f2c8888fccba64315 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Fri, 4 Sep 2015 13:39:59 -0600 Subject: 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. --- layers/vk_layer_extension_utils.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'layers/vk_layer_extension_utils.cpp') 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; -- cgit v1.2.3