From dd04be491d286dfc26ac8630ad3c9dbc839815cb Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Sun, 4 Oct 2015 09:41:22 -0700 Subject: [PATCH] vk/0.170.2: Update Vk VkPipelineDepthStencilStateCreateInfo Rename member depthBoundsEnable -> depthBoundsTestEnable. --- include/vulkan/vulkan.h | 2 +- src/vulkan/anv_meta.c | 2 +- src/vulkan/gen8_pipeline.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 16ed3f8dd67..1f35b01ae9b 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1652,7 +1652,7 @@ typedef struct { VkBool32 depthTestEnable; VkBool32 depthWriteEnable; VkCompareOp depthCompareOp; - VkBool32 depthBoundsEnable; + VkBool32 depthBoundsTestEnable; VkBool32 stencilTestEnable; VkStencilOpState front; VkStencilOpState back; diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c index 11b8557805c..e43d11b06ee 100644 --- a/src/vulkan/anv_meta.c +++ b/src/vulkan/anv_meta.c @@ -254,7 +254,7 @@ anv_device_init_meta_clear_state(struct anv_device *device) .depthTestEnable = true, .depthWriteEnable = true, .depthCompareOp = VK_COMPARE_OP_ALWAYS, - .depthBoundsEnable = false, + .depthBoundsTestEnable = false, .stencilTestEnable = true, .front = (VkStencilOpState) { .stencilPassOp = VK_STENCIL_OP_REPLACE, diff --git a/src/vulkan/gen8_pipeline.c b/src/vulkan/gen8_pipeline.c index fae09f3fbbe..4900715a47a 100644 --- a/src/vulkan/gen8_pipeline.c +++ b/src/vulkan/gen8_pipeline.c @@ -269,7 +269,7 @@ emit_ds_state(struct anv_pipeline *pipeline, return; } - /* VkBool32 depthBoundsEnable; // optional (depth_bounds_test) */ + /* VkBool32 depthBoundsTestEnable; // optional (depth_bounds_test) */ struct GEN8_3DSTATE_WM_DEPTH_STENCIL wm_depth_stencil = { .DepthTestEnable = info->depthTestEnable, -- 2.30.2