vulkan-1.0.0: Convert pPreserveAttachments to a uint32_t
This commit is contained in:
parent
802f00219a
commit
7b81637762
3 changed files with 3 additions and 9 deletions
|
|
@ -1995,7 +1995,7 @@ typedef struct VkSubpassDescription {
|
|||
const VkAttachmentReference* pResolveAttachments;
|
||||
const VkAttachmentReference* pDepthStencilAttachment;
|
||||
uint32_t preserveAttachmentCount;
|
||||
const VkAttachmentReference* pPreserveAttachments;
|
||||
const uint32_t* pPreserveAttachments;
|
||||
} VkSubpassDescription;
|
||||
|
||||
typedef struct VkSubpassDependency {
|
||||
|
|
|
|||
|
|
@ -215,10 +215,7 @@ anv_device_init_meta_blit_state(struct anv_device *device)
|
|||
.layout = VK_IMAGE_LAYOUT_GENERAL,
|
||||
},
|
||||
.preserveAttachmentCount = 1,
|
||||
.pPreserveAttachments = &(VkAttachmentReference) {
|
||||
.attachment = 0,
|
||||
.layout = VK_IMAGE_LAYOUT_GENERAL,
|
||||
},
|
||||
.pPreserveAttachments = (uint32_t[]) { 0 },
|
||||
},
|
||||
.dependencyCount = 0,
|
||||
}, NULL, &device->meta_state.blit.render_pass);
|
||||
|
|
|
|||
|
|
@ -781,10 +781,7 @@ void anv_CmdClearColorImage(
|
|||
.layout = VK_IMAGE_LAYOUT_GENERAL,
|
||||
},
|
||||
.preserveAttachmentCount = 1,
|
||||
.pPreserveAttachments = &(VkAttachmentReference) {
|
||||
.attachment = 0,
|
||||
.layout = VK_IMAGE_LAYOUT_GENERAL,
|
||||
},
|
||||
.pPreserveAttachments = (uint32_t[]) { 0 },
|
||||
},
|
||||
.dependencyCount = 0,
|
||||
}, &cmd_buffer->pool->alloc, &pass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue