Define a framework function for getting SPIR-V format tokens
authorGraeme Leese <gleese@broadcom.com>
Tue, 6 Jul 2021 14:28:17 +0000 (15:28 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 16 Jul 2021 08:20:01 +0000 (08:20 +0000)
commit5918d94f46e2c8b8885da5509d4c7c2a7ef0291e
tree735a6ed61a200ca54308008076d92dbb4d5a2bbb
parent955df9953e6779855d219b415fd87f16285b5f47
Define a framework function for getting SPIR-V format tokens

These are used in a couple of different tests, so it doesn't make sense
to define the format tokens in two places.

Components: Framework, Vulkan
Affects (trivially): dEQP-VK.image.*

Change-Id: Icffd8ac4b0d78e5dab076780e0221af3f358d74c
external/vulkancts/framework/vulkan/vkImageUtil.cpp
external/vulkancts/framework/vulkan/vkImageUtil.hpp
external/vulkancts/modules/vulkan/image/vktImageLoadStoreTests.cpp
external/vulkancts/modules/vulkan/image/vktImageMismatchedWriteOpTests.cpp