Home
last modified time | relevance | path

Searched refs:icd (Results 1 – 25 of 49) sorted by relevance

12

/third_party/vulkan-loader/tests/framework/icd/
Dtest_icd.cpp50 TestICD icd; variable
52 FRAMEWORK_EXPORT TestICD* get_test_icd_func() { return &icd; } in get_test_icd_func()
54 icd.~TestICD(); in reset_icd_func()
55 return new (&icd) TestICD(); in reset_icd_func()
74 return icd.instance_extensions.end() != in IsInstanceExtensionSupported()
75 std::find_if(icd.instance_extensions.begin(), icd.instance_extensions.end(), in IsInstanceExtensionSupported()
80 return icd.enabled_instance_extensions.end() != in IsInstanceExtensionEnabled()
81 … std::find_if(icd.enabled_instance_extensions.begin(), icd.enabled_instance_extensions.end(), in IsInstanceExtensionEnabled()
86 for (auto& phys_dev : icd.physical_devices) { in IsPhysicalDeviceExtensionAvailable()
155 auto& layer = FindLayer(icd.instance_layers, std::string(pLayerName)); in test_vkEnumerateInstanceExtensionProperties()
[all …]
/third_party/vulkan-loader/tests/
Dloader_phys_dev_inst_ext_tests.cpp238 for (uint32_t icd = 0; icd < max_icd_count; ++icd) { in TEST() local
240 auto& cur_icd = env.get_test_icd(icd); in TEST()
243 if (icd != 1) { in TEST()
254 for (uint32_t dev = 0; dev < dev_counts[icd]; ++dev) { in TEST()
260 if ((icd == 0 && dev == 1) || icd == 3) { in TEST()
559 for (uint32_t icd = 0; icd < max_icd_count; ++icd) { in TEST() local
561 auto& cur_icd = env.get_test_icd(icd); in TEST()
564 if (icd != 1) { in TEST()
575 for (uint32_t dev = 0; dev < dev_counts[icd]; ++dev) { in TEST()
581 if ((icd == 0 && dev == 1) || icd == 3) { in TEST()
[all …]
Dloader_wsi_tests.cpp103 for (uint32_t icd = 0; icd < 3; ++icd) { in TEST() local
107 auto& cur_icd = env.get_test_icd(icd); in TEST()
110 if (icd < 2) { in TEST()
183 for (uint32_t icd = 0; icd < max_device_count; ++icd) { in TEST() local
187 auto& cur_icd = env.get_test_icd(icd); in TEST()
191 std::string dev_name = "phys_dev_" + std::to_string(icd); in TEST()
292 for (uint32_t icd = 0; icd < 3; ++icd) { in TEST() local
296 auto& cur_icd = env.get_test_icd(icd); in TEST()
299 if (icd < 2) { in TEST()
372 for (uint32_t icd = 0; icd < max_device_count; ++icd) { in TEST() local
[all …]
Dloader_layer_tests.cpp2935 for (uint32_t icd = 0; icd < 2; ++icd) { in TEST() local
2937 auto& cur_icd = env.get_test_icd(icd); in TEST()
2941 properties.vendorID = 0x11000000 + (icd << 6); in TEST()
2945 … auto dev_name = std::string("physdev_") + std::to_string(icd) + "_" + std::to_string(dev); in TEST()
3014 for (uint32_t icd = 0; icd < 2; ++icd) { in TEST() local
3016 auto& cur_icd = env.get_test_icd(icd); in TEST()
3020 properties.vendorID = 0x11000000 + (icd << 6); in TEST()
3024 … auto dev_name = std::string("physdev_") + std::to_string(icd) + "_" + std::to_string(dev); in TEST()
3066 for (uint32_t icd = 0; icd < 2; ++icd) { in TEST() local
3068 auto& cur_icd = env.get_test_icd(icd); in TEST()
[all …]
Dloader_debug_ext_tests.cpp54 for (uint32_t icd = 0; icd < 3; ++icd) { in SetUp() local
56 env->get_test_icd(icd).physical_devices.push_back({}); in SetUp()
57 env->get_test_icd(icd).physical_devices.push_back({}); in SetUp()
387 for (uint32_t icd = 0; icd < 3; ++icd) { in SetUp() local
389 env->get_test_icd(icd).physical_devices.push_back({}); in SetUp()
390 env->get_test_icd(icd).physical_devices.push_back({}); in SetUp()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBackendVk.cpp161 ICD icd) { in Create() argument
163 DAWN_TRY(vulkanInstance->Initialize(instance, icd)); in Create()
167 MaybeError VulkanInstance::Initialize(const InstanceBase* instance, ICD icd) { in Initialize() argument
187 switch (icd) { in Initialize()
418 for (ICD icd : kICDs) { in DiscoverAdapters() local
419 if (options->forceSwiftShader && icd != ICD::SwiftShader) { in DiscoverAdapters()
422 if (mVulkanInstances[icd] == nullptr && instance->ConsumedError([&]() -> MaybeError { in DiscoverAdapters()
423 DAWN_TRY_ASSIGN(mVulkanInstances[icd], VulkanInstance::Create(instance, icd)); in DiscoverAdapters()
430 mVulkanInstances[icd]->GetPhysicalDevices(); in DiscoverAdapters()
433 instance, mVulkanInstances[icd].Get(), physicalDevices[i]); in DiscoverAdapters()
DBackendVk.h43 static ResultOrError<Ref<VulkanInstance>> Create(const InstanceBase* instance, ICD icd);
54 MaybeError Initialize(const InstanceBase* instance, ICD icd);
/third_party/skia/third_party/externals/angle2/src/common/vulkan/
Dvulkan_icd.cpp105 ScopedVkLoaderEnvironment::ScopedVkLoaderEnvironment(bool enableValidationLayers, vk::ICD icd) in ScopedVkLoaderEnvironment() argument
107 mICD(icd), in ScopedVkLoaderEnvironment()
115 if (icd == vk::ICD::Mock) in ScopedVkLoaderEnvironment()
123 else if (icd == vk::ICD::SwiftShader) in ScopedVkLoaderEnvironment()
132 if (mEnableValidationLayers || icd != vk::ICD::Default) in ScopedVkLoaderEnvironment()
199 bool ScopedVkLoaderEnvironment::setICDEnvironment(const char *icd) in setICDEnvironment() argument
204 mChangedICDEnv = angle::SetEnvironmentVar(kLoaderICDFilenamesEnv, icd); in setICDEnvironment()
Dvulkan_icd.h39 ScopedVkLoaderEnvironment(bool enableValidationLayers, vk::ICD icd);
46 bool setICDEnvironment(const char *icd);
/third_party/vulkan-loader/tests/framework/
Dtest_environment.cpp202 platform_shim->set_path(ManifestCategory::icd, get_folder(ManifestLocation::driver).location()); in FrameworkEnvironment()
233 platform_shim->add_manifest(ManifestCategory::icd, icds.back().manifest_path); in add_icd()
349 void setup_WSI_in_ICD(TestICD& icd) { in setup_WSI_in_ICD() argument
350 icd.enable_icd_wsi = true; in setup_WSI_in_ICD()
352 icd.add_instance_extensions({"VK_KHR_surface", "VK_KHR_android_surface"}); in setup_WSI_in_ICD()
355 icd.add_instance_extensions({"VK_KHR_surface", "VK_EXT_directfb_surface"}); in setup_WSI_in_ICD()
358 icd.add_instance_extensions({"VK_KHR_surface", "VK_FUCHSIA_imagepipe_surface"}); in setup_WSI_in_ICD()
361 icd.add_instance_extensions({"VK_KHR_surface", "VK_GGP_stream_descriptor_surface"}); in setup_WSI_in_ICD()
364 icd.add_instance_extensions({"VK_KHR_surface", "VK_MVK_ios_surface"}); in setup_WSI_in_ICD()
367 icd.add_instance_extensions({"VK_KHR_surface", "VK_MVK_macos_surface"}); in setup_WSI_in_ICD()
[all …]
DREADME.md44 However exported functions in the icd or layer library binaries are an integral part of the configu…
59 * In the `framework/icd/CMakeLists.txt` or `framework/layer/CMakeLists.txt`, add a new SHARED libra…
68 * Create a new `.def` file with the same name as the library and place it in the `icd\export_defini…
143 * Allows writing manifests and files (eg, icd or layer binaries)
170 * Contains the name and api version of the icd or layer binary
175 * icd manifest
/third_party/vulkan-loader/
DREADME_OpenHarmony.md29 /vendor/etc/vulkan/icd.d/
30 /system/etc/vulkan/icd.d/
31 /data/vulkan/icd.d/
33 建议:GPU驱动的json清单文件应放在`/vendor/etc/vulkan/icd.d/`目录中。
/third_party/mesa3d/.gitlab-ci/
Dskqp-runner.sh60 VK_DRIVERS=$(ls "$INSTALL"/share/vulkan/icd.d/ | cut -f 1 -d '_')
77 …export VK_ICD_FILENAMES="$INSTALL"/share/vulkan/icd.d/"$VK_DRIVER"_icd."${VK_CPU:-$(uname -m)}".js…
Dfossilize-runner.sh14 export VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.x86_64.json
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/in-house/tests/
Duse.tests10 …441,U+11443;[E_dv.alt=0+275|Ga.icd=0+367|Gha.diag=0@100,0+386|AA_dv.alt=0+208|Candrabindu=0@17,-8+…
Duse-syllable.tests19 …24334340946a.ttf;--font-funcs=ft;U+11410,U+200C,U+11442,U+034F,U+11411;[Ga.icd=0+367|Gha.diag=1@10…
/third_party/mesa3d/src/gallium/targets/opencl/
Dmeson.build113 input : 'mesa.icd.in',
114 output : 'mesa.icd',
120 # .so is hardcoded in the icd as well
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/run_testlist/
Dmain.go182 icd, err := ioutil.ReadFile(vkSwiftshaderICD)
187 if err := json.NewDecoder(bytes.NewReader(icd)).Decode(&root); err != nil {
/third_party/vulkan-loader/loader/
Dloader_windows.c960 for (uint32_t icd = 0; icd < sorted_device_count; ++icd) { in windows_sort_physical_device_groups() local
961 for (uint32_t dev = 0; dev < sorted_phys_dev_array[icd].device_count; ++dev) { in windows_sort_physical_device_groups()
968 sorted_phys_dev_array[icd].physical_devices[dev]) { in windows_sort_physical_device_groups()
970 …ws_sort_devices_in_group(inst, &sorted_group_term[group].group_props, &sorted_phys_dev_array[icd]); in windows_sort_physical_device_groups()
/third_party/mesa3d/docs/relnotes/
D10.6.4.rst33 [clover] mesa.icd. should contain full path
86 - opencl: use versioned .so in mesa.icd
/third_party/skia/third_party/externals/angle2/third_party/OpenCL-ICD-Loader/
DBUILD.gn12 sources = [ "src/loader/icd.c" ]
/third_party/mesa3d/.gitlab-ci/container/debian/
Dx86_test-gl.sh70 ocl-icd-libopencl1 \
Dx86_build.sh45 ocl-icd-opencl-dev \
/third_party/mesa3d/.gitlab-ci/piglit/
Dpiglit-runner.sh15 export VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.${VK_CPU:-`uname -m`}.json
/third_party/mesa3d/src/vulkan/
Dmeson.build22 vulkan_icd_symbols = files('vulkan-icd-symbols.txt')

12