VkPipelineBindPoint pipelineBindPoint;
VkSubpassDescriptionFlags flags;
uint32_t inputCount;
- const VkAttachmentReference* inputAttachments;
+ const VkAttachmentReference* pInputAttachments;
uint32_t colorCount;
- const VkAttachmentReference* colorAttachments;
- const VkAttachmentReference* resolveAttachments;
+ const VkAttachmentReference* pColorAttachments;
+ const VkAttachmentReference* pResolveAttachments;
VkAttachmentReference depthStencilAttachment;
uint32_t preserveCount;
- const VkAttachmentReference* preserveAttachments;
+ const VkAttachmentReference* pPreserveAttachments;
} VkSubpassDescription;
typedef struct {
for (uint32_t j = 0; j < desc->inputCount; j++) {
subpass->input_attachments[j]
- = desc->inputAttachments[j].attachment;
+ = desc->pInputAttachments[j].attachment;
}
}
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;
}
}
.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS,
.inputCount = 0,
.colorCount = 1,
- .colorAttachments = &(VkAttachmentReference) {
+ .pColorAttachments = &(VkAttachmentReference) {
.attachment = 0,
.layout = VK_IMAGE_LAYOUT_GENERAL,
},
- .resolveAttachments = NULL,
+ .pResolveAttachments = NULL,
.depthStencilAttachment = (VkAttachmentReference) {
.attachment = VK_ATTACHMENT_UNUSED,
.layout = VK_IMAGE_LAYOUT_GENERAL,
},
.preserveCount = 1,
- .preserveAttachments = &(VkAttachmentReference) {
+ .pPreserveAttachments = &(VkAttachmentReference) {
.attachment = 0,
.layout = VK_IMAGE_LAYOUT_GENERAL,
},
.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS,
.inputCount = 0,
.colorCount = 1,
- .colorAttachments = &(VkAttachmentReference) {
+ .pColorAttachments = &(VkAttachmentReference) {
.attachment = 0,
.layout = VK_IMAGE_LAYOUT_GENERAL,
},
- .resolveAttachments = NULL,
+ .pResolveAttachments = NULL,
.depthStencilAttachment = (VkAttachmentReference) {
.attachment = VK_ATTACHMENT_UNUSED,
.layout = VK_IMAGE_LAYOUT_GENERAL,
},
.preserveCount = 1,
- .preserveAttachments = &(VkAttachmentReference) {
+ .pPreserveAttachments = &(VkAttachmentReference) {
.attachment = 0,
.layout = VK_IMAGE_LAYOUT_GENERAL,
},