vulkan.h: V102 -- Rename min/maxDepth for DepthStencil, Bug# 13917
Renamed depth-stencil minDepth and maxDepth to minDepthBounds and
maxDepthBounds.
diff --git a/include/vulkan.h b/include/vulkan.h
index 768ee25..d3c6e8d 100644
--- a/include/vulkan.h
+++ b/include/vulkan.h
@@ -33,7 +33,7 @@
#include "vk_platform.h"
// Vulkan API version supported by this file
-#define VK_API_VERSION VK_MAKE_VERSION(0, 101, 0)
+#define VK_API_VERSION VK_MAKE_VERSION(0, 102, 0)
#ifdef __cplusplus
extern "C"
@@ -1902,10 +1902,10 @@
typedef struct VkDynamicDsStateCreateInfo_
{
- VkStructureType sType; // Must be VK_STRUCTURE_TYPE_DYNAMIC_DS_STATE_CREATE_INFO
- const void* pNext; // Pointer to next structure
- float minDepth; // optional (depth_bounds_test)
- float maxDepth; // optional (depth_bounds_test)
+ VkStructureType sType; // Must be VK_STRUCTURE_TYPE_DYNAMIC_DS_STATE_CREATE_INFO
+ const void* pNext; // Pointer to next structure
+ float minDepthBounds; // optional (depth_bounds_test)
+ float maxDepthBounds; // optional (depth_bounds_test)
uint32_t stencilReadMask;
uint32_t stencilWriteMask;
uint32_t stencilFrontRef;
diff --git a/tests/vkrenderframework.cpp b/tests/vkrenderframework.cpp
index a1968f4..96c6efc 100644
--- a/tests/vkrenderframework.cpp
+++ b/tests/vkrenderframework.cpp
@@ -227,8 +227,8 @@
VkDynamicDsStateCreateInfo depthStencil = {};
depthStencil.sType = VK_STRUCTURE_TYPE_DYNAMIC_DS_STATE_CREATE_INFO;
- depthStencil.minDepth = 0.f;
- depthStencil.maxDepth = 1.f;
+ depthStencil.minDepthBounds = 0.f;
+ depthStencil.maxDepthBounds = 1.f;
depthStencil.stencilFrontRef = 0;
depthStencil.stencilBackRef = 0;
depthStencil.stencilReadMask = 0xff;