aboutsummaryrefslogtreecommitdiff
path: root/layers/device_limits.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/device_limits.cpp')
-rw-r--r--layers/device_limits.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/device_limits.cpp b/layers/device_limits.cpp
index 8e20ace9..8cb8b6b5 100644
--- a/layers/device_limits.cpp
+++ b/layers/device_limits.cpp
@@ -356,6 +356,7 @@ static VkBool32 validate_features_request(layer_data *phy_dev_data)
skipCall |= log_msg(phy_dev_data->report_data, VK_DBG_REPORT_WARN_BIT, VK_OBJECT_TYPE_PHYSICAL_DEVICE, 0, 0, DEVLIMITS_INVALID_FEATURE_REQUESTED, "DL",
"You requested features that are unavailable on this device. You should first query feature availability by calling vkGetPhysicalDeviceFeatures().");
}
+ return skipCall;
}
VK_LAYER_EXPORT VkResult VKAPI vkCreateDevice(VkPhysicalDevice gpu, const VkDeviceCreateInfo* pCreateInfo, VkDevice* pDevice)