/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiFormatPropertiesExtendedKHRtests.cpp | 61 const VkFormatProperties3 formatProperties (context.getFormatProperties(format)); in test() local 64 checkFlags(formatProperties.bufferFeatures, requiredProperties.bufferFeatures, "Buffer features"); in test() 65 …checkFlags(formatProperties.linearTilingFeatures, requiredProperties.linearTilingFeatures, "Linear… in test() 66 …checkFlags(formatProperties.optimalTilingFeatures, requiredProperties.optimalTilingFeatures, "Opti… 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiFormatPropertiesExtendedKHRtests.cpp | 61 const VkFormatProperties3 formatProperties (context.getFormatProperties(format)); in test() local 64 checkFlags(formatProperties.bufferFeatures, requiredProperties.bufferFeatures, "Buffer features"); in test() 65 …checkFlags(formatProperties.linearTilingFeatures, requiredProperties.linearTilingFeatures, "Linear… in test() 66 …checkFlags(formatProperties.optimalTilingFeatures, requiredProperties.optimalTilingFeatures, "Opti… 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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageExtendedUsageBitTests.cpp | 143 VkImageFormatProperties formatProperties; in getPhysicalDeviceImageFormatProperties() local 144 …ageFormatProperties(device, viewFormat, VK_IMAGE_TYPE_2D, tiling, usage, flags, &formatProperties); in getPhysicalDeviceImageFormatProperties() 212 VkFormatProperties formatProperties; in checkSupport() local 213 …PhysicalDeviceFormatProperties(context.getPhysicalDevice(), params.imageFormat, &formatProperties); in checkSupport() 215 if (params.tiling == vk::VK_IMAGE_TILING_OPTIMAL && formatProperties.optimalTilingFeatures == 0) in checkSupport() 218 if (params.tiling == vk::VK_IMAGE_TILING_LINEAR && formatProperties.linearTilingFeatures == 0) in checkSupport()
|
D | vktImageLoadStoreTests.cpp | 525 const VkFormatProperties3 formatProperties (context.getFormatProperties(m_format)); in checkSupport() local 527 …s = (m_tiling == vk::VK_IMAGE_TILING_OPTIMAL) ? formatProperties.optimalTilingFeatures : formatPro… in checkSupport() 529 …if (!m_declareImageFormatInShader && !(formatProperties.bufferFeatures & VK_FORMAT_FEATURE_2_STORA… in checkSupport() 541 …if (m_texture.type() == IMAGE_TYPE_BUFFER && !(formatProperties.bufferFeatures & VK_FORMAT_FEATURE… in checkSupport() 544 …const VkFormatProperties formatProperties(getPhysicalDeviceFormatProperties(context.getInstanceInt… in checkSupport() 545 …s = (m_tiling == vk::VK_IMAGE_TILING_OPTIMAL) ? formatProperties.optimalTilingFeatures : formatPro… in checkSupport() 556 …if (m_texture.type() == IMAGE_TYPE_BUFFER && !(formatProperties.bufferFeatures & VK_FORMAT_FEATURE… in checkSupport() 1203 const VkFormatProperties3 formatProperties (context.getFormatProperties(m_format)); in checkSupport() local 1206 …s = (m_tiling == vk::VK_IMAGE_TILING_OPTIMAL) ? formatProperties.optimalTilingFeatures : formatPro… in checkSupport() 1214 …if (m_texture.type() == IMAGE_TYPE_BUFFER && !m_declareImageFormatInShader && !(formatProperties.b… in checkSupport() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageExtendedUsageBitTests.cpp | 143 VkImageFormatProperties formatProperties; in getPhysicalDeviceImageFormatProperties() local 144 …ageFormatProperties(device, viewFormat, VK_IMAGE_TYPE_2D, tiling, usage, flags, &formatProperties); in getPhysicalDeviceImageFormatProperties() 212 VkFormatProperties formatProperties; in checkSupport() local 213 …PhysicalDeviceFormatProperties(context.getPhysicalDevice(), params.imageFormat, &formatProperties); in checkSupport() 215 if (params.tiling == vk::VK_IMAGE_TILING_OPTIMAL && formatProperties.optimalTilingFeatures == 0) in checkSupport() 218 if (params.tiling == vk::VK_IMAGE_TILING_LINEAR && formatProperties.linearTilingFeatures == 0) in checkSupport()
|
D | vktImageLoadStoreTests.cpp | 525 const VkFormatProperties3 formatProperties (context.getFormatProperties(m_format)); in checkSupport() local 527 …s = (m_tiling == vk::VK_IMAGE_TILING_OPTIMAL) ? formatProperties.optimalTilingFeatures : formatPro… in checkSupport() 529 …if (!m_declareImageFormatInShader && !(formatProperties.bufferFeatures & VK_FORMAT_FEATURE_2_STORA… in checkSupport() 541 …if (m_texture.type() == IMAGE_TYPE_BUFFER && !(formatProperties.bufferFeatures & VK_FORMAT_FEATURE… in checkSupport() 544 …const VkFormatProperties formatProperties(getPhysicalDeviceFormatProperties(context.getInstanceInt… in checkSupport() 545 …s = (m_tiling == vk::VK_IMAGE_TILING_OPTIMAL) ? formatProperties.optimalTilingFeatures : formatPro… in checkSupport() 556 …if (m_texture.type() == IMAGE_TYPE_BUFFER && !(formatProperties.bufferFeatures & VK_FORMAT_FEATURE… in checkSupport() 1203 const VkFormatProperties3 formatProperties (context.getFormatProperties(m_format)); in checkSupport() local 1206 …s = (m_tiling == vk::VK_IMAGE_TILING_OPTIMAL) ? formatProperties.optimalTilingFeatures : formatPro… in checkSupport() 1214 …if (m_texture.type() == IMAGE_TYPE_BUFFER && !m_declareImageFormatInShader && !(formatProperties.b… in checkSupport() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/ |
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()
|
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()
|
/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 | 292 pFormatProperties->formatProperties = (VkFormatProperties) { in v3dv_GetPhysicalDeviceFormatProperties2() 305 if (pFormatProperties->formatProperties.linearTilingFeatures) { in v3dv_GetPhysicalDeviceFormatProperties2() 311 pFormatProperties->formatProperties.linearTilingFeatures; in v3dv_GetPhysicalDeviceFormatProperties2() 314 if (pFormatProperties->formatProperties.optimalTilingFeatures) { in v3dv_GetPhysicalDeviceFormatProperties2() 320 pFormatProperties->formatProperties.optimalTilingFeatures; in v3dv_GetPhysicalDeviceFormatProperties2()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_formats.c | 307 pFormatProperties->formatProperties = (VkFormatProperties) { in tu_GetPhysicalDeviceFormatProperties2() 320 if (pFormatProperties->formatProperties.linearTilingFeatures) { in tu_GetPhysicalDeviceFormatProperties2() 325 pFormatProperties->formatProperties.linearTilingFeatures; in tu_GetPhysicalDeviceFormatProperties2() 330 if (pFormatProperties->formatProperties.optimalTilingFeatures && in tu_GetPhysicalDeviceFormatProperties2() 337 pFormatProperties->formatProperties.optimalTilingFeatures; in tu_GetPhysicalDeviceFormatProperties2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryRequirementsTests.cpp | 1171 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physDevice, inf… in isImageSupported() local 1172 …ureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingF… in isImageSupported() 1173 : formatProperties.optimalTilingFeatures); in isImageSupported() 1804 …heck(sparseRequirementsFromCreateInfo.formatProperties.aspectMask == sparseRequirementsFromObject.… in verifyMemoryRequirements() 1807 …t.check(sparseRequirementsFromCreateInfo.formatProperties.flags == sparseRequirementsFromObject.fo… in verifyMemoryRequirements() 1810 …parseRequirementsFromCreateInfo.formatProperties.imageGranularity.width == sparseRequirementsFromO… in verifyMemoryRequirements() 1812 …parseRequirementsFromCreateInfo.formatProperties.imageGranularity.height == sparseRequirementsFrom… in verifyMemoryRequirements() 1814 …parseRequirementsFromCreateInfo.formatProperties.imageGranularity.depth == sparseRequirementsFromO… in verifyMemoryRequirements() 1882 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice,… in isMultiplaneImageSupported() local 1883 …ureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingF… in isMultiplaneImageSupported() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
D | vktMemoryRequirementsTests.cpp | 1171 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physDevice, inf… in isImageSupported() local 1172 …ureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingF… in isImageSupported() 1173 : formatProperties.optimalTilingFeatures); in isImageSupported() 1804 …heck(sparseRequirementsFromCreateInfo.formatProperties.aspectMask == sparseRequirementsFromObject.… in verifyMemoryRequirements() 1807 …t.check(sparseRequirementsFromCreateInfo.formatProperties.flags == sparseRequirementsFromObject.fo… in verifyMemoryRequirements() 1810 …parseRequirementsFromCreateInfo.formatProperties.imageGranularity.width == sparseRequirementsFromO… in verifyMemoryRequirements() 1812 …parseRequirementsFromCreateInfo.formatProperties.imageGranularity.height == sparseRequirementsFrom… in verifyMemoryRequirements() 1814 …parseRequirementsFromCreateInfo.formatProperties.imageGranularity.depth == sparseRequirementsFromO… in verifyMemoryRequirements() 1882 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice,… in isMultiplaneImageSupported() local 1883 …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/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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/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/modifiers/ |
D | vktModifiersTests.cpp | 105 VkFormatProperties2 formatProperties; in getDrmFormatModifiers() local 106 deMemset(&formatProperties, 0, sizeof(formatProperties)); in getDrmFormatModifiers() 109 formatProperties.sType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2; in getDrmFormatModifiers() 110 formatProperties.pNext = &modifierProperties; in getDrmFormatModifiers() 112 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers() 117 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/modifiers/ |
D | vktModifiersTests.cpp | 105 VkFormatProperties2 formatProperties; in getDrmFormatModifiers() local 106 deMemset(&formatProperties, 0, sizeof(formatProperties)); in getDrmFormatModifiers() 109 formatProperties.sType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2; in getDrmFormatModifiers() 110 formatProperties.pNext = &modifierProperties; in getDrmFormatModifiers() 112 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers() 117 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers()
|