vk/0.170.2: Rename VkClearValue.ds to depthStencil

This commit is contained in:
Jason Ekstrand 2015-10-05 20:35:08 -07:00
parent 8e1ef639b6
commit 460676122f
2 changed files with 2 additions and 2 deletions

View file

@ -1999,7 +1999,7 @@ typedef struct {
typedef union {
VkClearColorValue color;
VkClearDepthStencilValue ds;
VkClearDepthStencilValue depthStencil;
} VkClearValue;
typedef struct {

View 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);