Home
last modified time | relevance | path

Searched refs:apiVersion (Results 1 – 25 of 62) sorted by relevance

123

/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceUtil.cpp40 deUint32 apiVersion, in createDefaultInstance() argument
56 apiVersion // apiVersion in createDefaultInstance()
79 Move<VkInstance> createDefaultInstance (const PlatformInterface& vkPlatform, deUint32 apiVersion) in createDefaultInstance() argument
81 return createDefaultInstance(vkPlatform, apiVersion, vector<string>(), vector<string>(), DE_NULL); in createDefaultInstance()
130 if (props.apiVersion > maxReportedApiVersion) in chooseDeviceIndex()
132 maxReportedApiVersion = props.apiVersion; in chooseDeviceIndex()
DvkQueryUtil.cpp45 void getCoreInstanceExtensions(deUint32 apiVersion, vector<const char*>& dst) in getCoreInstanceExtensions() argument
47 getCoreInstanceExtensionsImpl(apiVersion, dst); in getCoreInstanceExtensions()
50 void getCoreDeviceExtensions(deUint32 apiVersion, vector<const char*>& dst) in getCoreDeviceExtensions() argument
52 getCoreDeviceExtensionsImpl(apiVersion, dst); in getCoreDeviceExtensions()
55 bool isCoreInstanceExtension(const deUint32 apiVersion, const std::string& extension) in isCoreInstanceExtension() argument
58 getCoreInstanceExtensions(apiVersion, coreExtensions); in isCoreInstanceExtension()
65 bool isCoreDeviceExtension(const deUint32 apiVersion, const std::string& extension) in isCoreDeviceExtension() argument
68 getCoreDeviceExtensions(apiVersion, coreExtensions); in isCoreDeviceExtension()
DvkInstanceDriverImpl.inl74 if (props.apiVersion >= VK_API_VERSION_1_1)
84 if (props.apiVersion >= VK_API_VERSION_1_1)
94 if (props.apiVersion >= VK_API_VERSION_1_1)
104 if (props.apiVersion >= VK_API_VERSION_1_1)
114 if (props.apiVersion >= VK_API_VERSION_1_1)
124 if (props.apiVersion >= VK_API_VERSION_1_1)
134 if (props.apiVersion >= VK_API_VERSION_1_1)
144 if (props.apiVersion >= VK_API_VERSION_1_1)
154 if (props.apiVersion >= VK_API_VERSION_1_1)
164 if (props.apiVersion >= VK_API_VERSION_1_1)
DvkDeviceUtil.hpp41 deUint32 apiVersion);
44 deUint32 apiVersion,
DvkQueryUtil.hpp38 void getCoreInstanceExtensions (deUint32 apiVersion, std::vector<const char*>& dst);
39 void getCoreDeviceExtensions (deUint32 apiVersion, std::vector<const char*>& dst);
40 bool isCoreInstanceExtension (const deUint32 apiVersion, const std::string& extensi…
41 bool isCoreDeviceExtension (const deUint32 apiVersion, const std::string& extension…
/external/swiftshader/tests/VulkanUnitTests/
Dunittests.cpp84 uint32_t apiVersion = 0; in TEST_F() local
85 VkResult result = vkEnumerateInstanceVersion(&apiVersion); in TEST_F()
86 EXPECT_EQ(apiVersion, VK_API_VERSION_1_1); in TEST_F()
115 EXPECT_EQ(physicalDeviceProperties.apiVersion, VK_API_VERSION_1_1); in TEST_F()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp69 const deUint32 apiVersion = context.getUsedApiVersion(); in createInstanceTest() local
83 apiVersion, // deUint32 apiVersion; in createInstanceTest()
100 apiVersion, // deUint32 apiVersion; in createInstanceTest()
117 apiVersion, // deUint32 apiVersion; in createInstanceTest()
134 apiVersion, // deUint32 apiVersion; in createInstanceTest()
139 const deUint32 manjorNum = unpackVersion(apiVersion).majorNum; in createInstanceTest()
140 const deUint32 minorNum = unpackVersion(apiVersion).minorNum; in createInstanceTest()
216 const ApiVersion apiVersion = unpackVersion(instanceApiVersion); in createInstanceWithInvalidApiVersionTest() local
222 …invalidApiVersions.push_back(ApiVersion(invalidMajorVersion, apiVersion.minorNum, apiVersion.patch… in createInstanceWithInvalidApiVersionTest()
223 …invalidApiVersions.push_back(ApiVersion(apiVersion.majorNum, invalidMinorVersion, apiVersion.patch… in createInstanceWithInvalidApiVersionTest()
[all …]
DvktApiObjectManagementTests.cpp236 deUint32 apiVersion; member
247 , apiVersion (context.getUsedApiVersion()) in Environment()
268 , apiVersion (apiVersion_) in Environment()
470 …if (!isInstanceExtensionSupported(env.apiVersion, instanceExts, RequiredExtension(params.instanceE… in create()
473 if (!isCoreInstanceExtension(env.apiVersion, params.instanceExtensions[extensionID])) in create()
485 env.apiVersion in create()
2444 …, env (parent.vkp, parent.apiVersion, parent.instance, vkd, *device, deviceRes.queueFamilyIndex, … in EnvClone()
2512 resEnv.env.apiVersion, in createSingleAllocCallbacksTest()
2573 resEnv.env.apiVersion, in allocCallbackFailTest()
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestCase.cpp174 …Uint32> determineDeviceVersions(const PlatformInterface& vkp, deUint32 apiVersion, const tcu::Comm… in determineDeviceVersions() argument
176 Move<VkInstance> preinstance = createDefaultInstance(vkp, apiVersion); in determineDeviceVersions()
184 if (props.apiVersion < lowestDeviceVersion) in determineDeviceVersions()
185 lowestDeviceVersion = props.apiVersion; in determineDeviceVersions()
190 const deUint32 choosenDeviceVersion = props.apiVersion; in determineDeviceVersions()
196 Move<VkInstance> createInstance (const PlatformInterface& vkp, deUint32 apiVersion, const vector<st… in createInstance() argument
204 getCoreInstanceExtensions(apiVersion, coreExtensions); in createInstance()
217 return createDefaultInstance(vkp, apiVersion, enabledLayers, nonCoreExtensions); in createInstance()
237 const deUint32 apiVersion, in createDefaultDevice() argument
270 getCoreDeviceExtensions(apiVersion, coreExtensions); in createDefaultDevice()
[all …]
DvktInfoTests.cpp134 << "apiVersion: " << vk::unpackVersion(properties.apiVersion) << "\n" in logDeviceInfo()
/external/skqp/tests/
DVkPriorityExtensionTest.cpp79 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in DEF_GPUTEST() local
85 apiVersion = VK_MAKE_VERSION(1, 1, 0); in DEF_GPUTEST()
88 instanceVersion = SkTMin(instanceVersion, apiVersion); in DEF_GPUTEST()
101 apiVersion, // apiVersion in DEF_GPUTEST()
/external/skia/tests/
DVkPriorityExtensionTest.cpp79 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in DEF_GPUTEST() local
85 apiVersion = VK_MAKE_VERSION(1, 1, 0); in DEF_GPUTEST()
88 instanceVersion = SkTMin(instanceVersion, apiVersion); in DEF_GPUTEST()
101 apiVersion, // apiVersion in DEF_GPUTEST()
/external/skqp/tools/gpu/vk/
DVkTestUtils.cpp400 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkBackendContext() local
406 apiVersion = VK_MAKE_VERSION(1, 1, 0); in CreateVkBackendContext()
409 instanceVersion = SkTMin(instanceVersion, apiVersion); in CreateVkBackendContext()
422 apiVersion, // apiVersion in CreateVkBackendContext()
525 int physDeviceVersion = SkTMin(physDeviceProperties.apiVersion, apiVersion); in CreateVkBackendContext()
679 ctx->fMaxAPIVersion = apiVersion; in CreateVkBackendContext()
/external/skia/tools/gpu/vk/
DVkTestUtils.cpp404 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkBackendContext() local
410 apiVersion = VK_MAKE_VERSION(1, 1, 0); in CreateVkBackendContext()
413 instanceVersion = SkTMin(instanceVersion, apiVersion); in CreateVkBackendContext()
426 apiVersion, // apiVersion in CreateVkBackendContext()
529 int physDeviceVersion = SkTMin(physDeviceProperties.apiVersion, apiVersion); in CreateVkBackendContext()
689 ctx->fMaxAPIVersion = apiVersion; in CreateVkBackendContext()
/external/deqp/external/vulkancts/scripts/
Dgen_ext_deps.py95 def genExtDepsOnApiVersion(ext, extInfoDict, apiVersion): argument
99 if apiVersion >= extInfoDict[dep].promo:
Dgen_framework.py334 def __init__ (self, name, returnType, arguments, apiVersion = None): argument
340 self.apiVersion = apiVersion
1378 if fun.apiVersion == 'VK_VERSION_1_0':
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp154 const deUint32 apiVersion, in makeProtectedMemDevice() argument
161 if (apiVersion < VK_API_VERSION_1_1) in makeProtectedMemDevice()
169 …if (!isDeviceExtensionSupported(apiVersion, supportedExtensions, vk::RequiredExtension(extensions[… in makeProtectedMemDevice()
172 if (!isCoreDeviceExtension(apiVersion, extensions[ndx])) in makeProtectedMemDevice()
DvktProtectedMemUtils.hpp70 const deUint32 apiVersion,
/external/vulkan-validation-layers/tests/
Dtest_environment.cpp46 app_.apiVersion = VK_API_VERSION_1_0; in Environment()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationCrossInstanceSharingTests.cpp400 vk::Move<vk::VkDevice> createDevice (const deUint32 apiVersion, in createDevice() argument
416 if (!vk::isCoreDeviceExtension(apiVersion, "VK_KHR_dedicated_allocation")) in createDevice()
420 if (!vk::isCoreDeviceExtension(apiVersion, "VK_KHR_get_memory_requirements2")) in createDevice()
423 if (!vk::isCoreDeviceExtension(apiVersion, "VK_KHR_external_semaphore")) in createDevice()
425 if (!vk::isCoreDeviceExtension(apiVersion, "VK_KHR_external_memory")) in createDevice()
DvktSynchronizationOperation.hpp122 OperationContext (const deUint32 apiVersion,
DvktSynchronizationWin32KeyedMutexTests.cpp172 vk::Move<vk::VkDevice> createDevice (const deUint32 apiVersion, in createDevice() argument
183 if (!isCoreDeviceExtension(apiVersion, "VK_KHR_external_memory")) in createDevice()
185 if (!isCoreDeviceExtension(apiVersion, "VK_KHR_dedicated_allocation")) in createDevice()
187 if (!isCoreDeviceExtension(apiVersion, "VK_KHR_get_memory_requirements2")) in createDevice()
/external/mesa3d/src/intel/vulkan/
Danv_device.c516 pCreateInfo->pApplicationInfo->apiVersion != 0) { in anv_CreateInstance()
517 client_version = pCreateInfo->pApplicationInfo->apiVersion; in anv_CreateInstance()
572 instance->apiVersion = client_version; in anv_CreateInstance()
579 if (!anv_entrypoint_is_enabled(i, instance->apiVersion, in anv_CreateInstance()
933 .apiVersion = anv_physical_device_api_version(pdevice), in anv_GetPhysicalDeviceProperties()
1307 if (!anv_entrypoint_is_enabled(i, device->instance->apiVersion, in anv_device_init_dispatch()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp706 virtual bool isImageSupported (const deUint32 apiVersion,
876 bool ImageMemoryRequirementsOriginal::isImageSupported (const deUint32 apiVersion, const InstanceIn… in isImageSupported() argument
885 || !isDeviceExtensionSupported(apiVersion, deviceExtensions, "VK_KHR_sampler_ycbcr_conversion")) in isImageSupported()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp97 uint32_t physDevVersion = physDeviceProperties.apiVersion; in Make()
99 uint32_t apiVersion = backendContext.fMaxAPIVersion ? backendContext.fMaxAPIVersion in Make() local
102 instanceVersion = SkTMin(instanceVersion, apiVersion); in Make()
103 physDevVersion = SkTMin(physDevVersion, apiVersion); in Make()

123