aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/vulkaninfo.c2
-rw-r--r--include/vulkan.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c
index 00120ffd..2b82086b 100644
--- a/demos/vulkaninfo.c
+++ b/demos/vulkaninfo.c
@@ -923,6 +923,8 @@ static void app_dump_limits(const VkPhysicalDeviceLimits *limits)
printf("\t\tlineWidthRange[1] = %f\n", limits->lineWidthRange[1] );
printf("\t\tpointSizeGranularity = %f\n", limits->pointSizeGranularity );
printf("\t\tlineWidthGranularity = %f\n", limits->lineWidthGranularity );
+ printf("\t\trecommendedBufferCopyOffsetAlignment = 0x%" PRIxLEAST32 "\n", limits->recommendedBufferCopyOffsetAlignment );
+ printf("\t\trecommendedBufferCopyRowPitchAlignment = 0x%" PRIxLEAST32 "\n", limits->recommendedBufferCopyRowPitchAlignment );
}
static void app_gpu_dump_props(const struct app_gpu *gpu)
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 {