Home
last modified time | relevance | path

Searched refs:instanceVersion (Results 1 – 23 of 23) sorted by relevance

/external/skqp/tests/
DVkPriorityExtensionTest.cpp68 uint32_t instanceVersion = 0; in DEF_GPUTEST() local
70 instanceVersion = VK_MAKE_VERSION(1, 0, 0); in DEF_GPUTEST()
72 err = grVkEnumerateInstanceVersion(&instanceVersion); in DEF_GPUTEST()
78 SkASSERT(instanceVersion >= VK_MAKE_VERSION(1, 0, 0)); in DEF_GPUTEST()
80 if (instanceVersion >= VK_MAKE_VERSION(1, 1, 0)) { in DEF_GPUTEST()
88 instanceVersion = SkTMin(instanceVersion, apiVersion); in DEF_GPUTEST()
/external/skia/tests/
DVkPriorityExtensionTest.cpp68 uint32_t instanceVersion = 0; in DEF_GPUTEST() local
70 instanceVersion = VK_MAKE_VERSION(1, 0, 0); in DEF_GPUTEST()
72 err = grVkEnumerateInstanceVersion(&instanceVersion); in DEF_GPUTEST()
78 SkASSERT(instanceVersion >= VK_MAKE_VERSION(1, 0, 0)); in DEF_GPUTEST()
80 if (instanceVersion >= VK_MAKE_VERSION(1, 1, 0)) { in DEF_GPUTEST()
88 instanceVersion = std::min(instanceVersion, apiVersion); in DEF_GPUTEST()
/external/angle/src/gpu_info_util/
DSystemInfo_vulkan.cpp50 uint32_t instanceVersion = VK_API_VERSION_1_0; in getVulkanInstance() local
55 pfnEnumerateInstanceVersion(&instanceVersion) != VK_SUCCESS) in getVulkanInstance()
57 instanceVersion = VK_API_VERSION_1_0; in getVulkanInstance()
69 appInfo.apiVersion = instanceVersion; in getVulkanInstance()
/external/skia/tools/gpu/vk/
DVkTestUtils.cpp430 uint32_t instanceVersion = 0; in CreateVkBackendContext() local
432 instanceVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkBackendContext()
434 err = grVkEnumerateInstanceVersion(&instanceVersion); in CreateVkBackendContext()
440 SkASSERT(instanceVersion >= VK_MAKE_VERSION(1, 0, 0)); in CreateVkBackendContext()
441 if (isProtected && instanceVersion < VK_MAKE_VERSION(1, 1, 0)) { in CreateVkBackendContext()
447 if (instanceVersion >= VK_MAKE_VERSION(1, 1, 0)) { in CreateVkBackendContext()
455 instanceVersion = std::min(instanceVersion, apiVersion); in CreateVkBackendContext()
474 if (!init_instance_extensions_and_layers(getProc, instanceVersion, in CreateVkBackendContext()
/external/skqp/tools/gpu/vk/
DVkTestUtils.cpp389 uint32_t instanceVersion = 0; in CreateVkBackendContext() local
391 instanceVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkBackendContext()
393 err = grVkEnumerateInstanceVersion(&instanceVersion); in CreateVkBackendContext()
399 SkASSERT(instanceVersion >= VK_MAKE_VERSION(1, 0, 0)); in CreateVkBackendContext()
401 if (instanceVersion >= VK_MAKE_VERSION(1, 1, 0)) { in CreateVkBackendContext()
409 instanceVersion = SkTMin(instanceVersion, apiVersion); in CreateVkBackendContext()
428 if (!init_instance_extensions_and_layers(getProc, instanceVersion, in CreateVkBackendContext()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiVersionCheck.cpp79 …const vk::ApiVersion instanceVersion = vk::unpackVersion(m_context.getAvailableInstanceVersion()… in iterate() local
80 …String(instanceVersion.majorNum) + ::std::string(".") + de::toString(instanceVersion.minorNum) + :… in iterate()
86 …log << tcu::TestLog::Message << "availableInstanceVersion: " << instanceVersion << tcu::TestLog::E… in iterate()
90 …if (instanceVersion.majorNum > maxVulkanVersion.majorNum || instanceVersion.minorNum > maxVulkanVe… in iterate()
DvktApiExternalMemoryTests.cpp192 std::vector<std::string> getInstanceExtensions (const deUint32 instanceVersion, in getInstanceExtensions() argument
199 if (!vk::isCoreInstanceExtension(instanceVersion, "VK_KHR_get_physical_device_properties2")) in getInstanceExtensions()
203 if (!vk::isCoreInstanceExtension(instanceVersion, "VK_KHR_external_semaphore_capabilities")) in getInstanceExtensions()
207 if (!vk::isCoreInstanceExtension(instanceVersion, "VK_KHR_external_memory_capabilities")) in getInstanceExtensions()
211 if (!vk::isCoreInstanceExtension(instanceVersion, "VK_KHR_external_fence_capabilities")) in getInstanceExtensions()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp75 uint32_t instanceVersion = 0; in Make() local
77 instanceVersion = VK_MAKE_VERSION(1, 0, 0); in Make()
79 VkResult err = localEnumerateInstanceVersion(&instanceVersion); in Make()
100 : instanceVersion; in Make()
102 instanceVersion = SkTMin(instanceVersion, apiVersion); in Make()
111 instanceVersion, in Make()
114 if (!interface->validate(instanceVersion, physDevVersion, backendContext.fVkExtensions)) { in Make()
124 instanceVersion, in Make()
127 if (!interface->validate(instanceVersion, physDevVersion, &extensions)) { in Make()
132 return sk_sp<GrGpu>(new GrVkGpu(context, options, backendContext, interface, instanceVersion, in Make()
[all …]
DGrVkInterface.h44 uint32_t instanceVersion,
50 bool validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion,
DGrVkCaps.h32 uint32_t instanceVersion, uint32_t physicalDeviceVersion,
DGrVkGpu.h178 sk_sp<const GrVkInterface>, uint32_t instanceVersion, uint32_t physicalDeviceVersion);
DGrVkInterface.cpp23 uint32_t instanceVersion, in GrVkInterface() argument
263 bool GrVkInterface::validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion, in validate() argument
DGrVkCaps.cpp21 uint32_t instanceVersion, uint32_t physicalDeviceVersion, in GrVkCaps() argument
/external/skia/src/gpu/vk/
DGrVkGpu.cpp74 uint32_t instanceVersion = 0; in Make() local
76 instanceVersion = VK_MAKE_VERSION(1, 0, 0); in Make()
78 VkResult err = localEnumerateInstanceVersion(&instanceVersion); in Make()
99 : instanceVersion; in Make()
101 instanceVersion = std::min(instanceVersion, apiVersion); in Make()
110 instanceVersion, in Make()
113 if (!interface->validate(instanceVersion, physDevVersion, backendContext.fVkExtensions)) { in Make()
129 instanceVersion, in Make()
132 if (!interface->validate(instanceVersion, physDevVersion, &extensions)) { in Make()
140 *backendContext.fDeviceFeatures2, instanceVersion, physDevVersion, in Make()
[all …]
DGrVkInterface.h44 uint32_t instanceVersion,
50 bool validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion,
DGrVkCaps.h32 uint32_t instanceVersion,
DGrVkInterface.cpp23 uint32_t instanceVersion, in GrVkInterface() argument
263 bool GrVkInterface::validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion, in validate() argument
DGrVkGpu.h207 sk_sp<const GrVkInterface>, uint32_t instanceVersion, uint32_t physicalDeviceVersion,
DGrVkCaps.cpp37 uint32_t instanceVersion, uint32_t physicalDeviceVersion, in GrVkCaps() argument
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestCase.cpp142 …ctor<string> addCoreInstanceExtensions (const vector<string>& extensions, deUint32 instanceVersion) in addCoreInstanceExtensions() argument
145 getCoreInstanceExtensions(instanceVersion, coreExtensions); in addCoreInstanceExtensions()
149 vector<string> addCoreDeviceExtensions(const vector<string>& extensions, deUint32 instanceVersion) in addCoreDeviceExtensions() argument
152 getCoreDeviceExtensions(instanceVersion, coreExtensions); in addCoreDeviceExtensions()
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.cpp470 bool isInstanceExtensionSupported(const deUint32 instanceVersion, const std::vector<std::string>& e… in isInstanceExtensionSupported() argument
474 if (isCoreInstanceExtension(instanceVersion, required)) in isInstanceExtensionSupported()
DvkQueryUtil.hpp120 bool isInstanceExtensionSupported (const deUint32 instanceVersion, const std::vector<std…
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryDeviceMemoryReportTests.cpp1932 static std::vector<std::string> getInstanceExtensions (const deUint32 instanceVersion) in getInstanceExtensions() argument
1936 if (!isCoreInstanceExtension(instanceVersion, "VK_KHR_get_physical_device_properties2")) in getInstanceExtensions()
1939 if (!isCoreInstanceExtension(instanceVersion, "VK_KHR_external_memory_capabilities")) in getInstanceExtensions()