Home
last modified time | relevance | path

Searched refs:maxMipLevels (Results 1 – 25 of 34) sorted by relevance

12

/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c267 uint32_t maxMipLevels; in lvp_get_image_format_properties() local
296 maxMipLevels = util_logbase2(max_2d_ext); in lvp_get_image_format_properties()
303 maxMipLevels = util_logbase2(max_2d_ext); in lvp_get_image_format_properties()
311 maxMipLevels = util_logbase2(max_2d_ext); in lvp_get_image_format_properties()
361 .maxMipLevels = maxMipLevels, in lvp_get_image_format_properties()
374 .maxMipLevels = 0, in lvp_get_image_format_properties()
/external/mesa3d/src/amd/vulkan/
Dradv_formats.c1146 uint32_t maxMipLevels; in radv_get_image_format_properties() local
1175 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in radv_get_image_format_properties()
1182 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in radv_get_image_format_properties()
1195 maxMipLevels = util_logbase2(maxExtent.width) + 1; in radv_get_image_format_properties()
1225 maxMipLevels = 1; in radv_get_image_format_properties()
1291 .maxMipLevels = maxMipLevels, in radv_get_image_format_properties()
1305 .maxMipLevels = 0, in radv_get_image_format_properties()
1380 format_properties->maxMipLevels = MIN2(1, format_properties->maxMipLevels); in get_external_image_format_properties()
/external/mesa3d/src/freedreno/vulkan/
Dtu_formats.c522 uint32_t maxMipLevels; in tu_get_image_format_properties() local
583 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in tu_get_image_format_properties()
590 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in tu_get_image_format_properties()
597 maxMipLevels = 12; /* log2(maxWidth) + 1 */ in tu_get_image_format_properties()
643 .maxMipLevels = maxMipLevels, in tu_get_image_format_properties()
660 .maxMipLevels = 0, in tu_get_image_format_properties()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c640 pImageFormatProperties->maxMipLevels = 13; /* log2(maxWidth) + 1 */ in get_image_format_properties()
647 pImageFormatProperties->maxMipLevels = 13; /* log2(maxWidth) + 1 */ in get_image_format_properties()
654 pImageFormatProperties->maxMipLevels = 13; /* log2(maxWidth) + 1 */ in get_image_format_properties()
689 pImageFormatProperties->maxMipLevels = 1; in get_image_format_properties()
698 .maxMipLevels = 0, in get_image_format_properties()
/external/mesa3d/src/intel/vulkan/
Danv_formats.c829 uint32_t maxMipLevels; in anv_get_image_format_properties() local
849 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in anv_get_image_format_properties()
860 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in anv_get_image_format_properties()
867 maxMipLevels = 12; /* log2(maxWidth) + 1 */ in anv_get_image_format_properties()
970 maxMipLevels = 1; in anv_get_image_format_properties()
1010 .maxMipLevels = maxMipLevels, in anv_get_image_format_properties()
1030 .maxMipLevels = 0, in anv_get_image_format_properties()
/external/swiftshader/src/Vulkan/
DVkPhysicalDevice.cpp1451 pImageFormatProperties->maxMipLevels = vk::MAX_IMAGE_LEVELS_1D; in getImageFormatProperties()
1458 pImageFormatProperties->maxMipLevels = vk::MAX_IMAGE_LEVELS_CUBE; in getImageFormatProperties()
1464 pImageFormatProperties->maxMipLevels = vk::MAX_IMAGE_LEVELS_2D; in getImageFormatProperties()
1479 pImageFormatProperties->maxMipLevels = vk::MAX_IMAGE_LEVELS_3D; in getImageFormatProperties()
1496 pImageFormatProperties->maxMipLevels = 1; in getImageFormatProperties()
1505 …pImageFormatProperties->maxMipLevels = 1; // TODO(b/151263485): This is relied on by the sampler … in getImageFormatProperties()
DlibVulkan.cpp3459 pImageFormatProperties->imageFormatProperties.maxMipLevels = 1; in vkGetPhysicalDeviceImageFormatProperties2()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp360 …t<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, imageFormatProperties.maxMipLevels); in getImageMaxMipLevels()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp142 deUint32 getNumMipLevels (const VkExtent3D& baseExtent, const deUint32 maxMipLevels) in getNumMipLevels() argument
145 …rn std::min(static_cast<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, maxMipLevels); in getNumMipLevels()
575 …useSingleMipLevel ? 1u : getNumMipLevels(params.imageExtent, m_imageFormatProperties.maxMipLevels)) in ImageClearingTestInstance()
DvktApiFeatureInfo.cpp3941 …results.check((isYCbCrFormat(format) && (properties.maxMipLevels == 1)) || properties.maxMipLevels in imageFormatProperties()
3948 …results.check(properties.maxMipLevels == 1 || properties.maxMipLevels == fullMipPyramidSize, "Inva… in imageFormatProperties()
3966 results.check(properties.maxMipLevels == 0, "maxMipLevels != 0"); in imageFormatProperties()
DvktApiExternalMemoryTests.cpp4271 if (properties.imageFormatProperties.maxMipLevels > 1u) in testAndroidHardwareBufferImageFormat()
4273 …Type, format, 64u, 64u, tiling, createFlag, usage, properties.imageFormatProperties.maxMipLevels)); in testAndroidHardwareBufferImageFormat()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp979 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isImageSupported()
1550 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isMultiplaneImageSupported()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp239 if (imgFormatProperties.maxMipLevels < levels.numLevels()) in checkSupport()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageMemoryAliasing.cpp837 imageFormatProperties.maxMipLevels = 20; in initPrograms()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp1163 pImageFormatProperties->maxMipLevels = deLog2Ceil32(4096) + 1; in getPhysicalDeviceImageFormatProperties()
DvkImageUtil.cpp2445 …t<deUint32>(deFloatLog2(static_cast<float>(mipmapEdge))) + 1u, imageFormatProperties.maxMipLevels); in getMipmapCount()
DvkStructTypes.inl147 deUint32 maxMipLevels; member
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp372 if (imageFormatProperties.maxMipLevels < mipLevels) in updateTextureData()
/external/vulkan-validation-layers/layers/
Dparameter_validation_utils.cpp485 …uint32_t maxMipLevels = (pCreateInfo->flags & VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV) ? (uint32_t)(… in manual_PreCallValidateCreateImage() local
487 if (maxDim > 0 && pCreateInfo->mipLevels > maxMipLevels) { in manual_PreCallValidateCreateImage()
Dbuffer_validation.cpp1418 if (pCreateInfo->mipLevels > format_limits.maxMipLevels) { in PreCallValidateCreateImage()
1423 pCreateInfo->mipLevels, format_limits.maxMipLevels, format_string); in PreCallValidateCreateImage()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp309 …if (VK_SUCCESS == GPDIFPHelper(gpu, &image_ci, &img_limits) && img_limits.maxMipLevels == 1) retur… in FindFormatLinearWithoutMips()
/external/skqp/include/third_party/vulkan/vulkan/
Dvulkan_core.h1749 uint32_t maxMipLevels; member
/external/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h1749 uint32_t maxMipLevels; member
/external/vulkan-headers/include/vulkan/
Dvulkan_core.h2148 uint32_t maxMipLevels; member
/external/swiftshader/include/vulkan/
Dvulkan_core.h2152 uint32_t maxMipLevels; member

12