Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageAlignedMipSize.cpp124 VkImageFormatProperties imageFormatProperties; in iterate() local
155imageFormatProperties = getPhysicalDeviceImageFormatProperties(instance, physicalDevice, imageCrea… in iterate()
157 imageCreateInfo.mipLevels = getImageMaxMipLevels(imageFormatProperties, imageCreateInfo.extent); in iterate()
DvktSparseResourcesImageSparseBinding.cpp182 VkImageFormatProperties imageFormatProperties; in iterate() local
189 &imageFormatProperties); in iterate()
191 imageSparseInfo.mipLevels = getImageMaxMipLevels(imageFormatProperties, imageSparseInfo.extent); in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp181 VkImageFormatProperties imageFormatProperties; in iterate() local
188 &imageFormatProperties); in iterate()
190 imageSparseInfo.mipLevels = getImageMaxMipLevels(imageFormatProperties, imageSparseInfo.extent); in iterate()
DvktSparseResourcesShaderIntrinsicsBase.cpp247 VkImageFormatProperties imageFormatProperties; in iterate() local
254 &imageFormatProperties); in iterate()
256 imageSparseInfo.mipLevels = getImageMaxMipLevels(imageFormatProperties, imageSparseInfo.extent); in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp235 VkImageFormatProperties imageFormatProperties; in iterate() local
242 &imageFormatProperties); in iterate()
244 imageSparseInfo.mipLevels = getImageMaxMipLevels(imageFormatProperties, imageSparseInfo.extent); in iterate()
DvktSparseResourcesTestsUtil.cpp656 deUint32 getImageMaxMipLevels (const VkImageFormatProperties& imageFormatProperties, const VkExtent… in getImageMaxMipLevels() argument
660 …cast<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, imageFormatProperties.maxMipLeve… in getImageMaxMipLevels()
DvktSparseResourcesTestsUtil.hpp120 deUint32 getImageMaxMipLevels (const vk::VkImageFormatProperties& imageFormatProperties,
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp296 VkImageFormatProperties imageFormatProperties; in createImage() local
298 usage, 0u, &imageFormatProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in createImage()
302 if (imageFormatProperties.sampleCounts < sampleCount) in createImage()
306 if (imageFormatProperties.maxArrayLayers < m_config.imageLayers) in createImage()
321 if (imageFormatProperties.maxExtent.width < imageExtent.width in createImage()
322 || imageFormatProperties.maxExtent.height < imageExtent.height in createImage()
323 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0) in createImage()
324 || imageFormatProperties.maxArrayLayers < m_config.imageLayers) in createImage()
DvktRenderPassSampleReadTests.cpp159 …const VkImageFormatProperties imageFormatProperties (getPhysicalDeviceImageFormatProperties(vki, p… in createImage() local
167 if (imageFormatProperties.maxExtent.width < imageExtent.width in createImage()
168 || imageFormatProperties.maxExtent.height < imageExtent.height in createImage()
169 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0)) in createImage()
DvktRenderPassMultisampleResolveTests.cpp242 …const VkImageFormatProperties imageFormatProperties (getPhysicalDeviceImageFormatProperties(vki, p… in createImage() local
258 if (imageFormatProperties.maxExtent.width < imageExtent.width in createImage()
259 || imageFormatProperties.maxExtent.height < imageExtent.height in createImage()
260 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0) in createImage()
261 || imageFormatProperties.maxArrayLayers < layerCount) in createImage()
DvktRenderPassMultisampleTests.cpp229 …const VkImageFormatProperties imageFormatProperties (getPhysicalDeviceImageFormatProperties(vki, p… in createImage() local
245 if (imageFormatProperties.maxExtent.width < imageExtent.width in createImage()
246 || imageFormatProperties.maxExtent.height < imageExtent.height in createImage()
247 || ((imageFormatProperties.sampleCounts & sampleCountBit) == 0)) in createImage()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1023 VkImageFormatProperties imageFormatProperties; in isImageSupported() local
1025 …sDevice, info.format, info.imageType, info.tiling, info.usage, info.flags, &imageFormatProperties); in isImageSupported()
1029 if (info.arrayLayers > imageFormatProperties.maxArrayLayers) in isImageSupported()
1031 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isImageSupported()
1033 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isImageSupported()
1611 VkImageFormatProperties imageFormatProperties; in isMultiplaneImageSupported() local
1613 …lDevice, info.format, info.imageType, info.tiling, info.usage, info.flags, &imageFormatProperties); in isMultiplaneImageSupported()
1617 if (info.arrayLayers > imageFormatProperties.maxArrayLayers) in isMultiplaneImageSupported()
1619 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isMultiplaneImageSupported()
1621 if ((info.samples & imageFormatProperties.sampleCounts) == 0u) in isMultiplaneImageSupported()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp356 deUint32 getImageMaxMipLevels (const VkImageFormatProperties& imageFormatProperties, const VkExtent… in getImageMaxMipLevels() argument
360 …cast<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, imageFormatProperties.maxMipLeve… in getImageMaxMipLevels()
DvktPipelineMultisampleTestsUtil.hpp78 deUint32 getImageMaxMipLevels (const vk::VkImageFormatProperties& imageFormatProperties, const …
DvktPipelineMultisampleImageTests.cpp510 VkImageFormatProperties imageFormatProperties; in checkImageFormatRequirements() local
512 …, VK_IMAGE_TYPE_2D, VK_IMAGE_TILING_OPTIMAL, usage, (VkImageCreateFlags)0, &imageFormatProperties); in checkImageFormatRequirements()
517 if ((imageFormatProperties.sampleCounts & sampleCount) != sampleCount) in checkImageFormatRequirements()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp166 VkImageFormatProperties imageFormatProperties; in checkImageFormatProperties() local
169 deMemset(&imageFormatProperties, 0, sizeof(imageFormatProperties)); in checkImageFormatProperties()
171 …Device, format, imageType, imageTiling, imageUsageFlags, imageCreateFlags, &imageFormatProperties); in checkImageFormatProperties()
174 imageFormatProperties.maxArrayLayers < requiredLayers || in checkImageFormatProperties()
175 imageFormatProperties.maxExtent.height < requiredSize.height || in checkImageFormatProperties()
176 imageFormatProperties.maxExtent.width < requiredSize.width || in checkImageFormatProperties()
177 imageFormatProperties.maxExtent.depth < requiredSize.depth) in checkImageFormatProperties()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp190 VkImageFormatProperties imageFormatProperties; in checkRequirements() local
192 …K_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_STORAGE_BIT, (VkImageCreateFlags)0, &imageFormatProperties); in checkRequirements()
197 if ((imageFormatProperties.sampleCounts & caseDef.numSamples) != caseDef.numSamples) in checkRequirements()
DvktImageTranscodingSupportTests.cpp816 VkImageFormatProperties imageFormatProperties; in isFormatUsageFlagSupported() local
824 &imageFormatProperties); in isFormatUsageFlagSupported()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp337 vk::VkImageFormatProperties imageFormatProperties; in updateTextureData() local
338 …vice(), format, imageType, imageTiling, imageUsageFlags, imageCreateFlags, &imageFormatProperties); in updateTextureData()
356 if (imageFormatProperties.maxArrayLayers < arraySize) in updateTextureData()
359 if (imageFormatProperties.maxMipLevels < mipLevels) in updateTextureData()
362 if (imageFormatProperties.maxExtent.width < textureDimension.x() || in updateTextureData()
363 imageFormatProperties.maxExtent.height < textureDimension.y() || in updateTextureData()
364 imageFormatProperties.maxExtent.depth < textureDimension.z()) in updateTextureData()
/external/skia/tests/
DVkHardwareBufferTest.cpp627 const VkImageFormatProperties& imageFormatProperties = imgFormProps.imageFormatProperties; in checkOptimalHardwareBuffer() local
628 REPORTER_ASSERT(reporter, DEV_W <= imageFormatProperties.maxExtent.width); in checkOptimalHardwareBuffer()
629 REPORTER_ASSERT(reporter, DEV_H <= imageFormatProperties.maxExtent.height); in checkOptimalHardwareBuffer()
/external/skqp/tests/
DVkHardwareBufferTest.cpp621 const VkImageFormatProperties& imageFormatProperties = imgFormProps.imageFormatProperties; in checkOptimalHardwareBuffer() local
622 REPORTER_ASSERT(reporter, DEV_W <= imageFormatProperties.maxExtent.width); in checkOptimalHardwareBuffer()
623 REPORTER_ASSERT(reporter, DEV_H <= imageFormatProperties.maxExtent.height); in checkOptimalHardwareBuffer()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp302 VkImageFormatProperties imageFormatProperties; in BuiltinFragDepthCaseInstance() local
308imageFormatProperties = getPhysicalDeviceImageFormatProperties(vki, physicalDevice, m_format, VK_I… in BuiltinFragDepthCaseInstance()
311 if ((imageFormatProperties.sampleCounts & m_samples) == 0) in BuiltinFragDepthCaseInstance()
1019 VkImageFormatProperties imageFormatProperties; in BuiltinFragCoordMsaaCaseInstance() local
1025imageFormatProperties = getPhysicalDeviceImageFormatProperties(vki, physicalDevice, VK_FORMAT_R32G… in BuiltinFragCoordMsaaCaseInstance()
1028 if ((imageFormatProperties.sampleCounts & m_sampleCount) == 0) in BuiltinFragCoordMsaaCaseInstance()
/external/mesa3d/src/amd/vulkan/
Dradv_formats.c1213 &base_props->imageFormatProperties); in radv_GetPhysicalDeviceImageFormatProperties2KHR()
1277 base_props->imageFormatProperties = (VkImageFormatProperties) {0}; in radv_GetPhysicalDeviceImageFormatProperties2KHR()
/external/mesa3d/src/intel/vulkan/
Danv_formats.c915 &base_props->imageFormatProperties, ycbcr_props); in anv_GetPhysicalDeviceImageFormatProperties2KHR()
959 base_props->imageFormatProperties = (VkImageFormatProperties) {}; in anv_GetPhysicalDeviceImageFormatProperties2KHR()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiExternalMemoryTests.cpp4028 deUint32 maxWidth = properties.imageFormatProperties.maxExtent.width; in testAndroidHardwareBufferImageFormat()
4029 deUint32 maxHeight = properties.imageFormatProperties.maxExtent.height; in testAndroidHardwareBufferImageFormat()
4071 if (properties.imageFormatProperties.maxMipLevels > 1u) in testAndroidHardwareBufferImageFormat()
4074 …moryType, format, 64u, 64u, tiling, createFlag, usage, properties.imageFormatProperties.maxMipLeve… in testAndroidHardwareBufferImageFormat()
4089 if ((properties.imageFormatProperties.maxArrayLayers > 1u) && enableMaxLayerTest) in testAndroidHardwareBufferImageFormat()
4092 …Type, format, 64u, 64u, tiling, createFlag, usage, 1u, properties.imageFormatProperties.maxArrayLa… in testAndroidHardwareBufferImageFormat()

12