vk/0.170.2: Update Vk VkPipelineDepthStencilStateCreateInfo
authorChad Versace <chad.versace@intel.com>
Sun, 4 Oct 2015 16:41:22 +0000 (09:41 -0700)
committerChad Versace <chad.versace@intel.com>
Sun, 4 Oct 2015 16:41:46 +0000 (09:41 -0700)
Rename member depthBoundsEnable -> depthBoundsTestEnable.

include/vulkan/vulkan.h
src/vulkan/anv_meta.c
src/vulkan/gen8_pipeline.c

index 16ed3f8dd67b3a9274fc663dbd29e3c3871b017c..1f35b01ae9b085f08f736a2ac523ccf63229c65a 100644 (file)
@@ -1652,7 +1652,7 @@ typedef struct {
     VkBool32                                    depthTestEnable;
     VkBool32                                    depthWriteEnable;
     VkCompareOp                                 depthCompareOp;
-    VkBool32                                    depthBoundsEnable;
+    VkBool32                                    depthBoundsTestEnable;
     VkBool32                                    stencilTestEnable;
     VkStencilOpState                            front;
     VkStencilOpState                            back;
index 11b8557805c577452b042a40a7ec7ca9a3c86595..e43d11b06eebfaeb48de6b93f22785044328c9ee 100644 (file)
@@ -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,
index fae09f3fbbefe2553cdb9481779ae149369ed136..4900715a47ab37c919858df0031b0c168e62d76c 100644 (file)
@@ -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,