mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 07:20:16 +01:00
vk/0.170.2: Rename VkClearValue.ds to depthStencil
This commit is contained in:
parent
8e1ef639b6
commit
460676122f
2 changed files with 2 additions and 2 deletions
|
|
@ -1999,7 +1999,7 @@ typedef struct {
|
|||
|
||||
typedef union {
|
||||
VkClearColorValue color;
|
||||
VkClearDepthStencilValue ds;
|
||||
VkClearDepthStencilValue depthStencil;
|
||||
} VkClearValue;
|
||||
|
||||
typedef struct {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue