summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-12-01 13:09:22 -0800
committerJason Ekstrand <[email protected]>2015-12-03 13:43:53 -0800
commit43f3e92348939ba6e0c09d219739001f195a69fd (patch)
tree68d0c3b8fc314d46ed571d5d9a35fd025d8549b1 /src/vulkan/anv_meta.c
parent299f8f1511cfa2bfab77038ba28a90bcfc136a5d (diff)
vk/0.210.0: Rework render pass description structures
Diffstat (limited to 'src/vulkan/anv_meta.c')
-rw-r--r--src/vulkan/anv_meta.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c
index 419667a9f30..de5a037b5a8 100644
--- a/src/vulkan/anv_meta.c
+++ b/src/vulkan/anv_meta.c
@@ -199,18 +199,18 @@ anv_device_init_meta_blit_state(struct anv_device *device)
.subpassCount = 1,
.pSubpasses = &(VkSubpassDescription) {
.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS,
- .inputCount = 0,
- .colorCount = 1,
+ .inputAttachmentCount = 0,
+ .colorAttachmentCount = 1,
.pColorAttachments = &(VkAttachmentReference) {
.attachment = 0,
.layout = VK_IMAGE_LAYOUT_GENERAL,
},
.pResolveAttachments = NULL,
- .depthStencilAttachment = (VkAttachmentReference) {
+ .pDepthStencilAttachment = &(VkAttachmentReference) {
.attachment = VK_ATTACHMENT_UNUSED,
.layout = VK_IMAGE_LAYOUT_GENERAL,
},
- .preserveCount = 1,
+ .preserveAttachmentCount = 1,
.pPreserveAttachments = &(VkAttachmentReference) {
.attachment = 0,
.layout = VK_IMAGE_LAYOUT_GENERAL,