vk/0.170.2: Rename VkClearValue.ds to depthStencil
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 6 Oct 2015 03:35:08 +0000 (20:35 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 6 Oct 2015 03:35:08 +0000 (20:35 -0700)
include/vulkan/vulkan.h
src/vulkan/anv_meta.c

index 48c4d195b2dbbcbb8e36429895dd28cb29071f18..5deb161274f730a76138fa90499c82a2a0589ead 100644 (file)
@@ -1999,7 +1999,7 @@ typedef struct {
 
 typedef union {
     VkClearColorValue                           color;
-    VkClearDepthStencilValue                    ds;
+    VkClearDepthStencilValue                    depthStencil;
 } VkClearValue;
 
 typedef struct {
index 9201167bd98ee095c373812bea3f87b28fcb2641..949e5a16601815be5a8f28599a760bb7593ed673 100644 (file)
@@ -458,7 +458,7 @@ anv_cmd_buffer_clear_attachments(struct anv_cmd_buffer *cmd_buffer,
          } else if (att->format->depth_format) {
             assert(ds_attachment == VK_ATTACHMENT_UNUSED);
             ds_attachment = i;
-            ds_clear_value= clear_values[ds_attachment].ds;
+            ds_clear_value = clear_values[ds_attachment].depthStencil;
          }
       } else if (att->stencil_load_op == VK_ATTACHMENT_LOAD_OP_CLEAR) {
          assert(att->format->has_stencil);