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/vulkan.py b/vulkan.py
index 8e6fd01..7fa074a 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -235,6 +235,19 @@
Param("size_t*", "pDataSize"),
Param("void*", "pData")]),
+ Proto("VkResult", "GetPhysicalDeviceFeatures",
+ [Param("VkPhysicalDevice", "physicalDevice"),
+ Param("VkPhysicalDeviceFeatures*", "pFeatures")]),
+
+ Proto("VkResult", "GetPhysicalDeviceFormatInfo",
+ [Param("VkPhysicalDevice", "physicalDevice"),
+ Param("VkFormat", "format"),
+ Param("VkFormatProperties*", "pFormatInfo")]),
+
+ Proto("VkResult", "GetPhysicalDeviceLimits",
+ [Param("VkPhysicalDevice", "physicalDevice"),
+ Param("VkPhysicalDeviceLimits*", "pLimits")]),
+
Proto("void*", "GetInstanceProcAddr",
[Param("VkInstance", "instance"),
Param("const char*", "pName")]),
@@ -413,13 +426,6 @@
Param("void*", "pData"),
Param("VkQueryResultFlags", "flags")]),
- Proto("VkResult", "GetFormatInfo",
- [Param("VkDevice", "device"),
- Param("VkFormat", "format"),
- Param("VkFormatInfoType", "infoType"),
- Param("size_t*", "pDataSize"),
- Param("void*", "pData")]),
-
Proto("VkResult", "CreateBuffer",
[Param("VkDevice", "device"),
Param("const VkBufferCreateInfo*", "pCreateInfo"),