From 89d32b1e73f2f1e0fabcd7afa4f6b18e532a22d6 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Fri, 12 Jun 2015 11:14:17 -0600 Subject: vulkan.h: V102 -- Rename min/maxDepth for DepthStencil, Bug# 13917 Renamed depth-stencil minDepth and maxDepth to minDepthBounds and maxDepthBounds. --- demos/cube.c | 4 ++-- demos/tri.c | 4 ++-- include/vulkan.h | 10 +++++----- 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; -- cgit v1.2.3