Home
last modified time | relevance | path

Searched refs:formatProperties (Results 1 – 25 of 76) sorted by relevance

1234

/external/angle/src/tests/gl_tests/
DVulkanFormatTablesTest.cpp77 VkFormatProperties formatProperties; in TEST_P() local
79 &formatProperties); in TEST_P()
94 bool isFilterable = (formatProperties.optimalTilingFeatures & in TEST_P()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiPipelineTests.cpp57 VkFormatProperties formatProperties; in getRenderTargetFormat() local
59 vk.getPhysicalDeviceFormatProperties(device, VK_FORMAT_B8G8R8A8_UNORM, &formatProperties); in getRenderTargetFormat()
61 …if ((formatProperties.linearTilingFeatures & featureFlags) || (formatProperties.optimalTilingFeatu… in getRenderTargetFormat()
64 vk.getPhysicalDeviceFormatProperties(device, VK_FORMAT_R8G8B8A8_UNORM, &formatProperties); in getRenderTargetFormat()
66 …if ((formatProperties.linearTilingFeatures & featureFlags) || formatProperties.optimalTilingFeatur… in getRenderTargetFormat()
97 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(vki, physical… in renderpassLifetimeTest() local
98 …const VkImageTiling imageTiling = (formatProperties.linearTilingFeatures & VK_FORMAT_F… in renderpassLifetimeTest()
99 …: (formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) ? VK_IMAGE_TIL… in renderpassLifetimeTest()
508 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(vki, physicalDevice… in framebufferCompatibleRenderPassTest() local
509 …const VkImageTiling imageTiling = (formatProperties.linearTilingFeatures & VK_FORMAT_FEATURE… in framebufferCompatibleRenderPassTest()
[all …]
DvktApiGranularityTests.cpp205 VkFormatProperties formatProperties; in initImages() local
207 it->format, &formatProperties); in initImages()
209 if ((formatProperties.optimalTilingFeatures & (VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT | in initImages()
/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp150 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()
/external/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp57 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()
/external/deqp/external/vulkancts/modules/vulkan/modifiers/
DvktModifiersTests.cpp85 VkFormatProperties2 formatProperties; in getDrmFormatModifiers() local
86 deMemset(&formatProperties, 0, sizeof(formatProperties)); in getDrmFormatModifiers()
89 formatProperties.sType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2; in getDrmFormatModifiers()
90 formatProperties.pNext = &modifierProperties; in getDrmFormatModifiers()
92 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers()
97 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBase.cpp98 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(instance, physicalDe… in validateImageFeatureFlags() local
100 if ((formatProperties.optimalTilingFeatures & featureFlags) != featureFlags) in validateImageFeatureFlags()
DvktPipelineImageUtil.cpp110 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice,… in isLinearFilteringSupported() local
112 ? formatProperties.linearTilingFeatures in isLinearFilteringSupported()
113 : formatProperties.optimalTilingFeatures; in isLinearFilteringSupported()
120 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice,… in isMinMaxFilteringSupported() local
122 ? formatProperties.linearTilingFeatures in isMinMaxFilteringSupported()
123 : formatProperties.optimalTilingFeatures; in isMinMaxFilteringSupported()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp262 …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()
DvktSparseResourcesMipmapSparseResidency.cpp275 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()
DvktSparseResourcesImageAlignedMipSize.cpp218 imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
245 else if (aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT) in iterate()
DvktSparseResourcesTestsUtil.cpp1004 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(instance, physicalDe… in checkImageFormatFeatureSupport() local
1006 return (formatProperties.optimalTilingFeatures & featureFlags) == featureFlags; in checkImageFormatFeatureSupport()
1014 if (requirements[memoryReqNdx].formatProperties.aspectMask & aspectFlags) in getSparseAspectRequirementsIndex()
DvktSparseResourcesShaderIntrinsicsBase.cpp554 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
592 if (aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) in iterate()
626 …const deUint32 metadataBindCount = (metadataAspectRequirements.formatProperties.flags & VK_SPARSE_… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateRSTests.cpp107 vk::VkFormatProperties formatProperties; in initialize() local
109 …ormatProperties(m_context.getPhysicalDevice(), vk::VK_FORMAT_D24_UNORM_S8_UINT, &formatProperties); in initialize()
110 if (formatProperties.optimalTilingFeatures & vk::VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) in initialize()
117 …rmatProperties(m_context.getPhysicalDevice(), vk::VK_FORMAT_D32_SFLOAT_S8_UINT, &formatProperties); in initialize()
118 if (formatProperties.optimalTilingFeatures & vk::VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) in initialize()
DvktDynamicStateDSTests.cpp117 vk::VkFormatProperties formatProperties; in initialize() local
119 …ormatProperties(m_context.getPhysicalDevice(), vk::VK_FORMAT_D24_UNORM_S8_UINT, &formatProperties); in initialize()
120 if (formatProperties.optimalTilingFeatures & vk::VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) in initialize()
127 …rmatProperties(m_context.getPhysicalDevice(), vk::VK_FORMAT_D32_SFLOAT_S8_UINT, &formatProperties); in initialize()
128 if (formatProperties.optimalTilingFeatures & vk::VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) in initialize()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFilteringTests.cpp382 …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()
DvktYCbCrStorageImageWriteTests.cpp90 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(context.getInstanceI… in checkSupport() local
94 if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT) == 0) in checkSupport()
97 if (disjoint && ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_DISJOINT_BIT) == 0)) in checkSupport()
DvktYCbCrViewTests.cpp354 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(context.getInstanceI… in checkImageUsageSupport() local
357 const VkFormatFeatureFlags featureFlags = formatProperties.optimalTilingFeatures; in checkImageUsageSupport()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c531 &pFormatProperties->formatProperties); in v3dv_GetPhysicalDeviceFormatProperties2()
539 if (pFormatProperties->formatProperties.linearTilingFeatures) { in v3dv_GetPhysicalDeviceFormatProperties2()
545 if (pFormatProperties->formatProperties.optimalTilingFeatures) { in v3dv_GetPhysicalDeviceFormatProperties2()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp964 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physDevice, inf… in isImageSupported() local
965 …ureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingF… in isImageSupported()
966 : formatProperties.optimalTilingFeatures); in isImageSupported()
1535 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice,… in isMultiplaneImageSupported() local
1536 …ureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingF… in isMultiplaneImageSupported()
1537 : formatProperties.optimalTilingFeatures); in isMultiplaneImageSupported()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp482 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(context.getInstanceIn… in checkSupport() local
490 …if ((m_texture.type() != IMAGE_TYPE_BUFFER) && !(formatProperties.optimalTilingFeatures & VK_FORMA… in checkSupport()
493 …if (m_texture.type() == IMAGE_TYPE_BUFFER && !(formatProperties.bufferFeatures & VK_FORMAT_FEATURE… in checkSupport()
1080 …const vk::VkFormatProperties formatProperties (vk::getPhysicalDeviceFormatProperties(context.getIn… in checkSupport() local
1095 …if ((m_texture.type() != IMAGE_TYPE_BUFFER) && !(formatProperties.optimalTilingFeatures & VK_FORMA… in checkSupport()
1098 …if (m_texture.type() == IMAGE_TYPE_BUFFER && !(formatProperties.bufferFeatures & VK_FORMAT_FEATURE… in checkSupport()
1119 …if (m_texture.type() == IMAGE_TYPE_BUFFER && !(formatProperties.bufferFeatures & VK_FORMAT_FEATURE… in checkSupport()
1122 …if (m_bufferLoadUniform && m_texture.type() == IMAGE_TYPE_BUFFER && !(formatProperties.bufferFeatu… in checkSupport()
2171 …const vk::VkFormatProperties formatProperties (vk::getPhysicalDeviceFormatProperties(context.getIn… in checkSupport() local
2178 …if ((m_texture.type() != IMAGE_TYPE_BUFFER) && !(formatProperties.optimalTilingFeatures & VK_FORMA… in checkSupport()
[all …]
DvktImageMismatchedFormatsTests.cpp278 …VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice, m_for… in checkSupport() local
280 if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT) == 0) in checkSupport()
/external/mesa3d/src/freedreno/vulkan/
Dtu_formats.c486 physical_device, format, &pFormatProperties->formatProperties); in tu_GetPhysicalDeviceFormatProperties2()
494 if (pFormatProperties->formatProperties.linearTilingFeatures) { in tu_GetPhysicalDeviceFormatProperties2()
502 if (pFormatProperties->formatProperties.optimalTilingFeatures && in tu_GetPhysicalDeviceFormatProperties2()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp316 VkFormatProperties formatProperties; in BuiltinFragDepthCaseInstance() local
330formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice, VK_FORMAT_R8G8B8A8_UINT); in BuiltinFragDepthCaseInstance()
332 if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT) == 0) in BuiltinFragDepthCaseInstance()
1045 VkFormatProperties formatProperties; in BuiltinFragCoordMsaaCaseInstance() local
1059formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice, VK_FORMAT_R32G32B32A32_S… in BuiltinFragCoordMsaaCaseInstance()
1061 if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT) == 0) in BuiltinFragCoordMsaaCaseInstance()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessExtsTests.cpp366 VkFormatProperties formatProperties; in checkSupport() local
367 …i.getPhysicalDeviceFormatProperties(context.getPhysicalDevice(), m_data.format, &formatProperties); in checkSupport()
372 …if ((formatProperties.bufferFeatures & VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT) != VK_FORMAT_FE… in checkSupport()
376 …if ((formatProperties.bufferFeatures & VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT) != VK_FORMAT_FE… in checkSupport()
380 …if ((formatProperties.bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT) != VK_FORMAT_FEATURE_V… in checkSupport()
384 …if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT) != VK_FORMAT_FE… in checkSupport()
392 …if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT) != VK_FORMAT_FE… in checkSupport()

1234