summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/vulkan/vulkan.h2
-rw-r--r--src/vulkan/anv_meta.c2
-rw-r--r--src/vulkan/gen8_pipeline.c2
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,