Home
last modified time | relevance | path

Searched refs:imageFormatProperties (Results 1 – 25 of 140) sorted by relevance

123456

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/
DDmaBufImageSiblingVkLinux.cpp386 VkImageFormatProperties2 imageFormatProperties = {}; in initImpl() local
387 imageFormatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in initImpl()
388 imageFormatProperties.pNext = &externalFormatProperties; in initImpl()
391 &imageFormatProperties)) in initImpl()
396 &imageFormatProperties)) in initImpl()
402 &imageFormatProperties)) in initImpl()
412 imageFormatProperties.imageFormatProperties.maxExtent.width; in initImpl()
414 imageFormatProperties.imageFormatProperties.maxExtent.height; in initImpl()
416 (imageFormatProperties.imageFormatProperties.sampleCounts & VK_SAMPLE_COUNT_1_BIT) != 0; in initImpl()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
DvktYCbCrImageQueryTests.cpp447 VkImageFormatProperties2 imageFormatProperties = {}; in testImageQuery() local
448 imageFormatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in testImageQuery()
449 imageFormatProperties.pNext = &samplerYcbcrConversionImage; in testImageQuery()
451 …viceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties)); in testImageQuery()
630 VkImageFormatProperties2 imageFormatProperties = {}; in testImageQueryLod() local
631 imageFormatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in testImageQueryLod()
632 imageFormatProperties.pNext = &samplerYcbcrConversionImage; in testImageQueryLod()
634 …viceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties)); in testImageQueryLod()
DvktYCbCrViewTests.cpp585 VkImageFormatProperties2 imageFormatProperties = {}; in testPlaneView() local
586 imageFormatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in testPlaneView()
587 imageFormatProperties.pNext = &samplerYcbcrConversionImage; in testPlaneView()
589 …eviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties); in testPlaneView()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrImageQueryTests.cpp447 VkImageFormatProperties2 imageFormatProperties = {}; in testImageQuery() local
448 imageFormatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in testImageQuery()
449 imageFormatProperties.pNext = &samplerYcbcrConversionImage; in testImageQuery()
451 …viceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties)); in testImageQuery()
630 VkImageFormatProperties2 imageFormatProperties = {}; in testImageQueryLod() local
631 imageFormatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in testImageQueryLod()
632 imageFormatProperties.pNext = &samplerYcbcrConversionImage; in testImageQueryLod()
634 …viceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties)); in testImageQueryLod()
DvktYCbCrViewTests.cpp585 VkImageFormatProperties2 imageFormatProperties = {}; in testPlaneView() local
586 imageFormatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in testPlaneView()
587 imageFormatProperties.pNext = &samplerYcbcrConversionImage; in testPlaneView()
589 …eviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties); in testPlaneView()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesImageAlignedMipSize.cpp178 VkImageFormatProperties imageFormatProperties; in iterate() local
186 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
191 …imageCreateInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
DvktSparseResourcesImageBlockShapes.cpp181 VkImageFormatProperties imageFormatProperties; in iterate() local
189 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
194 if (!(imageFormatProperties.sampleCounts & imageCreateInfo.samples)) in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp260 VkImageFormatProperties imageFormatProperties; in iterate() local
267 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
272 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
836 VkImageFormatProperties imageFormatProperties; in initPrograms() local
837 imageFormatProperties.maxMipLevels = 20; in initPrograms()
838 …32 mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, layerExte… in initPrograms()
DvktSparseResourcesShaderIntrinsicsBase.cpp474 VkImageFormatProperties imageFormatProperties; in iterate() local
481 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
486 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
723 VkImageFormatProperties imageFormatProperties; in iterate() local
730 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageAlignedMipSize.cpp178 VkImageFormatProperties imageFormatProperties; in iterate() local
186 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
191 …imageCreateInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
DvktSparseResourcesImageBlockShapes.cpp181 VkImageFormatProperties imageFormatProperties; in iterate() local
189 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
194 if (!(imageFormatProperties.sampleCounts & imageCreateInfo.samples)) in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp260 VkImageFormatProperties imageFormatProperties; in iterate() local
267 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
272 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
836 VkImageFormatProperties imageFormatProperties; in initPrograms() local
837 imageFormatProperties.maxMipLevels = 20; in initPrograms()
838 …32 mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, layerExte… in initPrograms()
DvktSparseResourcesShaderIntrinsicsBase.cpp474 VkImageFormatProperties imageFormatProperties; in iterate() local
481 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
486 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
723 VkImageFormatProperties imageFormatProperties; in iterate() local
730 &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in iterate()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_device.c851 … properties->imageFormatProperties.maxMipLevels = dzn_physical_device_get_max_mip_level(is_3d) + 1; in dzn_physical_device_get_image_format_properties()
853 properties->imageFormatProperties.maxMipLevels = 1; in dzn_physical_device_get_image_format_properties()
856 properties->imageFormatProperties.maxArrayLayers = dzn_physical_device_get_max_array_layers(); in dzn_physical_device_get_image_format_properties()
858 properties->imageFormatProperties.maxArrayLayers = 1; in dzn_physical_device_get_image_format_properties()
862 properties->imageFormatProperties.maxExtent.width = max_extent; in dzn_physical_device_get_image_format_properties()
863 properties->imageFormatProperties.maxExtent.height = 1; in dzn_physical_device_get_image_format_properties()
864 properties->imageFormatProperties.maxExtent.depth = 1; in dzn_physical_device_get_image_format_properties()
867 properties->imageFormatProperties.maxExtent.width = max_extent; in dzn_physical_device_get_image_format_properties()
868 properties->imageFormatProperties.maxExtent.height = max_extent; in dzn_physical_device_get_image_format_properties()
869 properties->imageFormatProperties.maxExtent.depth = 1; in dzn_physical_device_get_image_format_properties()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DvktVideoTestUtils.cpp622 VkImageFormatProperties2 imageFormatProperties = {}; in validateVideoProfileList() local
623 imageFormatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in validateVideoProfileList()
624 imageFormatProperties.pNext = DE_NULL; in validateVideoProfileList()
626 ….getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageFormatProperties); in validateVideoProfileList()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DvktVideoTestUtils.cpp622 VkImageFormatProperties2 imageFormatProperties = {}; in validateVideoProfileList() local
623 imageFormatProperties.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in validateVideoProfileList()
624 imageFormatProperties.pNext = DE_NULL; in validateVideoProfileList()
626 ….getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageFormatProperties); in validateVideoProfileList()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp369 VkImageFormatProperties imageFormatProperties; in createImage() local
371 usage, 0u, &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in createImage()
375 if (imageFormatProperties.sampleCounts < sampleCount) in createImage()
379 if (imageFormatProperties.maxArrayLayers < m_config.imageLayers) in createImage()
394 if (imageFormatProperties.maxExtent.width < imageExtent.width in createImage()
395 || imageFormatProperties.maxExtent.height < imageExtent.height in createImage()
396 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0) in createImage()
397 || imageFormatProperties.maxArrayLayers < m_config.imageLayers) in createImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp369 VkImageFormatProperties imageFormatProperties; in createImage() local
371 usage, 0u, &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in createImage()
375 if (imageFormatProperties.sampleCounts < sampleCount) in createImage()
379 if (imageFormatProperties.maxArrayLayers < m_config.imageLayers) in createImage()
394 if (imageFormatProperties.maxExtent.width < imageExtent.width in createImage()
395 || imageFormatProperties.maxExtent.height < imageExtent.height in createImage()
396 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0) in createImage()
397 || imageFormatProperties.maxArrayLayers < m_config.imageLayers) in createImage()
/third_party/vulkan-loader/tests/
Dloader_phys_dev_inst_ext_tests.cpp926 ASSERT_EQ(props.maxExtent.width, props2.imageFormatProperties.maxExtent.width); in TEST()
927 ASSERT_EQ(props.maxExtent.height, props2.imageFormatProperties.maxExtent.height); in TEST()
928 ASSERT_EQ(props.maxExtent.depth, props2.imageFormatProperties.maxExtent.depth); in TEST()
929 ASSERT_EQ(props.maxMipLevels, props2.imageFormatProperties.maxMipLevels); in TEST()
930 ASSERT_EQ(props.maxArrayLayers, props2.imageFormatProperties.maxArrayLayers); in TEST()
931 ASSERT_EQ(props.sampleCounts, props2.imageFormatProperties.sampleCounts); in TEST()
932 ASSERT_EQ(props.maxResourceSize, props2.imageFormatProperties.maxResourceSize); in TEST()
977 ASSERT_EQ(props.maxExtent.width, props2.imageFormatProperties.maxExtent.width); in TEST()
978 ASSERT_EQ(props.maxExtent.height, props2.imageFormatProperties.maxExtent.height); in TEST()
979 ASSERT_EQ(props.maxExtent.depth, props2.imageFormatProperties.maxExtent.depth); in TEST()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1178 VkImageFormatProperties imageFormatProperties; in isImageSupported() local
1180 …sDevice, info.format, info.imageType, info.tiling, info.usage, info.flags, &imageFormatProperties); in isImageSupported()
1184 if (info.arrayLayers > imageFormatProperties.maxArrayLayers) in isImageSupported()
1186 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isImageSupported()
1188 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isImageSupported()
1889 VkImageFormatProperties imageFormatProperties; in isMultiplaneImageSupported() local
1891 …lDevice, info.format, info.imageType, info.tiling, info.usage, info.flags, &imageFormatProperties); in isMultiplaneImageSupported()
1895 if (info.arrayLayers > imageFormatProperties.maxArrayLayers) in isMultiplaneImageSupported()
1897 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isMultiplaneImageSupported()
1899 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isMultiplaneImageSupported()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryRequirementsTests.cpp1178 VkImageFormatProperties imageFormatProperties; in isImageSupported() local
1180 …sDevice, info.format, info.imageType, info.tiling, info.usage, info.flags, &imageFormatProperties); in isImageSupported()
1184 if (info.arrayLayers > imageFormatProperties.maxArrayLayers) in isImageSupported()
1186 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isImageSupported()
1188 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isImageSupported()
1889 VkImageFormatProperties imageFormatProperties; in isMultiplaneImageSupported() local
1891 …lDevice, info.format, info.imageType, info.tiling, info.usage, info.flags, &imageFormatProperties); in isMultiplaneImageSupported()
1895 if (info.arrayLayers > imageFormatProperties.maxArrayLayers) in isMultiplaneImageSupported()
1897 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isMultiplaneImageSupported()
1899 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isMultiplaneImageSupported()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_NV_external_memory_capabilities/
Dexternal_image_format.txt31 pname:pExternalImageFormatProperties->imageFormatProperties will return the
46 * pname:imageFormatProperties will be filled in as when calling
Dexternal_image_format.adoc31 pname:pExternalImageFormatProperties->imageFormatProperties will return the
52 * pname:imageFormatProperties will be filled in as when calling
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageAstcDecodeModeTests.cpp412 VkImageFormatProperties imageFormatProperties; in checkSupport() local
415 m_parameters.testedImageUsage, 0u, &imageFormatProperties)) in checkSupport()
420 m_parameters.resultImageUsage, 0u, &imageFormatProperties)) in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageAstcDecodeModeTests.cpp412 VkImageFormatProperties imageFormatProperties; in checkSupport() local
415 m_parameters.testedImageUsage, 0u, &imageFormatProperties)) in checkSupport()
420 m_parameters.resultImageUsage, 0u, &imageFormatProperties)) in checkSupport()

123456