Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiPipelineTests.cpp50 VkFormatProperties formatProperties; in getRenderTargetFormat() local
52 vk.getPhysicalDeviceFormatProperties(device, VK_FORMAT_B8G8R8A8_UNORM, &formatProperties); in getRenderTargetFormat()
54 …if (formatProperties.linearTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT || formatProper… in getRenderTargetFormat()
57 vk.getPhysicalDeviceFormatProperties(device, VK_FORMAT_R8G8B8A8_UNORM, &formatProperties); in getRenderTargetFormat()
59 …if (formatProperties.linearTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT || formatProper… in getRenderTargetFormat()
90 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(vki, physical… in renderpassLifetimeTest() local
91 …const VkImageTiling imageTiling = (formatProperties.linearTilingFeatures & VK_FORMAT_F… in renderpassLifetimeTest()
92 …: (formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) ? VK_IMAGE_TIL… in renderpassLifetimeTest()
527 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(vki, physicalDevice… in framebufferCompatibleRenderPassTest() local
528 …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()
DvktApiFeatureInfo.cpp1925 tcu::TestStatus formatProperties (Context& context, VkFormat format) in formatProperties() function
2303 { (VkFormat)(VK_FORMAT_UNDEFINED+1), VK_CORE_FORMAT_LAST, formatProperties }, in createFormatTests()
2423 const VkFormatProperties& formatProperties, in isRequiredImageParameterCombination() argument
2430 DE_UNREF(formatProperties); in isRequiredImageParameterCombination()
2585 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(context.getInstance… in imageFormatProperties() local
2588 …edFeatures = tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingFeatures : formatProp… in imageFormatProperties()
2625 formatProperties, in imageFormatProperties()
3349 …s << "\tlinearTilingFeatures = " << getFormatFeatureFlagsStr(value.formatProperties.linearTilingFe… in toString()
3350 …s << "\toptimalTilingFeatures = " << getFormatFeatureFlagsStr(value.formatProperties.optimalTiling… in toString()
3351 …s << "\tbufferFeatures = " << getFormatFeatureFlagsStr(value.formatProperties.bufferFeatures) << '… in toString()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesMipmapSparseResidency.cpp225 const VkImageAspectFlags aspectMask = aspectRequirements.formatProperties.aspectMask; in iterate()
226 const VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
269 …if (!(aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && as… in iterate()
284 …if (!(metadataAspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BI… in iterate()
298 …if ((aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && asp… in iterate()
313 … if (metadataAspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) in iterate()
DvktSparseResourcesImageBlockShapes.cpp166 …const VkImageFormatProperties formatProperties = getPhysicalDeviceImageFormatProperties(instance, … in iterate() local
168 if (!(formatProperties.sampleCounts & imageCreateInfo.samples)) in iterate()
199 imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
DvktSparseResourcesImageSparseResidency.cpp288 imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
290 const VkImageAspectFlags aspectMask = aspectRequirements.formatProperties.aspectMask; in iterate()
356 …if (!(aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && as… in iterate()
371 …if (!(metadataAspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BI… in iterate()
385 …if ((aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && asp… in iterate()
400 …if ((metadataAspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT… in iterate()
DvktSparseResourcesShaderIntrinsicsBase.cpp314 const VkImageAspectFlags aspectMask = aspectRequirements.formatProperties.aspectMask; in iterate()
315 const VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
362 if (aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) in iterate()
395 …const deUint32 metadataBindCount = (metadataAspectRequirements.formatProperties.flags & VK_SPARSE_… in iterate()
DvktSparseResourcesImageAlignedMipSize.cpp187 imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
214 else if (aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT) in iterate()
DvktSparseResourcesTestsUtil.cpp826 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(instance, physicalDe… in checkImageFormatFeatureSupport() local
828 return (formatProperties.optimalTilingFeatures & featureFlags) == featureFlags; in checkImageFormatFeatureSupport()
836 if (requirements[memoryReqNdx].formatProperties.aspectMask & aspectFlags) in getSparseAspectRequirementsIndex()
DvktSparseResourcesImageMemoryAliasing.cpp287 const VkImageAspectFlags aspectMask = aspectRequirements.formatProperties.aspectMask; in iterate()
288 const VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
329 …if (!(aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && as… in iterate()
347 …if ((aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && asp… in iterate()
/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.cpp109 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice,… in isLinearFilteringSupported() local
111 ? formatProperties.linearTilingFeatures in isLinearFilteringSupported()
112 : formatProperties.optimalTilingFeatures; in isLinearFilteringSupported()
119 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice,… in isMinMaxFilteringSupported() local
121 ? formatProperties.linearTilingFeatures in isMinMaxFilteringSupported()
122 : formatProperties.optimalTilingFeatures; in isMinMaxFilteringSupported()
DvktPipelineImageSamplingInstance.cpp304 …const VkImageFormatProperties formatProperties = getPhysicalDeviceImageFormatProperties(context.ge… in ImageSamplingInstance() local
312 if (formatProperties.maxExtent.width == 0 && in ImageSamplingInstance()
313 formatProperties.maxExtent.height == 0 && in ImageSamplingInstance()
314 formatProperties.maxExtent.depth == 0) in ImageSamplingInstance()
/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/memory/
DvktMemoryRequirementsTests.cpp1016 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physDevice, inf… in isImageSupported() local
1017 …ureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingF… in isImageSupported()
1018 : formatProperties.optimalTilingFeatures); in isImageSupported()
1604 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice,… in isMultiplaneImageSupported() local
1605 …ureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProperties.linearTilingF… in isMultiplaneImageSupported()
1606 : formatProperties.optimalTilingFeatures); in isMultiplaneImageSupported()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp303 VkFormatProperties formatProperties; in BuiltinFragDepthCaseInstance() local
314formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice, VK_FORMAT_R8G8B8A8_UINT); in BuiltinFragDepthCaseInstance()
316 if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT) == 0) in BuiltinFragDepthCaseInstance()
1020 VkFormatProperties formatProperties; in BuiltinFragCoordMsaaCaseInstance() local
1031formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice, VK_FORMAT_R32G32B32A32_S… in BuiltinFragCoordMsaaCaseInstance()
1033 if ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT) == 0) in BuiltinFragCoordMsaaCaseInstance()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrViewTests.cpp443 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(context.getInstanceI… in checkImageUsageSupport() local
446 const VkFormatFeatureFlags featureFlags = formatProperties.optimalTilingFeatures; in checkImageUsageSupport()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp3048 if (sparseImageMemoryRequirements[memoryReqNdx].formatProperties.aspectMask == imageAspectFlags) in allocateAndBindSparseImage()
3058 …if (sparseImageMemoryRequirements[memoryReqNdx].formatProperties.aspectMask & VK_IMAGE_ASPECT_META… in allocateAndBindSparseImage()
3088 const VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in allocateAndBindSparseImage()
3152 …if (layerNdx == 0 || (aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MI… in allocateAndBindSparseImage()
3186 …if (layerNdx == 0 || (metadataAspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_S… in allocateAndBindSparseImage()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp2572 VkFormatProperties formatProperties; in runAndVerifyDefaultPipeline() local
2573 …tProperties(vkPhysicalDevice, instance.interfaces.getInputType().getVkFormat(), &formatProperties); in runAndVerifyDefaultPipeline()
2574 if ((formatProperties.bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT) == 0) in runAndVerifyDefaultPipeline()
2582 …Properties(vkPhysicalDevice, instance.interfaces.getOutputType().getVkFormat(), &formatProperties); in runAndVerifyDefaultPipeline()
2583 if (((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) == 0) || in runAndVerifyDefaultPipeline()
2584 ((formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_TRANSFER_SRC_BIT) == 0)) in runAndVerifyDefaultPipeline()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp241 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(vki, physicalDevice… in createImage() local
251 … && (formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) == 0) in createImage()
255 && (formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) == 0) in createImage()
DvktRenderPassMultisampleTests.cpp228 …const VkFormatProperties formatProperties (getPhysicalDeviceFormatProperties(vki, physicalDevice… in createImage() local
238 … && (formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) == 0) in createImage()
242 && (formatProperties.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) == 0) in createImage()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringExplicitLodTests.cpp948 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(m_context.getInstan… in isSupported() local
955 return (formatProperties.optimalTilingFeatures & reqImFeatures) == reqImFeatures; in isSupported()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp696 …const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(context.getInstance… in BufferAccessInstance() local
703 if ((formatProperties.bufferFeatures & requiredFormatFeatures) != requiredFormatFeatures) in BufferAccessInstance()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationCrossInstanceSharingTests.cpp145 vk::VkImageFormatProperties2 formatProperties = in NotSupportedChecker() local
159 …= vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &formatProperties); in NotSupportedChecker()

12