vulkaninfo: correct memory for linear tiled images
authorCharles Giessen <charles@lunarg.com>
Mon, 27 Apr 2020 20:23:28 +0000 (14:23 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Wed, 20 May 2020 19:31:44 +0000 (13:31 -0600)
commit0c4ea014bf289e8b0a8501c3e89c8bc4ecf9f0a4
tree5ab49e1bb33df78e5516f4f317b60b6cefefc38c
parent897f5bfd73af36649f06e5d12bb6a1c48e051d99
vulkaninfo: correct memory for linear tiled images

Previously vulkaninfo would always add the
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT for linearly tiled images, which is
not supported by the spec. Vulkaninfo will now not query support for
linear tiled images that are of the color format and no longer adds the
aformentioned image usage flag, instead using the
VK_IMAGE_USAGE_TRANSFER_SRC_BIT.

Change-Id: Ida71b738060e893b7e270005e358d51622ee0c4f
vulkaninfo/vulkaninfo.h