Texel view compatible: Image: proper check for image format supports
authorYahan Zhou <yahan@google.com>
Fri, 9 Aug 2019 18:35:15 +0000 (11:35 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 22 Aug 2019 13:07:24 +0000 (09:07 -0400)
commit8e608c4f1b1c9517622f264fcd689a0b4228c1a2
tree067553d935badbabc1a2175a0cbca3f9d0a72c78
parent8a0fa6e88654fc210f3f29546c9ce6b9b372a0c1
Texel view compatible: Image: proper check for image format supports

The queried image usage is different from what is acutally used. Fix it
so that we would not end up with an unsupported usage.

Affects:
dEQP-VK.image.texel_view_compatible*

Components: Vulkan

Google bug: 139193497
VK-GL-CTS issue: 1920

Change-Id: Ib8db61808db5f9391a54b7722f965b6608e7e694
(cherry picked from commit afcca0b7bd29e11643ab5c15a3c37028b7df2b5b)
external/vulkancts/modules/vulkan/image/vktImageCompressionTranscodingSupport.cpp