Wrong usage set while creating vkImage in CorridorLightingExample

There is an issue that the usage of vkImage is set to VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT, however, the APP requires to transition to VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL later. It’s not allowed.

By the way, is it possible that share the code of CorridorLightingExample?

Hi,

Thank you for reporting this. I think we’ve already fixed this (after shipping the experimental build, that is), but care to submit a bug report with a repro, just in case?

–Mikko