diff options
author | Jason Ekstrand <[email protected]> | 2015-10-05 20:26:21 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-10-05 20:26:21 -0700 |
commit | 757166592e5e26dc226849f94d1460db28a35170 (patch) | |
tree | cea280033792e3b7db5d4c19eb3309383e2cb80b /src/vulkan/anv_device.c | |
parent | 57f500324b8d7b6de1e3d5e0c0b18622b97ecca9 (diff) |
vk/0.170.2: Rename pointer parameters of VkSubpassDescription
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r-- | src/vulkan/anv_device.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 5302ee5cd73..fdc6f8e1034 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -2117,7 +2117,7 @@ VkResult anv_CreateRenderPass( for (uint32_t j = 0; j < desc->inputCount; j++) { subpass->input_attachments[j] - = desc->inputAttachments[j].attachment; + = desc->pInputAttachments[j].attachment; } } @@ -2128,18 +2128,18 @@ VkResult anv_CreateRenderPass( for (uint32_t j = 0; j < desc->colorCount; j++) { subpass->color_attachments[j] - = desc->colorAttachments[j].attachment; + = desc->pColorAttachments[j].attachment; } } - if (desc->resolveAttachments) { + if (desc->pResolveAttachments) { subpass->resolve_attachments = anv_device_alloc(device, desc->colorCount * sizeof(uint32_t), 8, VK_SYSTEM_ALLOC_TYPE_API_OBJECT); for (uint32_t j = 0; j < desc->colorCount; j++) { subpass->resolve_attachments[j] - = desc->resolveAttachments[j].attachment; + = desc->pResolveAttachments[j].attachment; } } |