aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2015-06-12 11:14:17 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-18 10:22:57 -0600
commit89d32b1e73f2f1e0fabcd7afa4f6b18e532a22d6 (patch)
treeeb0d0adb09522d81fdc4e5ca454bada70a502b65
parent0e698d0654a5aede0ed9f2337b59fdd41c5762d8 (diff)
downloadusermoji-89d32b1e73f2f1e0fabcd7afa4f6b18e532a22d6.tar.xz
vulkan.h: V102 -- Rename min/maxDepth for DepthStencil, Bug# 13917
Renamed depth-stencil minDepth and maxDepth to minDepthBounds and maxDepthBounds.
-rw-r--r--demos/cube.c4
-rw-r--r--demos/tri.c4
-rw-r--r--include/vulkan.h10
3 files changed, 9 insertions, 9 deletions
diff --git a/demos/cube.c b/demos/cube.c
index b06674d4..8e585b72 100644
--- a/demos/cube.c
+++ b/demos/cube.c
@@ -1464,8 +1464,8 @@ static void demo_prepare_dynamic_states(struct demo *demo)
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 be151a74..9814ce54 100644
--- a/demos/tri.c
+++ b/demos/tri.c
@@ -1086,8 +1086,8 @@ static void demo_prepare_dynamic_states(struct demo *demo)
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 768ee25f..d3c6e8d5 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 VkDynamicCbStateCreateInfo_
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;