Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_formats.c148 uint32_t maxMipLevels; in get_image_format_properties() local
195 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in get_image_format_properties()
202 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in get_image_format_properties()
209 maxMipLevels = 12; /* log2(maxWidth) + 1 */ in get_image_format_properties()
251 .maxMipLevels = maxMipLevels, in get_image_format_properties()
268 .maxMipLevels = 0, in get_image_format_properties()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c206 uint32_t maxMipLevels; in lvp_get_image_format_properties() local
235 maxMipLevels = util_logbase2(max_2d_ext) + 1; in lvp_get_image_format_properties()
242 maxMipLevels = util_logbase2(max_2d_ext) + 1; in lvp_get_image_format_properties()
254 maxMipLevels = util_logbase2(max_2d_ext) + 1; in lvp_get_image_format_properties()
308 .maxMipLevels = maxMipLevels, in lvp_get_image_format_properties()
321 .maxMipLevels = 0, in lvp_get_image_format_properties()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_formats.c353 uint32_t maxMipLevels; in tu_get_image_format_properties() local
416 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in tu_get_image_format_properties()
423 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in tu_get_image_format_properties()
430 maxMipLevels = 12; /* log2(maxWidth) + 1 */ in tu_get_image_format_properties()
494 .maxMipLevels = maxMipLevels, in tu_get_image_format_properties()
511 .maxMipLevels = 0, in tu_get_image_format_properties()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c467 pImageFormatProperties->maxMipLevels = V3D_MAX_MIP_LEVELS; in get_image_format_properties()
474 pImageFormatProperties->maxMipLevels = V3D_MAX_MIP_LEVELS; in get_image_format_properties()
481 pImageFormatProperties->maxMipLevels = V3D_MAX_MIP_LEVELS; in get_image_format_properties()
516 pImageFormatProperties->maxMipLevels = 1; in get_image_format_properties()
525 .maxMipLevels = 0, in get_image_format_properties()
/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c1421 props->maxMipLevels = 1; in radv_check_modifier_support()
1475 uint32_t maxMipLevels; in radv_get_image_format_properties() local
1510 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in radv_get_image_format_properties()
1517 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in radv_get_image_format_properties()
1530 maxMipLevels = util_logbase2(maxExtent.width) + 1; in radv_get_image_format_properties()
1559 maxMipLevels = 1; in radv_get_image_format_properties()
1648 .maxMipLevels = maxMipLevels, in radv_get_image_format_properties()
1669 .maxMipLevels = 0, in radv_get_image_format_properties()
1736 format_properties->maxMipLevels = MIN2(1, format_properties->maxMipLevels); in get_external_image_format_properties()
/third_party/mesa3d/src/intel/vulkan/
Danv_formats.c1002 uint32_t maxMipLevels; in anv_get_image_format_properties() local
1055 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in anv_get_image_format_properties()
1066 maxMipLevels = 15; /* log2(maxWidth) + 1 */ in anv_get_image_format_properties()
1080 maxMipLevels = 1; in anv_get_image_format_properties()
1082 maxMipLevels = 12; /* log2(maxWidth) + 1 */ in anv_get_image_format_properties()
1116 maxMipLevels = 1; in anv_get_image_format_properties()
1273 .maxMipLevels = maxMipLevels, in anv_get_image_format_properties()
1293 .maxMipLevels = 0, in anv_get_image_format_properties()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkPhysicalDevice.cpp1683 pImageFormatProperties->maxMipLevels = vk::MAX_IMAGE_LEVELS_1D; in getImageFormatProperties()
1690 pImageFormatProperties->maxMipLevels = vk::MAX_IMAGE_LEVELS_CUBE; in getImageFormatProperties()
1696 pImageFormatProperties->maxMipLevels = vk::MAX_IMAGE_LEVELS_2D; in getImageFormatProperties()
1711 pImageFormatProperties->maxMipLevels = vk::MAX_IMAGE_LEVELS_3D; in getImageFormatProperties()
1728 pImageFormatProperties->maxMipLevels = 1; in getImageFormatProperties()
1737 …pImageFormatProperties->maxMipLevels = 1; // TODO(b/151263485): This is relied on by the sampler … in getImageFormatProperties()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp360 …t<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, imageFormatProperties.maxMipLevels); in getImageMaxMipLevels()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp360 …t<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, imageFormatProperties.maxMipLevels); in getImageMaxMipLevels()
/third_party/vulkan-loader/tests/
Dloader_phys_dev_inst_ext_tests.cpp853 props.maxMipLevels = static_cast<uint32_t>(1 << (rand() % 16)); in FillInRandomImageFormatData()
929 ASSERT_EQ(props.maxMipLevels, props2.imageFormatProperties.maxMipLevels); in TEST()
980 ASSERT_EQ(props.maxMipLevels, props2.imageFormatProperties.maxMipLevels); in TEST()
1038 ASSERT_EQ(props.maxMipLevels, props2.imageFormatProperties.maxMipLevels); in TEST()
1049 ASSERT_EQ(props.maxMipLevels, props2KHR.imageFormatProperties.maxMipLevels); in TEST()
1143 ASSERT_EQ(props.maxMipLevels, props2.imageFormatProperties.maxMipLevels); in TEST()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp148 deUint32 getNumMipLevels (const VkExtent3D& baseExtent, const deUint32 maxMipLevels) in getNumMipLevels() argument
151 …rn std::min(static_cast<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, maxMipLevels); in getNumMipLevels()
570 …useSingleMipLevel ? 1u : getNumMipLevels(params.imageExtent, m_imageFormatProperties.maxMipLevels)) in ImageClearingTestInstance()
DvktApiFeatureInfo.cpp4436 …results.check((isYCbCrFormat(format) && (properties.maxMipLevels == 1)) || properties.maxMipLevels in imageFormatProperties()
4443 …results.check(properties.maxMipLevels == 1 || properties.maxMipLevels == fullMipPyramidSize, "Inva… in imageFormatProperties()
4461 results.check(properties.maxMipLevels == 0, "maxMipLevels != 0"); in imageFormatProperties()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiImageClearingTests.cpp148 deUint32 getNumMipLevels (const VkExtent3D& baseExtent, const deUint32 maxMipLevels) in getNumMipLevels() argument
151 …rn std::min(static_cast<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u, maxMipLevels); in getNumMipLevels()
570 …useSingleMipLevel ? 1u : getNumMipLevels(params.imageExtent, m_imageFormatProperties.maxMipLevels)) in ImageClearingTestInstance()
DvktApiFeatureInfo.cpp4436 …results.check((isYCbCrFormat(format) && (properties.maxMipLevels == 1)) || properties.maxMipLevels in imageFormatProperties()
4443 …results.check(properties.maxMipLevels == 1 || properties.maxMipLevels == fullMipPyramidSize, "Inva… in imageFormatProperties()
4461 results.check(properties.maxMipLevels == 0, "maxMipLevels != 0"); in imageFormatProperties()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageSubresourceLayoutTests.cpp240 if (imgFormatProperties.maxMipLevels < levels.numLevels()) in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp240 if (imgFormatProperties.maxMipLevels < levels.numLevels()) in checkSupport()
DvktImageLoadStoreTests.cpp575 if (imageFormatProperties.maxMipLevels < (uint32_t)m_texture.numMipmapLevels()) { in checkSupport()
1319 if (vkImageFormatProperties.maxMipLevels < (uint32_t)m_texture.numMipmapLevels()) { in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1186 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isImageSupported()
1897 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isMultiplaneImageSupported()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryRequirementsTests.cpp1186 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isImageSupported()
1897 if (info.mipLevels > imageFormatProperties.maxMipLevels) in isMultiplaneImageSupported()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageMemoryAliasing.cpp837 imageFormatProperties.maxMipLevels = 20; in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesImageMemoryAliasing.cpp837 imageFormatProperties.maxMipLevels = 20; in initPrograms()
/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()
/third_party/vk-gl-cts/external/vulkan-docs/src/style/
Dnaming.txt576 e.g. pname:maxMipLevels, ename:VK_MIP_MODE, etc.
Dnaming.adoc577 e.g. pname:maxMipLevels, ename:VK_MIP_MODE, etc.
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp1126 pImageFormatProperties->maxMipLevels = deLog2Ceil32(4096) + 1; in getPhysicalDeviceImageFormatProperties()

123