diff options
| author | Cody Northrop <cody@lunarg.com> | 2015-08-04 10:47:08 -0600 |
|---|---|---|
| committer | Cody Northrop <cody@lunarg.com> | 2015-08-04 17:37:03 -0600 |
| commit | 2e11cade51d0a0f08aa4f55d9fb96a33b40726fb (patch) | |
| tree | f0108d17d0611045986fcb6875f72a7e6463974e /include/vulkan.h | |
| parent | 4d3c11d455499e57557264e41048a922172516d7 (diff) | |
| download | usermoji-2e11cade51d0a0f08aa4f55d9fb96a33b40726fb.tar.xz | |
v142: Bug 14275 - Remove image layouts in VkFramebufferCreateInfo
Diffstat (limited to 'include/vulkan.h')
| -rw-r--r-- | include/vulkan.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/vulkan.h b/include/vulkan.h index 36d8b2cc..33ccde74 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -41,14 +41,14 @@ extern "C" { ((major << 22) | (minor << 12) | patch) // Vulkan API version supported by this file -#define VK_API_VERSION VK_MAKE_VERSION(0, 140, 0) +#define VK_API_VERSION VK_MAKE_VERSION(0, 142, 0) #define VK_DEFINE_HANDLE(obj) typedef struct obj##_T* obj; #if defined(__cplusplus) - #if (_MSC_VER >= 1800 || __cplusplus >= 201103L) + #if ((defined(_MSC_VER) && _MSC_VER >= 1800) || __cplusplus >= 201103L) // The bool operator only works if there are no implicit conversions from an obj to // a bool-compatible type, which can then be used to unintentionally violate type safety. // C++11 and above supports the "explicit" keyword on conversion operators to stop this @@ -1860,16 +1860,11 @@ typedef struct { } VkDynamicDepthStencilStateCreateInfo; typedef struct { - VkAttachmentView view; - VkImageLayout layout; -} VkAttachmentBindInfo; - -typedef struct { VkStructureType sType; const void* pNext; VkRenderPass renderPass; uint32_t attachmentCount; - const VkAttachmentBindInfo* pAttachments; + const VkAttachmentView* pAttachments; uint32_t width; uint32_t height; uint32_t layers; |
