vulkan.h: V102 -- Rename min/maxDepth for DepthStencil, Bug# 13917
Renamed depth-stencil minDepth and maxDepth to minDepthBounds and
maxDepthBounds.
diff --git a/demos/cube.c b/demos/cube.c
index b06674d..8e585b7 100644
--- a/demos/cube.c
+++ b/demos/cube.c
@@ -1464,8 +1464,8 @@
memset(&depth_stencil, 0, sizeof(depth_stencil));
depth_stencil.sType = VK_STRUCTURE_TYPE_DYNAMIC_DS_STATE_CREATE_INFO;
- depth_stencil.minDepth = 0.0f;
- depth_stencil.maxDepth = 1.0f;
+ depth_stencil.minDepthBounds = 0.0f;
+ depth_stencil.maxDepthBounds = 1.0f;
depth_stencil.stencilBackRef = 0;
depth_stencil.stencilFrontRef = 0;
depth_stencil.stencilReadMask = 0xff;
diff --git a/demos/tri.c b/demos/tri.c
index be151a7..9814ce5 100644
--- a/demos/tri.c
+++ b/demos/tri.c
@@ -1086,8 +1086,8 @@
memset(&depth_stencil, 0, sizeof(depth_stencil));
depth_stencil.sType = VK_STRUCTURE_TYPE_DYNAMIC_DS_STATE_CREATE_INFO;
- depth_stencil.minDepth = 0.0f;
- depth_stencil.maxDepth = 1.0f;
+ depth_stencil.minDepthBounds = 0.0f;
+ depth_stencil.maxDepthBounds = 1.0f;
depth_stencil.stencilBackRef = 0;
depth_stencil.stencilFrontRef = 0;
depth_stencil.stencilReadMask = 0xff;
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;