aboutsummaryrefslogtreecommitdiff
path: root/vulkan.py
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2015-06-21 22:55:02 +1200
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-24 15:38:03 -0600
commitf576a3edbd003797df3ca6995160e093f14c9f9d (patch)
tree995503307e3b555f0c3a608cbfa1f9ca7ecb999f /vulkan.py
parent52b161e51097b2e0322b130b85ca94336f56733a (diff)
downloadusermoji-f576a3edbd003797df3ca6995160e093f14c9f9d.tar.xz
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>
Diffstat (limited to 'vulkan.py')
-rwxr-xr-xvulkan.py20
1 files changed, 13 insertions, 7 deletions
diff --git a/vulkan.py b/vulkan.py
index 8e6fd013..7fa074a1 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -235,6 +235,19 @@ core = Extension(
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 @@ core = Extension(
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"),