summaryrefslogtreecommitdiffstats
path: root/include/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2015-12-02 17:18:41 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2015-12-03 13:44:02 -0800
commit4e904a0310be8a5c311355473e70df4fd4d9caa1 (patch)
tree07872f76727c71d1507b1e4c5ecebd1cdfadb5b0 /include/vulkan
parent5757ad2959a91f71dcc4a3661cce0e5ab065052b (diff)
downloadexternal_mesa3d-4e904a0310be8a5c311355473e70df4fd4d9caa1.zip
external_mesa3d-4e904a0310be8a5c311355473e70df4fd4d9caa1.tar.gz
external_mesa3d-4e904a0310be8a5c311355473e70df4fd4d9caa1.tar.bz2
vk/0.210.0: Rework vkQueueSubmit
Diffstat (limited to 'include/vulkan')
-rw-r--r--include/vulkan/vulkan.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h
index 67ab34d..a897a6e 100644
--- a/include/vulkan/vulkan.h
+++ b/include/vulkan/vulkan.h
@@ -1377,6 +1377,17 @@ typedef struct VkLayerProperties {
char description[VK_MAX_DESCRIPTION_SIZE];
} VkLayerProperties;
+typedef struct VkSubmitInfo {
+ VkStructureType sType;
+ const void* pNext;
+ uint32_t waitSemaphoreCount;
+ const VkSemaphore* pWaitSemaphores;
+ uint32_t commandBufferCount;
+ const VkCommandBuffer* pCommandBuffers;
+ uint32_t signalSemaphoreCount;
+ const VkSemaphore* pSignalSemaphores;
+} VkSubmitInfo;
+
typedef struct VkMemoryAllocateInfo {
VkStructureType sType;
const void* pNext;
@@ -2155,7 +2166,7 @@ typedef VkResult (VKAPI_PTR *PFN_vkEnumerateDeviceExtensionProperties)(VkPhysica
typedef VkResult (VKAPI_PTR *PFN_vkEnumerateInstanceLayerProperties)(uint32_t* pPropertyCount, VkLayerProperties* pProperties);
typedef VkResult (VKAPI_PTR *PFN_vkEnumerateDeviceLayerProperties)(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkLayerProperties* pProperties);
typedef void (VKAPI_PTR *PFN_vkGetDeviceQueue)(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue);
-typedef VkResult (VKAPI_PTR *PFN_vkQueueSubmit)(VkQueue queue, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers, VkFence fence);
+typedef VkResult (VKAPI_PTR *PFN_vkQueueSubmit)(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence);
typedef VkResult (VKAPI_PTR *PFN_vkQueueWaitIdle)(VkQueue queue);
typedef VkResult (VKAPI_PTR *PFN_vkDeviceWaitIdle)(VkDevice device);
typedef VkResult (VKAPI_PTR *PFN_vkAllocateMemory)(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory);
@@ -2367,8 +2378,8 @@ VKAPI_ATTR void VKAPI_CALL vkGetDeviceQueue(
VKAPI_ATTR VkResult VKAPI_CALL vkQueueSubmit(
VkQueue queue,
- uint32_t commandBufferCount,
- const VkCommandBuffer* pCommandBuffers,
+ uint32_t submitCount,
+ const VkSubmitInfo* pSubmits,
VkFence fence);
VKAPI_ATTR VkResult VKAPI_CALL vkQueueWaitIdle(