diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-06-15 08:33:51 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-06-15 08:33:51 +0200 |
| commit | 403f694bf90455f13b115ea7cf58495f58bde6cc (patch) | |
| tree | d85fcc80a5c7ecc62c3fbbcec9fad4511de9ffc0 /include | |
| parent | 4e265c6e268201e09bb8471633d9bafff2700351 (diff) | |
phyinfo extension check
Diffstat (limited to 'include')
| -rw-r--r-- | include/vkh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vkh.h b/include/vkh.h index 2d9af36..d6bc5a7 100644 --- a/include/vkh.h +++ b/include/vkh.h @@ -38,6 +38,7 @@ typedef enum VmaMemoryUsage VmaMemoryUsage; #include <assert.h> #include <stdbool.h> #include <stdint.h> +#include <string.h> #define _USE_MATH_DEFINES //to have M_PI* defined with MSVC #include <math.h> @@ -97,6 +98,7 @@ bool phy_info_create_graphic_queues (VkhPhyInfo phy, uint32_t queueCount, cons bool vkh_phyinfo_create_transfer_queues (VkhPhyInfo phy, uint32_t queueCount, const float* queue_priorities, VkDeviceQueueCreateInfo* const qInfo); bool vkh_phyinfo_create_compute_queues (VkhPhyInfo phy, uint32_t queueCount, const float* queue_priorities, VkDeviceQueueCreateInfo* const qInfo); +bool vkh_phyinfo_try_get_extension_properties (VkhPhyInfo phy, const char* name, const VkExtensionProperties* properties); /************* * VkhDevice * *************/ |