message: image memory barrier access masks (validation) [skip ci]
diff: @@ -170,15 +170,13 @@ namespace vks
  case VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL:
  // Image will be used as a transfer source
  - // Make sure any reads from and writes to the image have been finished
  - imageMemoryBarrier.srcAccessMask = imageMemoryBarrier.srcAccessMask | VK_ACCESS_TRANSFER_READ_BIT;
  + // Make sure any reads from the image have been finished
  imageMemoryBarrier.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT;
  break;
  case VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL:
  // Image will be used as a color attachment
  // Make sure any writes to the color buffer have been finished
  - imageMemoryBarrier.srcAccessMask = VK_ACCESS_TRANSFER_READ_BIT;
  imageMemoryBarrier.dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT;
  break;
  