/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiFormatPropertiesExtendedKHRtests.cpp | 45 const VkFormatProperties3KHR formatProperties (context.getFormatProperties(format)); in test() local 49 …allPass = allPass && ((formatProperties.bufferFeatures & requiredProperties.bufferFeatures) == r… in test() 50 …allPass = allPass && ((formatProperties.linearTilingFeatures & requiredProperties.linearTilingFeat… in test() 51 …allPass = allPass && ((formatProperties.optimalTilingFeatures & requiredProperties.optimalTilingFe… in test()
|
D | vktApiPipelineTests.cpp | 59 VkFormatProperties formatProperties; in getRenderTargetFormat() local 61 vk.getPhysicalDeviceFormatProperties(device, VK_FORMAT_B8G8R8A8_UNORM, &formatProperties); in getRenderTargetFormat() 63 …if ((formatProperties.linearTilingFeatures & featureFlags) || (formatProperties.optimalTilingFeatu… in getRenderTargetFormat() 66 vk.getPhysicalDeviceFormatProperties(device, VK_FORMAT_R8G8B8A8_UNORM, &formatProperties); in getRenderTargetFormat() 68 …if ((formatProperties.linearTilingFeatures & featureFlags) || formatProperties.optimalTilingFeatur… in getRenderTargetFormat() 104 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(vki, physical… in drawTriangleTest() local 105 …const VkImageTiling imageTiling = (formatProperties.linearTilingFeatures & VK_FORMAT_F… in drawTriangleTest() 106 …: (formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) ? VK_IMAGE_TIL… in drawTriangleTest() 566 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(vki, physicalDevice… in framebufferCompatibleRenderPassTest() local 567 …const VkImageTiling imageTiling = (formatProperties.linearTilingFeatures & VK_FORMAT_FEATURE… in framebufferCompatibleRenderPassTest() [all …]
|
D | vktApiGranularityTests.cpp | 205 VkFormatProperties formatProperties; in initImages() local 207 it->format, &formatProperties); in initImages() 209 if ((formatProperties.optimalTilingFeatures & (VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT | in initImages()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/ |
D | MemoryServiceZirconHandle.cpp | 64 VkImageFormatProperties2 formatProperties; in SupportsImportMemory() local 65 formatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR; in SupportsImportMemory() 66 formatProperties.pNext = &externalFormatProperties; in SupportsImportMemory() 69 ToBackend(mDevice->GetAdapter())->GetPhysicalDevice(), &formatInfo, &formatProperties); in SupportsImportMemory()
|
D | MemoryServiceOpaqueFD.cpp | 64 VkImageFormatProperties2 formatProperties; in SupportsImportMemory() local 65 formatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR; in SupportsImportMemory() 66 formatProperties.pNext = &externalFormatProperties; in SupportsImportMemory() 69 ToBackend(mDevice->GetAdapter())->GetPhysicalDevice(), &formatInfo, &formatProperties)); in SupportsImportMemory()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | VulkanFormatTablesTest.cpp | 74 VkFormatProperties formatProperties; in TEST_P() local 76 vkFormat.vkImageFormat, &formatProperties); in TEST_P() 91 bool isFilterable = (formatProperties.optimalTilingFeatures & in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | VulkanFormatTablesTest.cpp | 77 VkFormatProperties formatProperties; in TEST_P() local 79 &formatProperties); in TEST_P() 94 bool isFilterable = (formatProperties.optimalTilingFeatures & in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDeviceMemoryExternalAndroid.cpp | 150 VkFormatProperties formatProperties; in GetVkFormatFeaturesFromAHBFormat() local 151 vk::PhysicalDevice::GetFormatProperties(vk::Format(format), &formatProperties); in GetVkFormatFeaturesFromAHBFormat() 153 formatProperties.optimalTilingFeatures |= VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT; in GetVkFormatFeaturesFromAHBFormat() 158 features |= formatProperties.linearTilingFeatures | in GetVkFormatFeaturesFromAHBFormat() 159 formatProperties.optimalTilingFeatures | in GetVkFormatFeaturesFromAHBFormat() 160 formatProperties.bufferFeatures; in GetVkFormatFeaturesFromAHBFormat()
|
/third_party/skia/tools/gpu/vk/ |
D | VkYcbcrSamplerHelper.cpp | 57 VkFormatProperties formatProperties; in createBackendTexture() local 61 &formatProperties)); in createBackendTexture() 62 if (!(formatProperties.linearTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) { in createBackendTexture() 187 formatProperties.linearTilingFeatures}; in createBackendTexture()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_formats.c | 251 &pFormatProperties->formatProperties); in v3dv_GetPhysicalDeviceFormatProperties2() 259 if (pFormatProperties->formatProperties.linearTilingFeatures) { in v3dv_GetPhysicalDeviceFormatProperties2() 264 pFormatProperties->formatProperties.linearTilingFeatures; in v3dv_GetPhysicalDeviceFormatProperties2() 267 if (pFormatProperties->formatProperties.optimalTilingFeatures) { in v3dv_GetPhysicalDeviceFormatProperties2() 272 pFormatProperties->formatProperties.optimalTilingFeatures; in v3dv_GetPhysicalDeviceFormatProperties2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers/ |
D | vktModifiersTests.cpp | 89 VkFormatProperties2 formatProperties; in getDrmFormatModifiers() local 90 deMemset(&formatProperties, 0, sizeof(formatProperties)); in getDrmFormatModifiers() 93 formatProperties.sType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2; in getDrmFormatModifiers() 94 formatProperties.pNext = &modifierProperties; in getDrmFormatModifiers() 96 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers() 101 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryRequirementsTests.cpp | 1160 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physDevice, inf… in isImageSupported() local 1161 …ureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingF… in isImageSupported() 1162 : formatProperties.optimalTilingFeatures); in isImageSupported() 1788 …heck(sparseRequirementsFromCreateInfo.formatProperties.aspectMask == sparseRequirementsFromObject.… in verifyMemoryRequirements() 1791 …t.check(sparseRequirementsFromCreateInfo.formatProperties.flags == sparseRequirementsFromObject.fo… in verifyMemoryRequirements() 1794 …parseRequirementsFromCreateInfo.formatProperties.imageGranularity.width == sparseRequirementsFromO… in verifyMemoryRequirements() 1796 …parseRequirementsFromCreateInfo.formatProperties.imageGranularity.height == sparseRequirementsFrom… in verifyMemoryRequirements() 1798 …parseRequirementsFromCreateInfo.formatProperties.imageGranularity.depth == sparseRequirementsFromO… in verifyMemoryRequirements() 1865 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice,… in isMultiplaneImageSupported() local 1866 …ureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingF… in isMultiplaneImageSupported() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/ |
D | DmaBufImageSiblingVkLinux.cpp | 116 VkFormatProperties2 formatProperties = {}; in GetFormatModifierProperties() local 117 formatProperties.sType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2; in GetFormatModifierProperties() 118 formatProperties.pNext = &formatModifierPropertiesList; in GetFormatModifierProperties() 121 &formatProperties); in GetFormatModifierProperties() 128 &formatProperties); in GetFormatModifierProperties()
|
/third_party/flutter/skia/tests/ |
D | VkYcbcrSamplerTest.cpp | 196 VkFormatProperties formatProperties; in createI420Image() local 198 VK_FORMAT_G8_B8R8_2PLANE_420_UNORM, &formatProperties); in createI420Image() 199 if (!(formatProperties.linearTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) { in createI420Image() 317 formatProperties.linearTilingFeatures); in createI420Image()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleBase.cpp | 98 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(instance, physicalDe… in validateImageFeatureFlags() local 100 if ((formatProperties.optimalTilingFeatures & featureFlags) != featureFlags) in validateImageFeatureFlags()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageSparseResidency.cpp | 262 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(instance, physicalDe… in checkSupport() local 263 if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT) == 0) in checkSupport() 432 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() 473 …if (!(aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && as… in iterate() 488 …if (!(metadataAspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BI… in iterate() 502 …if ((aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && asp… in iterate() 518 …if ((metadataAspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT… in iterate() 792 …VkExtent3D compatibleImageGranularity { aspectRequirements.formatProperties.imageGranularity.… in iterate() 793 … aspectRequirements.formatProperties.imageGranularity.height / formatDescription.blockHeight, in iterate() 794 aspectRequirements.formatProperties.imageGranularity.depth / 1u }; in iterate()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 275 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() 295 …if (!(aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && as… in iterate() 310 …if (!(metadataAspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BI… in iterate() 324 …if ((aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && asp… in iterate() 340 … if (metadataAspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) in iterate()
|
D | vktSparseResourcesImageAlignedMipSize.cpp | 218 imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() 245 else if (aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT) in iterate()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_formats.c | 298 physical_device, format, &pFormatProperties->formatProperties); in tu_GetPhysicalDeviceFormatProperties2() 306 if (pFormatProperties->formatProperties.linearTilingFeatures) { in tu_GetPhysicalDeviceFormatProperties2() 314 if (pFormatProperties->formatProperties.optimalTilingFeatures && in tu_GetPhysicalDeviceFormatProperties2()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_android.c | 622 p->formatFeatures = format_properties.formatProperties.linearTilingFeatures; in get_ahb_buffer_format_properties() 624 p->formatFeatures = format_properties.formatProperties.optimalTilingFeatures; in get_ahb_buffer_format_properties() 698 p->formatFeatures = format_properties.formatProperties.linearTilingFeatures; in get_ahb_buffer_format_properties2() 700 p->formatFeatures = format_properties.formatProperties.optimalTilingFeatures; in get_ahb_buffer_format_properties2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 210 const VkFormatProperties3KHR formatProperties = context.getFormatProperties(testParameters.format); in checkTextureSupport() local 211 …if (!(formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_… in checkTextureSupport() 422 const VkFormatProperties3KHR formatProperties = context.getFormatProperties(testParameters.format); in checkTextureSupport() local 423 …if (!(formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_… in checkTextureSupport() 648 const VkFormatProperties3KHR formatProperties = context.getFormatProperties(testParameters.format); in checkTextureSupport() local 649 …if (!(formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_… in checkTextureSupport() 866 const VkFormatProperties3KHR formatProperties = context.getFormatProperties(testParameters.format); in checkTextureSupport() local 867 …if (!(formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_… in checkTextureSupport() 1077 const VkFormatProperties3KHR formatProperties = context.getFormatProperties(testParameters.format); in checkTextureSupport() local 1078 …if (!(formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_… in checkTextureSupport() [all …]
|
D | vktTextureConversionTests.cpp | 261 VkFormatProperties formatProperties; in checkSupport() local 266 &formatProperties); in checkSupport() 268 if (!(formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT)) in checkSupport()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrFilteringTests.cpp | 382 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(instInt, physicalD… in iterate() local 383 const VkFormatFeatureFlags featureFlags (formatProperties.optimalTilingFeatures); in iterate() 600 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(instInt, physicalDev… in checkSupport() local 601 const VkFormatFeatureFlags featureFlags = formatProperties.optimalTilingFeatures; in checkSupport()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateRSTests.cpp | 115 vk::VkFormatProperties formatProperties; in initialize() local 117 …ormatProperties(m_context.getPhysicalDevice(), vk::VK_FORMAT_D24_UNORM_S8_UINT, &formatProperties); in initialize() 118 if (formatProperties.optimalTilingFeatures & vk::VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) in initialize() 125 …rmatProperties(m_context.getPhysicalDevice(), vk::VK_FORMAT_D32_SFLOAT_S8_UINT, &formatProperties); in initialize() 126 if (formatProperties.optimalTilingFeatures & vk::VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) in initialize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessExtsTests.cpp | 367 VkFormatProperties formatProperties; in checkSupport() local 368 …i.getPhysicalDeviceFormatProperties(context.getPhysicalDevice(), m_data.format, &formatProperties); in checkSupport() 373 …if ((formatProperties.bufferFeatures & VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT) != VK_FORMAT_FE… in checkSupport() 377 …if ((formatProperties.bufferFeatures & VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT) != VK_FORMAT_FE… in checkSupport() 381 …if ((formatProperties.bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT) != VK_FORMAT_FEATURE_V… in checkSupport() 385 …if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT) != VK_FORMAT_FE… in checkSupport() 393 …if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT) != VK_FORMAT_FE… in checkSupport() 461 const VkFormatProperties3KHR formatProperties = context.getFormatProperties(m_data.format); in checkSupport() local 462 …if (!(formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT… in checkSupport() 464 …if (!(formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BI… in checkSupport()
|