/external/vulkan-validation-layers/tests/ |
D | vktestframeworkandroid.cpp | 33 VkFormatProperties format_props; in GetFormat() local 34 …GetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_B8G8R8A8_UNORM, &format_props); in GetFormat() 35 if (format_props.linearTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT || in GetFormat() 36 format_props.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) { in GetFormat() 39 …GetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_R8G8B8A8_UNORM, &format_props); in GetFormat() 40 if (format_props.linearTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT || in GetFormat() 41 format_props.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) { in GetFormat()
|
D | layer_validation_tests.cpp | 32 VkFormatProperties format_props; in FindSupportedDepthStencilFormat() local 33 vkGetPhysicalDeviceFormatProperties(phy, ds_formats[i], &format_props); in FindSupportedDepthStencilFormat() 35 if (format_props.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) { in FindSupportedDepthStencilFormat() 43 VkFormatProperties format_props; in ImageFormatIsSupported() local 44 vkGetPhysicalDeviceFormatProperties(phy, format, &format_props); in ImageFormatIsSupported() 46 …(VK_IMAGE_TILING_OPTIMAL == tiling ? format_props.optimalTilingFeatures : format_props.linearTilin… in ImageFormatIsSupported() 51 VkFormatProperties format_props; in ImageFormatAndFeaturesSupported() local 52 vkGetPhysicalDeviceFormatProperties(phy, format, &format_props); in ImageFormatAndFeaturesSupported() 54 …(VK_IMAGE_TILING_OPTIMAL == tiling ? format_props.optimalTilingFeatures : format_props.linearTilin… in ImageFormatAndFeaturesSupported() 301 VkFormatProperties format_props; in FindFormatLinearWithoutMips() local [all …]
|
D | vktestframework.cpp | 214 VkFormatProperties format_props; in GetFormat() local 216 …GetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_B8G8R8A8_UNORM, &format_props); in GetFormat() 217 if (format_props.linearTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT || in GetFormat() 218 format_props.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) { in GetFormat() 221 …GetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_R8G8B8A8_UNORM, &format_props); in GetFormat() 222 if (format_props.linearTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT || in GetFormat() 223 format_props.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) { in GetFormat()
|
D | vkpositivelayertests.cpp | 591 VkImageFormatProperties format_props; in TEST_F() local 593 … VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, 0, &format_props); in TEST_F() 594 if (format_props.maxExtent.width < 32 || format_props.maxExtent.height < 32) { in TEST_F() 5230 VkFormatProperties format_props; in TEST_F() local 5231 …kGetOriginalPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_R64G64B64A64_SFLOAT, &format_props); in TEST_F() 5232 format_props.bufferFeatures |= VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT; in TEST_F() 5233 fpvkSetPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_R64G64B64A64_SFLOAT, format_props); in TEST_F()
|
D | vklayertests_buffer_image_memory_sampler.cpp | 3857 VkFormatProperties format_props; in TEST_F() local 3858 … vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), VK_FORMAT_D16_UNORM, &format_props); in TEST_F() 3859 if (format_props.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) { in TEST_F() 3878 vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), VK_FORMAT_S8_UINT, &format_props); in TEST_F() 3879 if (format_props.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) { in TEST_F()
|
D | vklayertests_command.cpp | 2199 VkFormatProperties format_props; in TEST_F() local 2203 vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), image_format, &format_props); in TEST_F() 2204 if (!(format_props.optimalTilingFeatures & VK_FORMAT_FEATURE_TRANSFER_SRC_BIT)) { in TEST_F()
|
D | vklayertests_pipeline_shader.cpp | 173 VkFormatProperties format_props = m_device->format_properties(input_attribs.format); in TEST_F() local 174 if ((format_props.bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT) != 0) { in TEST_F()
|
/external/libkmsxx/utils/ |
D | kmsprint.cpp | 209 static vector<string> format_props(DrmPropObject* o) in format_props() function 384 for (string str : format_props(ob)) in print_as_list() 402 e1.lines = format_props(conn); in print_as_tree() 408 e2.lines = format_props(enc); in print_as_tree() 414 e3.lines = format_props(crtc); in print_as_tree() 430 e4.lines = format_props(plane); in print_as_tree()
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_formats.c | 264 VkFormatProperties format_props; in lvp_get_image_format_properties() local 272 &format_props); in lvp_get_image_format_properties() 274 format_feature_flags = format_props.linearTilingFeatures; in lvp_get_image_format_properties() 276 format_feature_flags = format_props.optimalTilingFeatures; in lvp_get_image_format_properties()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_formats.c | 519 VkFormatProperties format_props; in tu_get_image_format_properties() local 527 &format_props); in tu_get_image_format_properties() 531 format_feature_flags = format_props.linearTilingFeatures; in tu_get_image_format_properties() 543 if (!format_props.optimalTilingFeatures) in tu_get_image_format_properties() 553 format_feature_flags = format_props.optimalTilingFeatures; in tu_get_image_format_properties() 556 format_feature_flags = format_props.linearTilingFeatures; in tu_get_image_format_properties() 563 format_feature_flags = format_props.optimalTilingFeatures; in tu_get_image_format_properties()
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common_drm.c | 167 VkFormatProperties2 format_props = { in wsi_create_native_image() local 173 &format_props); in wsi_create_native_image() 188 &format_props); in wsi_create_native_image() 218 VkImageFormatProperties2 format_props = { in wsi_create_native_image() local 225 &format_props); in wsi_create_native_image()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_formats.c | 1143 VkFormatProperties format_props; in radv_get_image_format_properties() local 1153 &format_props); in radv_get_image_format_properties() 1155 format_feature_flags = format_props.linearTilingFeatures; in radv_get_image_format_properties() 1157 format_feature_flags = format_props.optimalTilingFeatures; in radv_get_image_format_properties()
|