Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/master
authorAlexander Galazin <alexander.galazin@arm.com>
Thu, 12 Sep 2019 18:10:05 +0000 (19:10 +0100)
committerAlexander Galazin <alexander.galazin@arm.com>
Thu, 12 Sep 2019 18:57:43 +0000 (19:57 +0100)
Change-Id: Id7429810f24dcf55956635c88a6fdf77cfcf6f9c

1  2 
external/fetch_sources.py
external/vulkancts/modules/vulkan/api/vktApiDriverPropertiesTests.cpp
external/vulkancts/modules/vulkan/image/vktImageLoadStoreTests.cpp
external/vulkancts/modules/vulkan/imageless_framebuffer/vktImagelessFramebufferTests.cpp
external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.cpp

Simple merge
@@@ -932,13 -935,19 +932,18 @@@ LoadStoreTest::LoadStoreTest (tcu::Test
  
  void LoadStoreTest::checkSupport (Context& context) const
  {
-       const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(context.getInstanceInterface(), context.getPhysicalDevice(), m_format));
 -      const VkPhysicalDeviceFeatures  features                        (context.getDeviceFeatures());
+       const vk::VkFormatProperties    formatProperties        (vk::getPhysicalDeviceFormatProperties(context.getInstanceInterface(),
+                                                                                                                                                                                          context.getPhysicalDevice(),
+                                                                                                                                                                                          m_format));
+       const vk::VkFormatProperties imageFormatProperties  (vk::getPhysicalDeviceFormatProperties(context.getInstanceInterface(),
+                                                                                                                                                                                          context.getPhysicalDevice(),
+                                                                                                                                                                                          m_imageFormat));
  
 -      if (!m_declareImageFormatInShader && !features.shaderStorageImageReadWithoutFormat)
 -              TCU_THROW(NotSupportedError, "shaderStorageImageReadWithoutFormat feature not supported");
 +      if (!m_declareImageFormatInShader)
 +              context.requireDeviceCoreFeature(DEVICE_CORE_FEATURE_SHADER_STORAGE_IMAGE_READ_WITHOUT_FORMAT);
  
 -      if (m_texture.type() == IMAGE_TYPE_CUBE_ARRAY && !features.imageCubeArray)
 -              TCU_THROW(NotSupportedError, "imageCubeArray feature not supported");
 +      if (m_texture.type() == IMAGE_TYPE_CUBE_ARRAY)
 +              context.requireDeviceCoreFeature(DEVICE_CORE_FEATURE_IMAGE_CUBE_ARRAY);
  
        if ((m_texture.type() != IMAGE_TYPE_BUFFER) && !(formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT))
                TCU_THROW(NotSupportedError, "Format not supported for storage images");