.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO,
.descriptorPool = tmp->desc_pool,
.descriptorSetCount = 1,
- .pSetLayouts = &device->meta_state.blit2d.ds_layout
+ .pSetLayouts = &device->meta_state.blit2d.image_ds_layout
}, &tmp->set);
anv_UpdateDescriptorSets(vk_device,
anv_CmdBindDescriptorSets(anv_cmd_buffer_to_handle(cmd_buffer),
VK_PIPELINE_BIND_POINT_GRAPHICS,
- device->meta_state.blit2d.pipeline_layout, 0, 1,
+ device->meta_state.blit2d.image_p_layout, 0, 1,
&tmp->set, 0, NULL);
}
&device->meta_state.alloc);
}
- if (device->meta_state.blit2d.pipeline_layout) {
+ if (device->meta_state.blit2d.image_p_layout) {
anv_DestroyPipelineLayout(anv_device_to_handle(device),
- device->meta_state.blit2d.pipeline_layout,
+ device->meta_state.blit2d.image_p_layout,
&device->meta_state.alloc);
}
- if (device->meta_state.blit2d.ds_layout) {
+ if (device->meta_state.blit2d.image_ds_layout) {
anv_DestroyDescriptorSetLayout(anv_device_to_handle(device),
- device->meta_state.blit2d.ds_layout,
+ device->meta_state.blit2d.image_ds_layout,
&device->meta_state.alloc);
}
}
.pImmutableSamplers = NULL
},
}
- }, &device->meta_state.alloc, &device->meta_state.blit2d.ds_layout);
+ }, &device->meta_state.alloc, &device->meta_state.blit2d.image_ds_layout);
if (result != VK_SUCCESS)
goto fail;
&(VkPipelineLayoutCreateInfo) {
.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO,
.setLayoutCount = 1,
- .pSetLayouts = &device->meta_state.blit2d.ds_layout,
+ .pSetLayouts = &device->meta_state.blit2d.image_ds_layout,
},
- &device->meta_state.alloc, &device->meta_state.blit2d.pipeline_layout);
+ &device->meta_state.alloc, &device->meta_state.blit2d.image_p_layout);
if (result != VK_SUCCESS)
goto fail;
},
},
.flags = 0,
- .layout = device->meta_state.blit2d.pipeline_layout,
+ .layout = device->meta_state.blit2d.image_p_layout,
.renderPass = device->meta_state.blit2d.render_pass,
.subpass = 0,
};