Home
last modified time | relevance | path

Searched refs:instanceVersion (Results 1 – 21 of 21) 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 = SkTMin(instanceVersion, apiVersion); in DEF_GPUTEST()
/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/skia/tools/gpu/vk/
DVkTestUtils.cpp393 uint32_t instanceVersion = 0; in CreateVkBackendContext() local
395 instanceVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkBackendContext()
397 err = grVkEnumerateInstanceVersion(&instanceVersion); in CreateVkBackendContext()
403 SkASSERT(instanceVersion >= VK_MAKE_VERSION(1, 0, 0)); in CreateVkBackendContext()
405 if (instanceVersion >= VK_MAKE_VERSION(1, 1, 0)) { in CreateVkBackendContext()
413 instanceVersion = SkTMin(instanceVersion, apiVersion); in CreateVkBackendContext()
432 if (!init_instance_extensions_and_layers(getProc, instanceVersion, in CreateVkBackendContext()
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.cpp388 bool isInstanceExtensionSupported (const deUint32 instanceVersion, const std::vector<std::string>& … in isInstanceExtensionSupported() argument
390 if (isCoreInstanceExtension(instanceVersion, required)) in isInstanceExtensionSupported()
404 bool isInstanceExtensionSupported (const deUint32 instanceVersion, const std::vector<VkExtensionPro… in isInstanceExtensionSupported() argument
406 if (isCoreInstanceExtension(instanceVersion, required.name)) in isInstanceExtensionSupported()
DvkQueryUtil.hpp116 bool isInstanceExtensionSupported (const deUint32 instanceVersion, const std::vector<std…
118 bool isInstanceExtensionSupported (const deUint32 instanceVersion, const std::vector<VkE…
/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,
DGrVkInterface.cpp23 uint32_t instanceVersion, in GrVkInterface() argument
263 bool GrVkInterface::validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion, in validate() argument
DGrVkGpu.h178 sk_sp<const GrVkInterface>, uint32_t instanceVersion, uint32_t physicalDeviceVersion);
DGrVkCaps.cpp21 uint32_t instanceVersion, uint32_t physicalDeviceVersion, in GrVkCaps() argument
/external/skia/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,
DGrVkInterface.cpp23 uint32_t instanceVersion, in GrVkInterface() argument
263 bool GrVkInterface::validate(uint32_t instanceVersion, uint32_t physicalDeviceVersion, in validate() argument
DGrVkGpu.h186 sk_sp<const GrVkInterface>, uint32_t instanceVersion, uint32_t physicalDeviceVersion);
DGrVkCaps.cpp22 uint32_t instanceVersion, uint32_t physicalDeviceVersion, in GrVkCaps() argument
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestCase.cpp151 …ctor<string> addCoreInstanceExtensions (const vector<string>& extensions, deUint32 instanceVersion) in addCoreInstanceExtensions() argument
154 getCoreInstanceExtensions(instanceVersion, coreExtensions); in addCoreInstanceExtensions()
158 vector<string> addCoreDeviceExtensions(const vector<string>& extensions, deUint32 instanceVersion) in addCoreDeviceExtensions() argument
161 getCoreDeviceExtensions(instanceVersion, coreExtensions); in addCoreDeviceExtensions()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiVersionCheck.cpp72 const vk::ApiVersion instanceVersion = vk::unpackVersion(m_context.getAvailableInstanceVersion()); in iterate() local
76 …log << tcu::TestLog::Message << "availableInstanceVersion: " << instanceVersion << tcu::TestLog::E… in iterate()
DvktApiExternalMemoryTests.cpp189 std::vector<std::string> getInstanceExtensions (const deUint32 instanceVersion, in getInstanceExtensions() argument
196 if (!vk::isCoreInstanceExtension(instanceVersion, "VK_KHR_get_physical_device_properties2")) in getInstanceExtensions()
200 if (!vk::isCoreInstanceExtension(instanceVersion, "VK_KHR_external_semaphore_capabilities")) in getInstanceExtensions()
204 if (!vk::isCoreInstanceExtension(instanceVersion, "VK_KHR_external_memory_capabilities")) in getInstanceExtensions()
208 if (!vk::isCoreInstanceExtension(instanceVersion, "VK_KHR_external_fence_capabilities")) in getInstanceExtensions()