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)
committerLingfeng Yang <lfy@google.com>
Tue, 24 Sep 2019 22:33:25 +0000 (15:33 -0700)
commit7ff6257922c42e11d2e3af2a88bab4387bbe470f
tree11445f7a9f72a58ac5a0e8c816cce85829727b0e
parentcdab4432f554965f583c35ae592d0b0fe50cb7de
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
external/vulkancts/modules/vulkan/image/vktImageCompressionTranscodingSupport.cpp