From 32c0bbcb2693a5cbe5641ed7faa056bb06e8b47b Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 26 Oct 2015 19:28:45 +0800 Subject: v184: bug 14719: vkCmdCopyBufferToImage alignment requirements (WIP) Update vulkaninfo to print new limits. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14719 --- include/vulkan.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/vulkan.h b/include/vulkan.h index 6977c12c..ae47f6fd 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -41,7 +41,7 @@ extern "C" { ((major << 22) | (minor << 12) | patch) // Vulkan API version supported by this file -#define VK_API_VERSION VK_MAKE_VERSION(0, 183, 0) +#define VK_API_VERSION VK_MAKE_VERSION(0, 184, 0) #if defined(__cplusplus) && ((defined(_MSC_VER) && _MSC_VER >= 1800) || __cplusplus >= 201103L) @@ -1270,6 +1270,8 @@ typedef struct { float lineWidthRange[2]; float pointSizeGranularity; float lineWidthGranularity; + uint32_t recommendedBufferCopyOffsetAlignment; + uint32_t recommendedBufferCopyRowPitchAlignment; } VkPhysicalDeviceLimits; typedef struct { -- cgit v1.2.3