layers:Kill PV return code check
authorTobin Ehlis <tobine@google.com>
Tue, 19 Dec 2017 16:30:04 +0000 (09:30 -0700)
committerTobin Ehlis <tobine@google.com>
Tue, 19 Dec 2017 16:34:16 +0000 (09:34 -0700)
Most of these return code warnings were already removed from validation
so killing this one as well. They can potentially be re-added in an
assistant layer.

layers/parameter_validation_utils.cpp

index 7b848ae..4f446ad 100644 (file)
@@ -442,9 +442,6 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateDevice(VkPhysicalDevice physicalDevice, c
 
         lock.lock();
 
-        std::vector<VkResult> empty_vec;
-        validate_result(my_instance_data->report_data, "vkCreateDevice", empty_vec, result);
-
         if (result == VK_SUCCESS) {
             layer_data *my_device_data = GetLayerDataPtr(get_dispatch_key(*pDevice), layer_data_map);
             assert(my_device_data != nullptr);