Lines Matching defs:config
96 TestConfig config,
108 if (config.dedicated)
114 if (config.semaphoreType == vk::VK_SEMAPHORE_TYPE_TIMELINE)
117 if (config.type == SynchronizationType::SYNCHRONIZATION2)
120 if (config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR
121 || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR
122 || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR)
128 if (config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT)
133 if (config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT
134 || config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT
135 || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT
136 || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT)
142 if (config.memoryHandleType == vk::VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA
143 || config.semaphoreHandleType == vk::VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA)
154 if (config.resource.type == RESOURCE_TYPE_IMAGE)
160 config.memoryHandleType
166 config.resource.imageFormat,
167 config.resource.imageType,
208 if (!config.dedicated && (externalProperties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0)
213 if (!(formatProperties.imageFormatProperties.sampleCounts & config.resource.imageSamples)) {
227 config.memoryHandleType
243 if (!config.dedicated && (properties.externalMemoryProperties.externalMemoryFeatures & vk::VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT) != 0)
255 config.semaphoreType,
262 config.semaphoreHandleType
967 TestConfig config);
1007 TestConfig config)
1009 , m_config (config)
1010 , m_supportWriteOp (makeOperationSupport(config.writeOp, config.resource))
1011 , m_supportReadOp (makeOperationSupport(config.readOp, config.resource))
1330 void init (vk::SourceCollections& dst, TestConfig config) const
1332 const de::UniquePtr<OperationSupport> readOp (makeOperationSupport(config.readOp, config.resource));
1333 const de::UniquePtr<OperationSupport> writeOp (makeOperationSupport(config.writeOp, config.resource));
1421 const TestConfig config (type, resource, (vk::VkSemaphoreType)semaphoreType, writeOp, readOp, cases[caseNdx].memoryType, cases[caseNdx].semaphoreType, dedicated);
1424 opGroup->addChild(new InstanceFactory1<SharingTestInstance, TestConfig, Progs>(testCtx, tcu::NODETYPE_SELF_VALIDATE, name, Progs(), config));