/third_party/vulkan-loader/tests/framework/layer/ |
D | layer_util.h | 33 BUILDER_VALUE(LayerDefinition, std::string, layerName, {}) 39 LayerDefinition(std::string layerName, uint32_t specVersion = VK_API_VERSION_1_0, 42 : layerName(layerName), 50 copy_string_to_char_array(layerName, &props.layerName[0], VK_MAX_EXTENSION_NAME_SIZE); in get()
|
D | test_layer.cpp | 574 snprintf(pProperties[i].layerName, VK_MAX_EXTENSION_NAME_SIZE, "%02d_layer", count); in test_preinst_vkEnumerateInstanceLayerProperties()
|
/third_party/skia/tools/gpu/vk/ |
D | VkTestUtils.cpp | 77 static int should_include_debug_layer(const char* layerName, in should_include_debug_layer() argument 81 if (!strcmp(layerName, layers[i].layerName)) { in should_include_debug_layer() 210 res = EnumerateInstanceExtensionProperties((*instanceLayers)[layerIndex].layerName, in init_instance_extensions_and_layers() 216 res = EnumerateInstanceExtensionProperties((*instanceLayers)[layerIndex].layerName, in init_instance_extensions_and_layers() 298 (*deviceLayers)[layerIndex].layerName, in init_device_extensions_and_layers() 305 (*deviceLayers)[layerIndex].layerName, in init_device_extensions_and_layers() 487 instanceLayerNames.push_back(instanceLayers[i].layerName); in CreateVkBackendContext() 646 deviceLayerNames.push_back(deviceLayers[i].layerName); in CreateVkBackendContext()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkQueryUtil.cpp | 365 …perties> enumerateInstanceExtensionProperties (const PlatformInterface& vkp, const char* layerName) in enumerateInstanceExtensionProperties() argument 370 VK_CHECK(vkp.enumerateInstanceExtensionProperties(layerName, &numExtensions, DE_NULL)); in enumerateInstanceExtensionProperties() 375 VK_CHECK(vkp.enumerateInstanceExtensionProperties(layerName, &numExtensions, &properties[0])); in enumerateInstanceExtensionProperties() 399 …onProperties (const InstanceInterface& vki, VkPhysicalDevice physicalDevice, const char* layerName) in enumerateDeviceExtensionProperties() argument 404 …VK_CHECK(vki.enumerateDeviceExtensionProperties(physicalDevice, layerName, &numExtensions, DE_NULL… in enumerateDeviceExtensionProperties() 409 …VK_CHECK(vki.enumerateDeviceExtensionProperties(physicalDevice, layerName, &numExtensions, &proper… in enumerateDeviceExtensionProperties() 442 if (required.name != layerProperties.layerName) in isCompatible()
|
D | vkQueryUtil.hpp | 66 …s> enumerateInstanceExtensionProperties (const PlatformInterface& vkp, const char* layerName); 68 …operties (const InstanceInterface& vki, VkPhysicalDevice physicalDevice, const char* layerName);
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | VulkanInfo.cpp | 28 const char* layerName, in GatherInstanceExtensions() argument 33 vkFunctions.EnumerateInstanceExtensionProperties(layerName, &count, nullptr)); in GatherInstanceExtensions() 40 layerName, &count, extensions.data()), in GatherInstanceExtensions() 94 auto it = knownLayers.find(layer.layerName); in GatherGlobalInfo()
|
/third_party/vulkan-loader/loader/ |
D | loader.c | 371 if (strcmp(name, item->layerName) == 0) return &layer_list->list[i]; in loader_find_layer_property() 459 const char *cur_layer_name = &cur_layer_prop.info.layerName[0]; in loader_remove_layers_in_blacklist() 507 …if (loader_find_layer_name_in_meta_layer(inst, cur_layer_prop->info.layerName, layer_list, layer_t… in loader_remove_layers_not_in_implicit_meta_layers() 523 cur_layer_prop->info.layerName); in loader_remove_layers_not_in_implicit_meta_layers() 793 if (strcmp(vk_layer_prop->layerName, layer_info[i].name) == 0) { in loader_names_array_has_layer_property() 938 … if (strcmp(inst->instance_layer_list.list[i].info.layerName, VK_OVERRIDE_LAYER_NAME) == 0) { in loader_implicit_layer_is_enabled() 945 if (strcmp(override->component_layer_names[i], prop->info.layerName) == 0) { in loader_implicit_layer_is_enabled() 990 … meta_layer_api_version.major, meta_layer_api_version.minor, search_prop->info.layerName, in loader_add_meta_layer() 1033 …if (0 == strcmp(source_prop->info.layerName, name) && (source_prop->type_flags & type_flags) == ty… in loader_add_layer_name_to_list() 1704 prop->info.layerName, prop->component_layer_names[comp_layer], comp_layer); in verify_meta_layer_component_layers() [all …]
|
D | unknown_function_handling.c | 320 … layer_prop->info.layerName, inst->disp->phys_dev_ext[new_function_index], funcName); in loader_phys_dev_ext_gpa_impl()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | VulkanHelper.cpp | 25 std::vector<VkExtensionProperties> EnumerateInstanceExtensionProperties(const char *layerName) in EnumerateInstanceExtensionProperties() argument 29 vkEnumerateInstanceExtensionProperties(layerName, &instanceExtensionCount, nullptr); in EnumerateInstanceExtensionProperties() 32 result = vkEnumerateInstanceExtensionProperties(layerName, &instanceExtensionCount, in EnumerateInstanceExtensionProperties() 50 const char *layerName) in EnumerateDeviceExtensionProperties() argument 53 VkResult result = vkEnumerateDeviceExtensionProperties(physicalDevice, layerName, in EnumerateDeviceExtensionProperties() 57 result = vkEnumerateDeviceExtensionProperties(physicalDevice, layerName, &deviceExtensionCount, in EnumerateDeviceExtensionProperties()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_utils.cpp | 218 bool HasValidationLayer(const std::vector<VkLayerProperties> &layerProps, const char *layerName) in HasValidationLayer() argument 222 if (std::string(layerProp.layerName) == layerName) in HasValidationLayer() 243 for (const char *layerName : kVkValidationLayerNames) in HasValidationLayers() local 245 if (!HasValidationLayer(layerProps, layerName)) in HasValidationLayers() 339 for (const char *layerName : kVkValidationLayerNames) in GetAvailableValidationLayers() local 341 enabledLayerNames->push_back(layerName); in GetAvailableValidationLayers()
|
D | RendererVk.cpp | 1166 for (const char *layerName : enabledInstanceLayerNames) in initialize() local 1173 layerName, &instanceLayerExtensionCount, nullptr)); in initialize() 1179 layerName, &instanceLayerExtensionCount, in initialize() 1745 for (const char *layerName : enabledDeviceLayerNames) in initializeDevice() local 1750 vkEnumerateDeviceExtensionProperties(mPhysicalDevice, layerName, in initializeDevice() 1754 mPhysicalDevice, layerName, &deviceLayerExtensionCount, in initializeDevice()
|
/third_party/vulkan-loader/tests/ |
D | loader_layer_tests.cpp | 315 EXPECT_TRUE(string_eq(layer_props.layerName, regular_layer_name)); in TEST() 423 EXPECT_TRUE(string_eq(layer_props.layerName, regular_layer_name)); in TEST() 611 EXPECT_TRUE(string_eq(layer_props[0].layerName, regular_layer_name)); in TEST() 661 ASSERT_TRUE(string_eq(layer_props[0].layerName, regular_layer_name)); in TEST() 662 ASSERT_TRUE(string_eq(layer_props[1].layerName, lunarg_meta_layer_name)); in TEST() 678 ASSERT_TRUE(string_eq(layer_props[0].layerName, regular_layer_name)); in TEST() 679 ASSERT_TRUE(string_eq(layer_props[1].layerName, lunarg_meta_layer_name)); in TEST() 729 ASSERT_TRUE(string_eq(layer_props[0].layerName, regular_layer_name)); in TEST() 730 ASSERT_TRUE(string_eq(layer_props[1].layerName, lunarg_meta_layer_name)); in TEST() 747 ASSERT_TRUE(string_eq(layer_props[0].layerName, regular_layer_name)); in TEST() [all …]
|
D | loader_regression_tests.cpp | 161 ASSERT_TRUE(string_eq(layer_name_1, layer_props[0].layerName)); in TEST() 162 ASSERT_TRUE(string_eq(layer_name_2, layer_props[1].layerName)); in TEST() 172 ASSERT_TRUE(string_eq(layer_name_1, layer_props[0].layerName)); in TEST() 173 ASSERT_TRUE(string_eq(layer_name_2, layer_props[1].layerName)); in TEST() 179 ASSERT_TRUE(string_eq(layer_name_1, layer_props.layerName)); in TEST() 319 ASSERT_TRUE(string_eq(layer_props.layerName, layer_name)); in TEST() 3511 ASSERT_TRUE(string_eq(layer_props.layerName, layer_name)); in TEST()
|
/third_party/vulkan-loader/tests/framework/ |
D | test_util.h | 835 … return string_eq(a.layerName, b.layerName, 256) && string_eq(a.description, b.description, 256) && 856 if (string_eq(*(expected.begin() + i), elem.layerName)) { in check_permutation() 871 if (string_eq(*(expected.begin() + i), elem.layerName)) { in check_permutation() 887 … [name](VkLayerProperties const& elem) { return string_eq(name, elem.layerName); }); in contains()
|
D | test_util.cpp | 191 copy_string_to_char_array(name, properties.layerName, VK_MAX_EXTENSION_NAME_SIZE); in get_layer_properties()
|
/third_party/vulkan-loader/tests/framework/icd/ |
D | test_icd.h | 108 for (auto& layer : instance_layers) info.enabled_layers.push_back(layer.layerName.data()); in GetVkInstanceCreateInfo()
|
D | test_icd.cpp | 59 LayerDefinition& FindLayer(std::vector<LayerDefinition>& layers, std::string layerName) { in FindLayer() argument 61 if (layer.layerName == layerName) return layer; in FindLayer() 66 bool CheckLayer(std::vector<LayerDefinition>& layers, std::string layerName) { in CheckLayer() argument 68 if (layer.layerName == layerName) return true; in CheckLayer()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkinstance.c | 352 if (g_strcmp0 (name, priv->available_layers[i].layerName) == 0) { in gst_vulkan_instance_get_layer_info_unlocked() 671 if (g_strcmp0 (name, priv->available_layers[i].layerName) == 0) { in gst_vulkan_instance_enable_layer_unlocked() 792 priv->available_layers[i].layerName); in gst_vulkan_instance_fill_info_unlocked()
|
D | gstvkphysicaldevice.c | 853 priv->available_layers[i].layerName); in gst_vulkan_physical_device_fill_info() 985 if (g_strcmp0 (name, priv->available_layers[i].layerName) == 0) { in gst_vulkan_physical_device_get_layer_info_unlocked()
|
/third_party/glfw/tests/ |
D | glfwinfo.c | 261 lp[i].layerName, in list_vulkan_instance_layers() 320 lp[i].layerName, in list_vulkan_device_layers()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | VulkanTester.cpp | 282 return strcmp(layer, lp.layerName) == 0; in initialize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiFeatureInfo.cpp | 1850 …ceExtensionPropertiesIncompleteResult (std::string layerName = std::string()) : m_layerName(layerN… in CheckEnumerateInstanceExtensionPropertiesIncompleteResult() 1864 …ceExtensionPropertiesIncompleteResult (std::string layerName = std::string()) : m_layerName(layerN… in CheckEnumerateDeviceExtensionPropertiesIncompleteResult() 2041 layerNames.push_back(properties[ndx].layerName); in enumerateInstanceLayers() 2092 …const ScopedLogSection section (log, layer->layerName, string("Layer: ") + layer->layerName); in enumerateInstanceExtensions() 2093 …perties = enumerateInstanceExtensionProperties(context.getPlatformInterface(), layer->layerName); in enumerateInstanceExtensions() 2104 …CheckEnumerateInstanceExtensionPropertiesIncompleteResult(layer->layerName)(context, results, prop… in enumerateInstanceExtensions() 2164 layerNames.push_back(properties[ndx].layerName); in enumerateDeviceLayers() 2217 const ScopedLogSection section (log, layer->layerName, string("Layer: ") + layer->layerName); in enumerateDeviceExtensions() 2218 …ExtensionProperties(context.getInstanceInterface(), context.getPhysicalDevice(), layer->layerName); in enumerateDeviceExtensions() 2230 …CheckEnumerateDeviceExtensionPropertiesIncompleteResult(layer->layerName)(context, results, proper… in enumerateDeviceExtensions() [all …]
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_structs.h | 72 size += vn_sizeof_char_array(val->layerName, VK_MAX_EXTENSION_NAME_SIZE); in vn_sizeof_VkLayerProperties() 85 vn_decode_char_array(dec, val->layerName, array_size); in vn_decode_VkLayerProperties()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
D | vulkan_command_buffer_utils.cpp | 49 layer_name = layer_props.properties.layerName; in init_global_extension_properties() 133 layer_name = layer_props.properties.layerName; in init_device_extension_properties() 170 if (!strcmp(layer_names[i], layer_props[j].properties.layerName)) in demo_check_layers()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 585 const std::string layerName (name + " Layer:" + de::toString(layerNdx)); in logImage() local 588 …m_context.getTestContext().getLog() << tcu::LogImage(layerName.c_str(), layerName.c_str(), layerIm… in logImage()
|