diff options
| author | Ian Elliott <ian@LunarG.com> | 2015-04-17 12:11:54 -0600 |
|---|---|---|
| committer | Ian Elliott <ian@LunarG.com> | 2015-04-17 12:11:54 -0600 |
| commit | e5dfd21ca1a9ff58bde948f1c52bbbf2c674ba67 (patch) | |
| tree | df6d08569ad547e0a3beb3daf2b226a226f03540 | |
| parent | 9d0313a75474f8eb2b0b5239a20904a3b55ef50b (diff) | |
| download | usermoji-e5dfd21ca1a9ff58bde948f1c52bbbf2c674ba67.tar.xz | |
WSI header file changes pushed upstream.
The following commits were sent to the WSI TSG's subversion directory:
- Remove unnecessary "display" from VkDisplayFormatPropertiesWSI.
- Add WSI to end of VkSwapChainImageInfo.
- Make vkQueuePresentWSI's 2nd parameter be constant.
| -rw-r--r-- | include/vk_wsi_lunarg.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/vk_wsi_lunarg.h b/include/vk_wsi_lunarg.h index e36fe707..84de8d2c 100644 --- a/include/vk_wsi_lunarg.h +++ b/include/vk_wsi_lunarg.h @@ -103,7 +103,6 @@ typedef struct VkDisplayPropertiesWSI_ typedef struct VkDisplayFormatPropertiesWSI_ { - VkDisplayWSI display; // Handle of the display object VkFormat swapChainFormat; // Format of the images of the swap chain } VkDisplayFormatPropertiesWSI; @@ -132,11 +131,11 @@ typedef struct VkSwapChainCreateInfoWSI_ VkFlags swapModeFlags; // Allowed swap modes (see VkSwapModeFlagsWSI) } VkSwapChainCreateInfoWSI; -typedef struct VkSwapChainImageInfo_ +typedef struct VkSwapChainImageInfoWSI_ { VkImage image; // Persistent swap chain image handle VkDeviceMemory memory; // Persistent swap chain image's memory handle -} VkSwapChainImageInfo; +} VkSwapChainImageInfoWSI; typedef struct VkPhysicalDeviceQueuePresentPropertiesWSI_ { @@ -158,7 +157,7 @@ typedef VkResult (VKAPI *PFN_vkGetDisplayInfoWSI)(VkDisplayWSI display, VkDispla typedef VkResult (VKAPI *PFN_vkCreateSwapChainWSI)(VkDevice device, const VkSwapChainCreateInfoWSI* pCreateInfo, VkSwapChainWSI* pSwapChain); typedef VkResult (VKAPI *PFN_vkDestroySwapChainWSI)(VkSwapChainWSI swapChain); typedef VkResult (VKAPI *PFN_vkGetSwapChainInfoWSI)(VkSwapChainWSI swapChain, VkSwapChainInfoTypeWSI infoType, size_t* pDataSize, void* pData); -typedef VkResult (VKAPI *PFN_vkQueuePresentWSI)(VkQueue queue, VkPresentInfoWSI* pPresentInfo); +typedef VkResult (VKAPI *PFN_vkQueuePresentWSI)(VkQueue queue, const VkPresentInfoWSI* pPresentInfo); // ------------------------------------------------------------------------------------------------ // Function prototypes @@ -187,7 +186,7 @@ VkResult VKAPI vkGetSwapChainInfoWSI( VkResult VKAPI vkQueuePresentWSI( VkQueue queue, - VkPresentInfoWSI* pPresentInfo); + const VkPresentInfoWSI* pPresentInfo); #endif // VK_PROTOTYPES |
