2018-08-08 16:11 GMT+02:00 Józef Kucia jkucia@codeweavers.com:
- if (!(usage & VK_IMAGE_USAGE_TRANSFER_SRC_BIT) || !(usage & VK_IMAGE_USAGE_TRANSFER_DST_BIT))
Just a comment en passant, this could also be written as:
if (~usage & (VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT))