/external/skqp/tests/ |
D | VkPriorityExtensionTest.cpp | 68 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/ |
D | VkPriorityExtensionTest.cpp | 68 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/ |
D | SystemInfo_vulkan.cpp | 50 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/ |
D | VkTestUtils.cpp | 430 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/ |
D | VkTestUtils.cpp | 389 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/ |
D | vktApiVersionCheck.cpp | 79 …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()
|
D | vktApiExternalMemoryTests.cpp | 192 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/ |
D | GrVkGpu.cpp | 75 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 …]
|
D | GrVkInterface.h | 44 uint32_t instanceVersion, 50 bool validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion,
|
D | GrVkCaps.h | 32 uint32_t instanceVersion, uint32_t physicalDeviceVersion,
|
D | GrVkGpu.h | 178 sk_sp<const GrVkInterface>, uint32_t instanceVersion, uint32_t physicalDeviceVersion);
|
D | GrVkInterface.cpp | 23 uint32_t instanceVersion, in GrVkInterface() argument 263 bool GrVkInterface::validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion, in validate() argument
|
D | GrVkCaps.cpp | 21 uint32_t instanceVersion, uint32_t physicalDeviceVersion, in GrVkCaps() argument
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 74 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 …]
|
D | GrVkInterface.h | 44 uint32_t instanceVersion, 50 bool validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion,
|
D | GrVkCaps.h | 32 uint32_t instanceVersion,
|
D | GrVkInterface.cpp | 23 uint32_t instanceVersion, in GrVkInterface() argument 263 bool GrVkInterface::validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion, in validate() argument
|
D | GrVkGpu.h | 207 sk_sp<const GrVkInterface>, uint32_t instanceVersion, uint32_t physicalDeviceVersion,
|
D | GrVkCaps.cpp | 37 uint32_t instanceVersion, uint32_t physicalDeviceVersion, in GrVkCaps() argument
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktTestCase.cpp | 142 …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/ |
D | vkQueryUtil.cpp | 470 bool isInstanceExtensionSupported(const deUint32 instanceVersion, const std::vector<std::string>& e… in isInstanceExtensionSupported() argument 474 if (isCoreInstanceExtension(instanceVersion, required)) in isInstanceExtensionSupported()
|
D | vkQueryUtil.hpp | 120 bool isInstanceExtensionSupported (const deUint32 instanceVersion, const std::vector<std…
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryDeviceMemoryReportTests.cpp | 1932 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()
|