aboutsummaryrefslogtreecommitdiff
path: root/layers/device_limits.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-09-29 11:22:37 -0600
committerTobin Ehlis <tobin@lunarg.com>2015-09-29 11:22:37 -0600
commit8d03b7c546d057e281fe3c24337ed0faf51790ec (patch)
tree57fefedabce59d80b81d62c16fd3cd2dbe95d745 /layers/device_limits.cpp
parentc0a51df5109ef0f6493f4f058f2c417d51fc641e (diff)
downloadusermoji-8d03b7c546d057e281fe3c24337ed0faf51790ec.tar.xz
Fix windows build issues in cube.c and device_limits.cpp
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)