vulkan.h: Remove vkGetFormatInfo, add features/limits (#12827, v125)
NOTES:
1/ Some layers impact from vkGetFormatInfo ->
vkGetPhysicalDeviceFormatInfo; some checks are currently disabled in
ParamChecker pending discussion on the best way to do this. Similar
checks in Image layer implemented via additional layer_data member
to link back from VkDevice -> VkPhysicalDevice.
2/ VkPhysicalDeviceFeatures, VkPhysicalDeviceLimits members all zero
for now; also some further churn to be done to the contents of these
structures.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
diff --git a/icd/intel/gpu.c b/icd/intel/gpu.c
index fb3dc16..31ae5b8 100644
--- a/icd/intel/gpu.c
+++ b/icd/intel/gpu.c
@@ -470,6 +470,30 @@
return ret;
}
+ICD_EXPORT VkResult VKAPI vkGetPhysicalDeviceFeatures(
+ VkPhysicalDevice physicalDevice,
+ VkPhysicalDeviceFeatures* pFeatures)
+{
+ VkResult ret = VK_SUCCESS;
+
+ /* TODO: fill out features */
+ memset(pFeatures, 0, sizeof(*pFeatures));
+
+ return ret;
+}
+
+ICD_EXPORT VkResult VKAPI vkGetPhysicalDeviceLimits(
+ VkPhysicalDevice physicalDevice,
+ VkPhysicalDeviceLimits* pLimits)
+{
+ VkResult ret = VK_SUCCESS;
+
+ /* TODO: fill out limits */
+ memset(pLimits, 0, sizeof(*pLimits));
+
+ return ret;
+}
+
ICD_EXPORT VkResult VKAPI vkGetPhysicalDeviceExtensionInfo(
VkPhysicalDevice gpu,
VkExtensionInfoType infoType,