Home
last modified time | relevance | path

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

1234567891011

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkDeviceProperties.cpp30 const deUint32 apiVersion, in DeviceProperties() argument
45 …if (isInstanceExtensionSupported(apiVersion, instanceExtensions, "VK_KHR_get_physical_device_prope… in DeviceProperties()
51 bool vk11Supported = (apiVersion >= VK_MAKE_API_VERSION(0, 1, 1, 0)); in DeviceProperties()
52 bool vk12Supported = (apiVersion >= VK_MAKE_API_VERSION(0, 1, 2, 0)); in DeviceProperties()
54 bool vk13Supported = (apiVersion >= VK_MAKE_API_VERSION(0, 1, 3, 0)); in DeviceProperties()
57 bool vksc10Supported = (apiVersion >= VK_MAKE_API_VERSION(1, 1, 0, 0)); in DeviceProperties()
96 getCoreDeviceExtensions(apiVersion, coreExtensions); in DeviceProperties()
123 propertyFilledFromBlob = (apiVersion >= blobApiVersion); in DeviceProperties()
DvkDeviceUtil.cpp46 deUint32 apiVersion, in createDefaultInstance() argument
111 apiVersion // apiVersion in createDefaultInstance()
139 Move<VkInstance> createDefaultInstance (const PlatformInterface& vkPlatform, deUint32 apiVersion, c… in createDefaultInstance() argument
142 …return createDefaultInstance(vkPlatform, apiVersion, vector<string>(), vector<string>(), cmdLine, … in createDefaultInstance()
144 …return createDefaultInstance(vkPlatform, apiVersion, vector<string>(), vector<string>(), cmdLine, … in createDefaultInstance()
169 if (props.apiVersion > maxReportedApiVersion) in chooseDeviceIndex()
171 maxReportedApiVersion = props.apiVersion; in chooseDeviceIndex()
DvkDeviceFeatures.cpp30 const deUint32 apiVersion, in DeviceFeatures() argument
56 …if (isInstanceExtensionSupported(apiVersion, instanceExtensions, "VK_KHR_get_physical_device_prope… in DeviceFeatures()
62 bool vk13Supported = (apiVersion >= VK_MAKE_API_VERSION(0, 1, 3, 0)); in DeviceFeatures()
64 bool vk12Supported = (apiVersion >= VK_MAKE_API_VERSION(0, 1, 2, 0)); in DeviceFeatures()
66 bool vksc10Supported = (apiVersion >= VK_MAKE_API_VERSION(1, 1, 0, 0)); in DeviceFeatures()
92 getCoreDeviceExtensions(apiVersion, coreExtensions); in DeviceFeatures()
118 featureFilledFromBlob = (apiVersion >= blobApiVersion); in DeviceFeatures()
DvkQueryUtil.cpp46 void getCoreInstanceExtensions(deUint32 apiVersion, vector<const char*>& dst) in getCoreInstanceExtensions() argument
48 getCoreInstanceExtensionsImpl(apiVersion, dst); in getCoreInstanceExtensions()
51 void getCoreDeviceExtensions(deUint32 apiVersion, vector<const char*>& dst) in getCoreDeviceExtensions() argument
53 getCoreDeviceExtensionsImpl(apiVersion, dst); in getCoreDeviceExtensions()
56 bool isCoreInstanceExtension(const deUint32 apiVersion, const std::string& extension) in isCoreInstanceExtension() argument
59 getCoreInstanceExtensions(apiVersion, coreExtensions); in isCoreInstanceExtension()
66 bool isCoreDeviceExtension(const deUint32 apiVersion, const std::string& extension) in isCoreDeviceExtension() argument
69 getCoreDeviceExtensions(apiVersion, coreExtensions); in isCoreDeviceExtension()
DvkDeviceUtil.hpp42 deUint32 apiVersion,
46 deUint32 apiVersion,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiVersionCheck.cpp134 const deUint32 apiVersion = m_context.getUsedApiVersion(); in iterate() local
211 …CustomInstanceWithExtensions(m_context, getSupportedInstanceExtensions(apiVersion), DE_NULL, false… in iterate()
212 …device = createTestDevice(m_context, instance, getSupportedDeviceExtensions(apiVersion), false); in iterate()
227 if (isSupportedInstanceExt(instanceExtensionNames[instanceExtNdx], apiVersion)) in iterate()
229 …getInstanceExtensionFunctions(apiVersion, instanceExtensionNames[instanceExtNdx], instanceExtFunct… in iterate()
230 …getDeviceExtensionFunctions(apiVersion, instanceExtensionNames[instanceExtNdx], deviceExtFunctions… in iterate()
245 if (isSupportedDeviceExt(deviceExtensionNames[deviceExtNdx], apiVersion)) in iterate()
246 … getDeviceExtensionFunctions(apiVersion, deviceExtensionNames[deviceExtNdx], deviceExtFunctions); in iterate()
305 vector<string> getSupportedInstanceExtensions (const deUint32 apiVersion) in getSupportedInstanceExtensions() argument
312 if (!isCoreInstanceExtension(apiVersion, enumeratedExtensions[extNdx].extensionName)) in getSupportedInstanceExtensions()
[all …]
DvktApiDeviceInitializationTests.cpp75 const deUint32 apiVersion = context.getUsedApiVersion(); in createInstanceTest() local
89 apiVersion, // deUint32 apiVersion; in createInstanceTest()
106 apiVersion, // deUint32 apiVersion; in createInstanceTest()
123 apiVersion, // deUint32 apiVersion; in createInstanceTest()
140 apiVersion, // deUint32 apiVersion; in createInstanceTest()
146 const deUint32 variantNum = unpackVersion(apiVersion).variantNum; in createInstanceTest()
147 const deUint32 majorNum = unpackVersion(apiVersion).majorNum; in createInstanceTest()
148 const deUint32 minorNum = unpackVersion(apiVersion).minorNum; in createInstanceTest()
224 const ApiVersion apiVersion = unpackVersion(instanceApiVersion); in createInstanceWithInvalidApiVersionTest() local
231 …push_back(ApiVersion(invalidApiVariant, invalidMajorVersion, apiVersion.minorNum, apiVersion.patch… in createInstanceWithInvalidApiVersionTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiVersionCheck.cpp134 const deUint32 apiVersion = m_context.getUsedApiVersion(); in iterate() local
211 …CustomInstanceWithExtensions(m_context, getSupportedInstanceExtensions(apiVersion), DE_NULL, false… in iterate()
212 …device = createTestDevice(m_context, instance, getSupportedDeviceExtensions(apiVersion), false); in iterate()
227 if (isSupportedInstanceExt(instanceExtensionNames[instanceExtNdx], apiVersion)) in iterate()
229 …getInstanceExtensionFunctions(apiVersion, instanceExtensionNames[instanceExtNdx], instanceExtFunct… in iterate()
230 …getDeviceExtensionFunctions(apiVersion, instanceExtensionNames[instanceExtNdx], deviceExtFunctions… in iterate()
245 if (isSupportedDeviceExt(deviceExtensionNames[deviceExtNdx], apiVersion)) in iterate()
246 … getDeviceExtensionFunctions(apiVersion, deviceExtensionNames[deviceExtNdx], deviceExtFunctions); in iterate()
305 vector<string> getSupportedInstanceExtensions (const deUint32 apiVersion) in getSupportedInstanceExtensions() argument
312 if (!isCoreInstanceExtension(apiVersion, enumeratedExtensions[extNdx].extensionName)) in getSupportedInstanceExtensions()
[all …]
DvktApiDeviceInitializationTests.cpp75 const deUint32 apiVersion = context.getUsedApiVersion(); in createInstanceTest() local
89 apiVersion, // deUint32 apiVersion; in createInstanceTest()
106 apiVersion, // deUint32 apiVersion; in createInstanceTest()
123 apiVersion, // deUint32 apiVersion; in createInstanceTest()
140 apiVersion, // deUint32 apiVersion; in createInstanceTest()
146 const deUint32 variantNum = unpackVersion(apiVersion).variantNum; in createInstanceTest()
147 const deUint32 majorNum = unpackVersion(apiVersion).majorNum; in createInstanceTest()
148 const deUint32 minorNum = unpackVersion(apiVersion).minorNum; in createInstanceTest()
224 const ApiVersion apiVersion = unpackVersion(instanceApiVersion); in createInstanceWithInvalidApiVersionTest() local
231 …push_back(ApiVersion(invalidApiVariant, invalidMajorVersion, apiVersion.minorNum, apiVersion.patch… in createInstanceWithInvalidApiVersionTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktCustomInstancesDevices.cpp290 const deUint32 apiVersion = context.getUsedApiVersion(); in createCustomInstanceWithExtensions() local
303 if (!vk::isCoreInstanceExtension(apiVersion, ext)) in createCustomInstanceWithExtensions()
314 if (!vk::isInstanceExtensionSupported(apiVersion, availableExtensionNames, ext)) in createCustomInstanceWithExtensions()
327 …Move<VkInstance> instance = vk::createDefaultInstance(vkp, apiVersion, enabledLayersStr, usedExten… in createCustomInstanceWithExtensions()
330 …Move<VkInstance> instance = vk::createDefaultInstance(vkp, apiVersion, enabledLayersStr, usedExten… in createCustomInstanceWithExtensions()
629 const uint32_t apiVersion, in addVideoDeviceExtensions() argument
642 if (!vk::isCoreDeviceExtension(apiVersion, videoQueue)) in addVideoDeviceExtensions()
646 if (!vk::isCoreDeviceExtension(apiVersion, videoEncodeQueue)) in addVideoDeviceExtensions()
650 if (!vk::isCoreDeviceExtension(apiVersion, videoDecodeQueue)) in addVideoDeviceExtensions()
654 if (!vk::isCoreDeviceExtension(apiVersion, videoEncodeH264)) in addVideoDeviceExtensions()
[all …]
DvktTestCase.cpp180 …Uint32> determineDeviceVersions(const PlatformInterface& vkp, deUint32 apiVersion, const tcu::Comm… in determineDeviceVersions() argument
182 Move<VkInstance> preinstance = createDefaultInstance(vkp, apiVersion, cmdLine); in determineDeviceVersions()
190 if (props.apiVersion < lowestDeviceVersion) in determineDeviceVersions()
191 lowestDeviceVersion = props.apiVersion; in determineDeviceVersions()
196 const deUint32 choosenDeviceVersion = props.apiVersion; in determineDeviceVersions()
202 Move<VkInstance> createInstance (const PlatformInterface& vkp, deUint32 apiVersion, const vector<st… in createInstance() argument
204 Move<VkInstance> createInstance (const PlatformInterface& vkp, deUint32 apiVersion, const vector<st… in createInstance()
217 getCoreInstanceExtensions(apiVersion, coreExtensions); in createInstance()
231 …return createDefaultInstance(vkp, apiVersion, vector<string>(begin(enabledLayers), end(enabledLaye… in createInstance()
233 …return createDefaultInstance(vkp, apiVersion, vector<string>(begin(enabledLayers), end(enabledLaye… in createInstance()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
DvktCustomInstancesDevices.cpp290 const deUint32 apiVersion = context.getUsedApiVersion(); in createCustomInstanceWithExtensions() local
303 if (!vk::isCoreInstanceExtension(apiVersion, ext)) in createCustomInstanceWithExtensions()
314 if (!vk::isInstanceExtensionSupported(apiVersion, availableExtensionNames, ext)) in createCustomInstanceWithExtensions()
327 …Move<VkInstance> instance = vk::createDefaultInstance(vkp, apiVersion, enabledLayersStr, usedExten… in createCustomInstanceWithExtensions()
330 …Move<VkInstance> instance = vk::createDefaultInstance(vkp, apiVersion, enabledLayersStr, usedExten… in createCustomInstanceWithExtensions()
629 const uint32_t apiVersion, in addVideoDeviceExtensions() argument
642 if (!vk::isCoreDeviceExtension(apiVersion, videoQueue)) in addVideoDeviceExtensions()
646 if (!vk::isCoreDeviceExtension(apiVersion, videoEncodeQueue)) in addVideoDeviceExtensions()
650 if (!vk::isCoreDeviceExtension(apiVersion, videoDecodeQueue)) in addVideoDeviceExtensions()
654 if (!vk::isCoreDeviceExtension(apiVersion, videoEncodeH264)) in addVideoDeviceExtensions()
[all …]
DvktTestCase.cpp180 …Uint32> determineDeviceVersions(const PlatformInterface& vkp, deUint32 apiVersion, const tcu::Comm… in determineDeviceVersions() argument
182 Move<VkInstance> preinstance = createDefaultInstance(vkp, apiVersion, cmdLine); in determineDeviceVersions()
190 if (props.apiVersion < lowestDeviceVersion) in determineDeviceVersions()
191 lowestDeviceVersion = props.apiVersion; in determineDeviceVersions()
196 const deUint32 choosenDeviceVersion = props.apiVersion; in determineDeviceVersions()
202 Move<VkInstance> createInstance (const PlatformInterface& vkp, deUint32 apiVersion, const vector<st… in createInstance() argument
204 Move<VkInstance> createInstance (const PlatformInterface& vkp, deUint32 apiVersion, const vector<st… in createInstance()
217 getCoreInstanceExtensions(apiVersion, coreExtensions); in createInstance()
231 …return createDefaultInstance(vkp, apiVersion, vector<string>(begin(enabledLayers), end(enabledLaye… in createInstance()
233 …return createDefaultInstance(vkp, apiVersion, vector<string>(begin(enabledLayers), end(enabledLaye… in createInstance()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
DBasicTests.cpp64 uint32_t apiVersion = 0; in TEST_F() local
66 VkResult result = driver.vkEnumerateInstanceVersion(&apiVersion); in TEST_F()
67 EXPECT_EQ(apiVersion, expectedVersion); in TEST_F()
97 EXPECT_EQ(physicalDeviceProperties.apiVersion, expectedVersion); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanInfo.cpp68 info.apiVersion = VK_MAKE_VERSION(1, 0, 0); in GatherGlobalInfo()
70 DAWN_TRY(CheckVkSuccess(vkFunctions.EnumerateInstanceVersion(&info.apiVersion), in GatherGlobalInfo()
107 MarkPromotedExtensions(&info.extensions, info.apiVersion); in GatherGlobalInfo()
114 MarkPromotedExtensions(&info.layerExtensions[layer], info.apiVersion); in GatherGlobalInfo()
210 MarkPromotedExtensions(&info.extensions, info.properties.apiVersion); in GatherDeviceInfo()
212 info.properties.apiVersion); in GatherDeviceInfo()
256 ASSERT(info.properties.apiVersion != 0); in GatherDeviceInfo()
DBackendVk.cpp301 if (info.versionPromoted > mGlobalInfo.apiVersion) { in CreateVkInstance()
319 if (mGlobalInfo.apiVersion == VK_MAKE_VERSION(1, 0, 0)) { in CreateVkInstance()
320 appInfo.apiVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkInstance()
322 appInfo.apiVersion = VK_MAKE_VERSION(1, 2, 0); in CreateVkInstance()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dinitialization.txt390 * pname:apiVersion is the version of the Vulkan API against which the
393 If pname:apiVersion is 0 the implementation must: ignore it, otherwise
394 if the implementation does not support the requested pname:apiVersion,
395 or an effective substitute for pname:apiVersion, it must: return
399 * pname:apiVersion must: be the highest version of Vulkan that the
403 The patch version number specified in pname:apiVersion is ignored when
406 requested in pname:apiVersion.
410 ename:VK_ERROR_INCOMPATIBLE_DRIVER if pname:apiVersion was larger than 1.0.
412 ename:VK_ERROR_INCOMPATIBLE_DRIVER for any value of pname:apiVersion.
433 The Khronos validation layers will treat pname:apiVersion as the highest API
[all …]
Dinitialization.adoc142 slink:VkApplicationInfo::pname:apiVersion when creating the instance
546 * pname:apiVersion is the version of the Vulkan API against which the
549 If pname:apiVersion is 0 the implementation must: ignore it, otherwise
550 if the implementation does not support the requested pname:apiVersion,
551 or an effective substitute for pname:apiVersion, it must: return
555 * pname:apiVersion must: be the highest version of Vulkan that the
559 The patch version number specified in pname:apiVersion is ignored when
562 requested in pname:apiVersion.
566 ename:VK_ERROR_INCOMPATIBLE_DRIVER if pname:apiVersion was larger than 1.0.
568 ename:VK_ERROR_INCOMPATIBLE_DRIVER for any value of pname:apiVersion.
[all …]
/third_party/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 = std::min(instanceVersion, apiVersion); in DEF_GPUTEST()
101 apiVersion, // apiVersion in DEF_GPUTEST()
/third_party/flutter/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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRendererVk.cpp682 applicationInfo.apiVersion = VK_API_VERSION_1_0; in initialize()
686 uint32_t apiVersion = VK_API_VERSION_1_0; in initialize() local
687 ANGLE_VK_TRY(displayVk, enumerateInstanceVersion(&apiVersion)); in initialize()
688 if ((VK_VERSION_MAJOR(apiVersion) > 1) || (VK_VERSION_MINOR(apiVersion) >= 1)) in initialize()
691 applicationInfo.apiVersion = kPreferredVulkanAPIVersion; in initialize()
696 applicationInfo.apiVersion = VK_API_VERSION_1_0; in initialize()
899 (mPhysicalDeviceProperties.apiVersion < VK_MAKE_VERSION(1, 1, 0))) in initializeDevice()
1097 uint32_t apiVersion = mPhysicalDeviceProperties.apiVersion; in getRendererDescription() local
1100 strstr << VK_VERSION_MAJOR(apiVersion) << "."; in getRendererDescription()
1101 strstr << VK_VERSION_MINOR(apiVersion) << "."; in getRendererDescription()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Ddriver_utils.cpp148 char apiVersion[PROP_VALUE_MAX]; in GetAndroidSDKVersion() local
149 int length = __system_property_get("ro.build.version.sdk", apiVersion); in GetAndroidSDKVersion()
154 return atoi(apiVersion); in GetAndroidSDKVersion()
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkInstanceDriverImpl.inl226 if (props.apiVersion >= VK_API_VERSION_1_1)
236 if (props.apiVersion >= VK_API_VERSION_1_1)
246 if (props.apiVersion >= VK_API_VERSION_1_1)
256 if (props.apiVersion >= VK_API_VERSION_1_1)
266 if (props.apiVersion >= VK_API_VERSION_1_1)
276 if (props.apiVersion >= VK_API_VERSION_1_1)
286 if (props.apiVersion >= VK_API_VERSION_1_1)
296 if (props.apiVersion >= VK_API_VERSION_1_1)
306 if (props.apiVersion >= VK_API_VERSION_1_1)
316 if (props.apiVersion >= VK_API_VERSION_1_1)
[all …]
/third_party/flutter/skia/tools/gpu/vk/
DVkTestUtils.cpp435 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkBackendContext() local
441 apiVersion = VK_MAKE_VERSION(1, 1, 0); in CreateVkBackendContext()
444 instanceVersion = SkTMin(instanceVersion, apiVersion); in CreateVkBackendContext()
457 apiVersion, // apiVersion in CreateVkBackendContext()
560 int physDeviceVersion = SkTMin(physDeviceProperties.apiVersion, apiVersion); in CreateVkBackendContext()
746 ctx->fMaxAPIVersion = apiVersion; in CreateVkBackendContext()
/third_party/skia/tools/gpu/vk/
DVkTestUtils.cpp450 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkBackendContext() local
456 apiVersion = VK_MAKE_VERSION(1, 1, 0); in CreateVkBackendContext()
459 instanceVersion = std::min(instanceVersion, apiVersion); in CreateVkBackendContext()
472 apiVersion, // apiVersion in CreateVkBackendContext()
575 uint32_t physDeviceVersion = std::min(physDeviceProperties.apiVersion, apiVersion); in CreateVkBackendContext()
786 ctx->fMaxAPIVersion = apiVersion; in CreateVkBackendContext()

1234567891011