| /third_party/vulkan-loader/tests/framework/icd/ |
| D | test_icd.cpp | 58 TestICD icd; variable 60 FRAMEWORK_EXPORT TestICD* get_test_icd_func() { return &icd; } in get_test_icd_func() 62 icd.~TestICD(); in reset_icd_func() 63 return new (&icd) TestICD(); in reset_icd_func() 82 return icd.instance_extensions.end() != in IsInstanceExtensionSupported() 83 std::find_if(icd.instance_extensions.begin(), icd.instance_extensions.end(), in IsInstanceExtensionSupported() 88 return icd.enabled_instance_extensions.end() != in IsInstanceExtensionEnabled() 89 … std::find_if(icd.enabled_instance_extensions.begin(), icd.enabled_instance_extensions.end(), in IsInstanceExtensionEnabled() 94 for (auto& phys_dev : icd.physical_devices) { in IsPhysicalDeviceExtensionAvailable() 163 auto& layer = FindLayer(icd.instance_layers, std::string(pLayerName)); in test_vkEnumerateInstanceExtensionProperties() [all …]
|
| /third_party/vulkan-loader/tests/ |
| D | loader_phys_dev_inst_ext_tests.cpp | 86 // Test vkGetPhysicalDeviceProperties2KHR where instance and ICD supports it, but device does not s… 120 // Test vkGetPhysicalDeviceProperties2 where instance supports, an ICD, and a device under that ICD 185 ASSERT_TRUE(log.find("Emulating call in ICD")); in TEST() 220 ASSERT_FALSE(log.find("Emulating call in ICD")); in TEST() 224 // Test vkGetPhysicalDeviceProperties2 and vkGetPhysicalDeviceProperties2KHR where ICD is 1.0 and s… 277 ASSERT_FALSE(log.find("Emulating call in ICD")); in TEST() 282 // ICD 0 supports 286 // ICD 1 doesn't support 288 // ICD 2 supports 291 // ICD 3 supports [all …]
|
| D | loader_wsi_tests.cpp | 34 // When ICD doesn't support the extension, create instance should fail 51 // When ICD doesn't support the surface creation, the loader should handle it 73 // When ICD does support the surface creation, the loader should delegat handle it to the ICD 98 for (uint32_t icd = 0; icd < 3; ++icd) { in TEST() local 102 auto& cur_icd = env.get_test_icd(icd); in TEST() 105 if (icd < 2) { in TEST() 106 // Only enable ICD for first two in TEST() 147 …ASSERT_TRUE(log.find("ICD for selected physical device does not export vkGetPhysicalDeviceWin32Pre… in TEST() 175 for (uint32_t icd = 0; icd < max_device_count; ++icd) { in TEST() local 179 auto& cur_icd = env.get_test_icd(icd); in TEST() [all …]
|
| D | loader_envvar_tests.cpp | 226 check_paths(env.debug_log, ManifestCategory::icd); in TEST() 400 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST() 403 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST() 406 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST() 418 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST() 421 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST() 424 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST() 436 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "ABC_ICD.json")); in TEST() 439 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "BCD_ICD.json")); in TEST() 442 ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found ICD manifest file", "CDE_ICD.json")); in TEST() [all …]
|
| D | loader_version_tests.cpp | 78 …// ICD must fail with VK_ERROR_INCOMPATIBLE_DRIVER for all vkCreateInstance calls with apiVersion … in TEST() 79 …// because both the loader and ICD support interface version <= 4. Otherwise, the ICD should behav… in TEST() 83 …// ICD must fail with VK_ERROR_INCOMPATIBLE_DRIVER for all vkCreateInstance calls with apiVersion … in TEST() 84 …// because the loader is still at interface version <= 4. Otherwise, the ICD should behave as norm… in TEST() 88 …// Loader will fail with VK_ERROR_INCOMPATIBLE_DRIVER if it can't handle the apiVersion. ICD may p… in TEST() 90 // fail with VK_ERROR_INCOMPATIBLE_DRIVER. Otherwise, the ICD should behave as normal. in TEST() 95 …E_DRIVER only if they can not support the specified apiVersion. Otherwise, the ICD should behave as in TEST() 132 …// The loader will only attempt to sort physical devices on an ICD if version 6 of the interface i… in TEST() 231 // The test ICD should completely swap the order of devices. in TEST() 279 // The test ICD should completely swap the order of devices. in TEST() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/common/vulkan/ |
| D | vulkan_icd.cpp | 74 ICDFilterFunc GetFilterForICD(vk::ICD preferredICD) in GetFilterForICD() 78 case vk::ICD::Mock: in GetFilterForICD() 84 case vk::ICD::SwiftShader: in GetFilterForICD() 105 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() 139 mICD = vk::ICD::Default; in ScopedVkLoaderEnvironment() 150 mICD = vk::ICD::Default; in ScopedVkLoaderEnvironment() [all …]
|
| D | vulkan_icd.h | 23 enum class ICD enum 39 ScopedVkLoaderEnvironment(bool enableValidationLayers, vk::ICD icd); 43 vk::ICD getEnabledICD() const { return mICD; } in getEnabledICD() 46 bool setICDEnvironment(const char *icd); 50 vk::ICD mICD; 60 vk::ICD preferredICD,
|
| /third_party/vulkan-loader/docs/ |
| D | LoaderDebugging.md | 288 DRIVER: /home/$(USER)/.config/vulkan/icd.d 289 DRIVER: /etc/xdg/vulkan/icd.d 290 DRIVER: /etc/vulkan/icd.d 291 DRIVER: /home/$(USER)/.local/share/vulkan/icd.d 292 DRIVER: /home/$(USER)/.local/share/flatpak/exports/share/vulkan/icd.d 293 DRIVER: /var/lib/flatpak/exports/share/vulkan/icd.d 294 DRIVER: /usr/local/share/vulkan/icd.d 295 DRIVER: /usr/share/vulkan/icd.d 297 DRIVER: /usr/share/vulkan/icd.d/intel_icd.x86_64.json 298 DRIVER: /usr/share/vulkan/icd.d/lvp_icd.x86_64.json [all …]
|
| /third_party/vulkan-loader/tests/framework/ |
| D | README.md | 6 * Test ICD 42 ### Test ICD and Layer 43 The Test ICD and Test Layer have much of their configuration available at runtime to allow maximal … 44 However exported functions in the icd or layer library binaries are an integral part of the configu… 45 To account for that there are multiple binaries of the Test ICD and Test Layer, each being a distin… 52 The `CMakeLists.txt` is responsible for creating the various binaries for the Test ICD and Test Lay… 57 To add a new configuration for a ICD or layer, the changes needed are as follows: 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) [all …]
|
| /third_party/skia/third_party/externals/angle2/third_party/OpenCL-ICD-Loader/ |
| D | README.chromium | 1 Name: Khronos OpenCL ICD Loader 2 Short Name: OpenCL-ICD-Loader 4 URL: https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenCL-ICD-Loader 5 …OURCE CODE: git clone -b OpenCL-ICD-Loader https://chromium.googlesource.com/external/github.com/K… 13 OpenCL defines an Installable Client Driver (ICD) mechanism to allow developers to build 14 applications against an Installable Client Driver loader (ICD loader) rather than linking
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
| D | BackendVk.cpp | 84 static constexpr ICD kICDs[] = { 85 ICD::None, 87 ICD::SwiftShader, 161 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() 188 case ICD::None: { in Initialize() 194 case ICD::SwiftShader: { in Initialize() 222 // ICD::SwiftShader should not be passed if SwiftShader is not enabled. in Initialize() [all …]
|
| D | BackendVk.h | 28 enum class ICD { enum 43 static ResultOrError<Ref<VulkanInstance>> Create(const InstanceBase* instance, ICD icd); 54 MaybeError Initialize(const InstanceBase* instance, ICD icd); 81 ityp::array<ICD, Ref<VulkanInstance>, 2> mVulkanInstances = {};
|
| /third_party/vulkan-headers/include/vulkan/ |
| D | vk_icd.h | 13 // Loader-ICD version negotiation API. Versions add the following features: 17 // Version 2 - Add Loader/ICD Interface version negotiation 19 // Version 3 - Add ICD creation/destruction of KHR_surface objects. 24 // structure during vkCreateInstance. This will tell the ICD 29 // Version 7 - If an ICD supports any of the following functions, they must be 45 // This is defined in vk_layer.h which will be found by the loader, but if an ICD is building again… 51 // Typedefs for loader/ICD interface 60 // Prototypes for loader/ICD interface 78 * The ICD must reserve space for a pointer for the loader's dispatch 80 * The ICD must initialize this variable using the SET_LOADER_MAGIC_VALUE macro.
|
| /third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/ |
| D | vk_icd.h | 29 // Loader-ICD version negotiation API. Versions add the following features: 33 // Version 2 - Add Loader/ICD Interface version negotiation 35 // Version 3 - Add ICD creation/destruction of KHR_surface objects. 40 // structure during vkCreateInstance. This will tell the ICD 51 // This is defined in vk_layer.h which will be found by the loader, but if an ICD is building again… 57 // Typedefs for loader/ICD interface 66 // Prototypes for loader/ICD interface 84 * The ICD must reserve space for a pointer for the loader's dispatch 86 * The ICD must initialize this variable using the SET_LOADER_MAGIC_VALUE macro.
|
| /third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
| D | vk_icd.h | 29 // Loader-ICD version negotiation API. Versions add the following features: 33 // Version 2 - Add Loader/ICD Interface version negotiation 35 // Version 3 - Add ICD creation/destruction of KHR_surface objects. 40 // structure during vkCreateInstance. This will tell the ICD 51 // This is defined in vk_layer.h which will be found by the loader, but if an ICD is building again… 57 // Typedefs for loader/ICD interface 66 // Prototypes for loader/ICD interface 84 * The ICD must reserve space for a pointer for the loader's dispatch 86 * The ICD must initialize this variable using the SET_LOADER_MAGIC_VALUE macro.
|
| /third_party/mesa3d/include/vulkan/ |
| D | vk_icd.h | 29 // Loader-ICD version negotiation API. Versions add the following features: 33 // Version 2 - Add Loader/ICD Interface version negotiation 35 // Version 3 - Add ICD creation/destruction of KHR_surface objects. 40 // structure during vkCreateInstance. This will tell the ICD 51 // This is defined in vk_layer.h which will be found by the loader, but if an ICD is building again… 57 // Typedefs for loader/ICD interface 66 // Prototypes for loader/ICD interface 84 * The ICD must reserve space for a pointer for the loader's dispatch 86 * The ICD must initialize this variable using the SET_LOADER_MAGIC_VALUE macro.
|
| /third_party/vulkan-loader/loader/ |
| D | terminator.c | 96 …"The icd's vkGetPhysicalDeviceImageFormatProperties was null, returning with VK_ERROR_INITIALIZATI… in terminator_GetPhysicalDeviceImageFormatProperties() 138 // Get the function pointer to use to call into the ICD. This could be the core or KHR version in terminator_GetPhysicalDeviceFeatures2() 153 … "vkGetPhysicalDeviceFeatures2: Emulating call in ICD \"%s\" using vkGetPhysicalDeviceFeatures", in terminator_GetPhysicalDeviceFeatures2() 194 // Get the function pointer to use to call into the ICD. This could be the core or KHR version in terminator_GetPhysicalDeviceProperties2() 209 …"vkGetPhysicalDeviceProperties2: Emulating call in ICD \"%s\" using vkGetPhysicalDeviceProperties", in terminator_GetPhysicalDeviceProperties2() 257 // Get the function pointer to use to call into the ICD. This could be the core or KHR version in terminator_GetPhysicalDeviceFormatProperties2() 272 …"vkGetPhysicalDeviceFormatProperties2: Emulating call in ICD \"%s\" using vkGetPhysicalDeviceForma… in terminator_GetPhysicalDeviceFormatProperties2() 295 // Get the function pointer to use to call into the ICD. This could be the core or KHR version in terminator_GetPhysicalDeviceImageFormatProperties2() 310 "vkGetPhysicalDeviceImageFormatProperties2: Emulating call in ICD \"%s\" using " in terminator_GetPhysicalDeviceImageFormatProperties2() 335 // Get the function pointer to use to call into the ICD. This could be the core or KHR version in terminator_GetPhysicalDeviceQueueFamilyProperties2() [all …]
|
| D | loader.c | 96 … that the libraries already been loaded causes any call that needs to load ICD libraries to speed … 1162 // traverse scanned icd list adding non-duplicate extensions to the list in loader_get_icd_loader_instance_extensions() 1343 // Determine the ICD interface version to use. 1344 // @param icd 1346 // the negotiation API is not supported by the ICD 1351 // ICD does not support the negotiation API, it supports version 0 or 1 in loader_get_icd_interface_version() 1355 // ICD supports the negotiation API, so call it with the loader's in loader_get_icd_interface_version() 1361 // ICD no longer supports the loader's latest interface version so in loader_get_icd_interface_version() 1362 // fail loading the ICD in loader_get_icd_interface_version() 1369 // Loader no longer supports the ICD's latest interface version so fail in loader_get_icd_interface_version() [all …]
|
| D | loader_common.h | 187 VkDevice icd_device; // device object from the icd 217 // Per ICD information 219 // Per ICD structure 225 VkInstance instance; // instance object from the icd 234 // Per ICD library structure 305 VkInstance instance; // layers/ICD instance returned to trampoline 377 // driver (multiple ICD/gpu case). This can be accomplished by wrapping the 404 VkPhysicalDevice phys_dev; // object from ICD
|
| D | wsi.c | 37 // The first ICD/Loader interface that support querying the SurfaceKHR from 152 // enumerated instance extensions. This solves the issue where an ICD or layer 208 // The real_icd_surface for any ICD not supporting the in terminator_DestroySurfaceKHR() 263 … "ICD for selected physical device does not export vkGetPhysicalDeviceSurfaceSupportKHR!"); in terminator_GetPhysicalDeviceSurfaceSupportKHR() 317 … "ICD for selected physical device does not export vkGetPhysicalDeviceSurfaceCapabilitiesKHR!"); in terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR() 373 … "ICD for selected physical device does not export vkGetPhysicalDeviceSurfaceCapabilitiesKHR!"); in terminator_GetPhysicalDeviceSurfaceFormatsKHR() 431 … "ICD for selected physical device does not export vkGetPhysicalDeviceSurfacePresentModesKHR!"); in terminator_GetPhysicalDeviceSurfacePresentModesKHR() 496 // We found the ICD, and there is an ICD KHR surface in terminator_CreateSwapchainKHR() 498 // and point it at the ICD's surface. in terminator_CreateSwapchainKHR() 627 // Loop through each ICD and determine if they need to create a surface in terminator_CreateWin32SurfaceKHR() [all …]
|
| D | unknown_function_handling.c | 77 // this icd supports funcName in loader_check_icds_for_dev_ext_address() 132 * Next check if an ICD supports it, and if is_tramp is true, check if any layer 137 * ICD returns a non-NULL GetProcAddr for it. 192 // this icd supports funcName in loader_check_icds_for_phys_dev_ext_address() 231 // If it has not been seen before check if a layer or and ICD supports it. 233 // Null is returned if discovered layer or ICD returns a non-NULL GetProcAddr for it 238 // We should always check to see if any ICD supports it. in loader_phys_dev_ext_gpa_impl() 287 // Setup the ICD function pointers in loader_phys_dev_ext_gpa_impl() 296 // it in one ICD. in loader_phys_dev_ext_gpa_impl()
|
| /third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
| D | write_icd_json.py | 19 description = "Generates the correct ICD JSON file for swiftshader in GN builds" 21 parser.add_argument('--input', type=str, help='The template ICD JSON') 22 parser.add_argument('--output', type=str, help='The output ICD JSON in the GN build dir') 29 data['ICD']['library_path'] = args.library_path
|
| /third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/run_testlist/ |
| D | main.go | 177 ICD struct { 182 icd, err := ioutil.ReadFile(vkSwiftshaderICD) 187 if err := json.NewDecoder(bytes.NewReader(icd)).Decode(&root); err != nil { 191 if util.IsFile(root.ICD.Path) { 192 return root.ICD.Path 195 path, err := filepath.Abs(filepath.Join(dir, root.ICD.Path)) 197 panic(fmt.Errorf("Could not locate ICD so at '%v'. %v", root.ICD.Path, err))
|
| /third_party/vulkan-loader/ |
| D | README_OpenHarmony.md | 29 /vendor/etc/vulkan/icd.d/ 30 /system/etc/vulkan/icd.d/ 31 /data/vulkan/icd.d/ 33 建议:GPU驱动的json清单文件应放在`/vendor/etc/vulkan/icd.d/`目录中。 42 "ICD": {
|
| /third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
| D | VK_EXT_pipeline_creation_cache_control.txt | 55 * OS/kernel calls to be made by the ICD 68 ICD to report back a failure in critical execution paths rather than forcing 74 When set, an ICD must not attempt pipeline or shader compilation to create 76 The ICD will return the result ename:VK_PIPELINE_COMPILE_REQUIRED_EXT. 77 An ICD may still return a valid sname:VkPipeline object by either re-using
|