Merge vk-gl-cts/vulkan-cts-1.2.1 into vk-gl-cts/master
authorAlexander Galazin <alexander.galazin@arm.com>
Thu, 16 Jan 2020 17:51:40 +0000 (18:51 +0100)
committerAlexander Galazin <alexander.galazin@arm.com>
Thu, 16 Jan 2020 17:54:09 +0000 (18:54 +0100)
Change-Id: I05f8e0d8240f265b9e150f37e580850e7a259a08

1  2 
AndroidGen.mk
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/clipping/vktClippingTests.cpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationCrossInstanceSharingTests.cpp
external/vulkancts/modules/vulkan/vktTestPackage.cpp
external/vulkancts/mustpass/master/vk-default-no-waivers.txt
external/vulkancts/mustpass/master/vk-default.txt

diff --cc AndroidGen.mk
Simple merge
Simple merge
@@@ -116,15 -116,10 +116,15 @@@ public
                        || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR
                        || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR)
                {
-                       requireDeviceExtension("VK_KHR_external_semaphore_fd");
-                       requireDeviceExtension("VK_KHR_external_memory_fd");
+                       m_context.requireDeviceFunctionality("VK_KHR_external_semaphore_fd");
+                       m_context.requireDeviceFunctionality("VK_KHR_external_memory_fd");
                }
  
-                       requireDeviceExtension("VK_EXT_external_memory_dma_buf");
 +              if (config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT)
 +              {
++                      m_context.requireDeviceFunctionality("VK_EXT_external_memory_dma_buf");
 +              }
 +
                if (config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR
                        || config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR
                        || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR
@@@ -1326,14 -1351,9 +1359,14 @@@ static void createTests (tcu::TestCaseG
                        vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT,
                        "_win32"
                },
 +              {
 +                      vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT,
 +                      vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT,
 +                      "_dma_buf"
 +              },
        };
  
-       const std::string semaphoreNames[vk::VK_SEMAPHORE_TYPE_KHR_LAST] =
+       const std::string semaphoreNames[vk::VK_SEMAPHORE_TYPE_LAST] =
        {
                "_binary_semaphore",
                "_timeline_semaphore",