Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesImageAlignedMipSize.cpp147 VkExtent3D imageGranularity; in iterate() local
218 imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
229 if ( extent.width % imageGranularity.width != 0 in iterate()
230 || extent.height % imageGranularity.height != 0 in iterate()
231 || extent.depth % imageGranularity.depth != 0) in iterate()
DvktSparseResourcesImageSparseResidency.cpp432 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
440 const tcu::UVec3 numSparseBinds = alignedDivide(planeExtent, imageGranularity); in iterate()
441 …tcu::UVec3(planeExtent.width % imageGranularity.width ? planeExtent.width % imageGranularity.wi… in iterate()
442 …planeExtent.height % imageGranularity.height ? planeExtent.height % imageGranularity.height : imag… in iterate()
443 …planeExtent.depth % imageGranularity.depth ? planeExtent.depth % imageGranularity.depth : imag… in iterate()
454 offset.x = x * imageGranularity.width; in iterate()
455 offset.y = y * imageGranularity.height; in iterate()
456 offset.z = z * imageGranularity.depth; in iterate()
459 extent.width = (x == numSparseBinds.x() - 1) ? lastBlockExtent.x() : imageGranularity.width; in iterate()
460 … extent.height = (y == numSparseBinds.y() - 1) ? lastBlockExtent.y() : imageGranularity.height; in iterate()
[all …]
DvktSparseResourcesImageBlockShapes.cpp229 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
431 if ( imageGranularity.width != expectedGranularity.width in iterate()
432 || imageGranularity.height != expectedGranularity.height in iterate()
433 || imageGranularity.depth != expectedGranularity.depth) in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp275 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
283 const tcu::UVec3 sparseBlocks = alignedDivide(mipExtent, imageGranularity); in iterate()
DvktSparseResourcesShaderIntrinsicsBase.cpp586 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
609 const tcu::UVec3 sparseBlocks = alignedDivide(mipExtent, imageGranularity); in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp337 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
345 const tcu::UVec3 sparseBlocks = alignedDivide(mipExtent, imageGranularity); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageAlignedMipSize.cpp147 VkExtent3D imageGranularity; in iterate() local
218 imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate()
229 if ( extent.width % imageGranularity.width != 0 in iterate()
230 || extent.height % imageGranularity.height != 0 in iterate()
231 || extent.depth % imageGranularity.depth != 0) in iterate()
DvktSparseResourcesImageSparseResidency.cpp432 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
440 const tcu::UVec3 numSparseBinds = alignedDivide(planeExtent, imageGranularity); in iterate()
441 …tcu::UVec3(planeExtent.width % imageGranularity.width ? planeExtent.width % imageGranularity.wi… in iterate()
442 …planeExtent.height % imageGranularity.height ? planeExtent.height % imageGranularity.height : imag… in iterate()
443 …planeExtent.depth % imageGranularity.depth ? planeExtent.depth % imageGranularity.depth : imag… in iterate()
454 offset.x = x * imageGranularity.width; in iterate()
455 offset.y = y * imageGranularity.height; in iterate()
456 offset.z = z * imageGranularity.depth; in iterate()
459 extent.width = (x == numSparseBinds.x() - 1) ? lastBlockExtent.x() : imageGranularity.width; in iterate()
460 … extent.height = (y == numSparseBinds.y() - 1) ? lastBlockExtent.y() : imageGranularity.height; in iterate()
[all …]
DvktSparseResourcesImageBlockShapes.cpp229 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
431 if ( imageGranularity.width != expectedGranularity.width in iterate()
432 || imageGranularity.height != expectedGranularity.height in iterate()
433 || imageGranularity.depth != expectedGranularity.depth) in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp275 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
283 const tcu::UVec3 sparseBlocks = alignedDivide(mipExtent, imageGranularity); in iterate()
DvktSparseResourcesShaderIntrinsicsBase.cpp586 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
609 const tcu::UVec3 sparseBlocks = alignedDivide(mipExtent, imageGranularity); in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp337 VkExtent3D imageGranularity = aspectRequirements.formatProperties.imageGranularity; in iterate() local
345 const tcu::UVec3 sparseBlocks = alignedDivide(mipExtent, imageGranularity); in iterate()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_structs.h206 size += vn_sizeof_VkExtent3D(&val->imageGranularity); in vn_sizeof_VkSparseImageFormatProperties()
215 vn_decode_VkExtent3D(dec, &val->imageGranularity); in vn_decode_VkSparseImageFormatProperties()
224 size += vn_sizeof_VkExtent3D_partial(&val->imageGranularity); in vn_sizeof_VkSparseImageFormatProperties_partial()
233 vn_encode_VkExtent3D_partial(enc, &val->imageGranularity); in vn_encode_VkSparseImageFormatProperties_partial()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1810 …FromCreateInfo.formatProperties.imageGranularity.width == sparseRequirementsFromObject.formatPrope… in verifyMemoryRequirements()
1812 …FromCreateInfo.formatProperties.imageGranularity.height == sparseRequirementsFromObject.formatProp… in verifyMemoryRequirements()
1814 …FromCreateInfo.formatProperties.imageGranularity.depth == sparseRequirementsFromObject.formatPrope… in verifyMemoryRequirements()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryRequirementsTests.cpp1810 …FromCreateInfo.formatProperties.imageGranularity.width == sparseRequirementsFromObject.formatPrope… in verifyMemoryRequirements()
1812 …FromCreateInfo.formatProperties.imageGranularity.height == sparseRequirementsFromObject.formatProp… in verifyMemoryRequirements()
1814 …FromCreateInfo.formatProperties.imageGranularity.depth == sparseRequirementsFromObject.formatPrope… in verifyMemoryRequirements()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dsparsemem.adoc415 sname:VkSparseImageFormatProperties::pname:imageGranularity.
730 pname:imageGranularity member of the sname:VkSparseImageFormatProperties
739 pname:imageGranularity member of the sname:VkSparseImageFormatProperties
748 pname:imageGranularity member of the sname:VkSparseImageFormatProperties
755 smaller than the pname:imageGranularity member of the
794 * pname:imageGranularity is the width, height, and depth of the sparse
817 pname:imageGranularity values do not match the standard sparse image
1566 (sname:VkSparseImageFormatProperties::pname:imageGranularity.width) of
1574 (sname:VkSparseImageFormatProperties::pname:imageGranularity.height) of
1582 (sname:VkSparseImageFormatProperties::pname:imageGranularity.depth) of
Dsparsemem.txt409 sname:VkSparseImageFormatProperties::pname:imageGranularity.
724 pname:imageGranularity member of the sname:VkSparseImageFormatProperties
733 pname:imageGranularity member of the sname:VkSparseImageFormatProperties
742 pname:imageGranularity member of the sname:VkSparseImageFormatProperties
749 smaller than the pname:imageGranularity member of the
788 * pname:imageGranularity is the width, height, and depth of the sparse
811 pname:imageGranularity values do not match the standard sparse image
1552 (sname:VkSparseImageFormatProperties::pname:imageGranularity.width) of
1560 (sname:VkSparseImageFormatProperties::pname:imageGranularity.height) of
1568 (sname:VkSparseImageFormatProperties::pname:imageGranularity.depth) of
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c949 gwidth = res->sparse.formatProperties.imageGranularity.width; in zink_bo_commit()
950 gheight = res->sparse.formatProperties.imageGranularity.height; in zink_bo_commit()
951 gdepth = res->sparse.formatProperties.imageGranularity.depth; in zink_bo_commit()
Dzink_screen.c1979 *x = props[0].imageGranularity.width; in zink_get_sparse_texture_virtual_page_size()
1981 *y = props[0].imageGranularity.height; in zink_get_sparse_texture_virtual_page_size()
1983 *z = props[0].imageGranularity.depth; in zink_get_sparse_texture_virtual_page_size()
/third_party/vulkan-loader/tests/
Dloader_phys_dev_inst_ext_tests.cpp1705 …props[i].imageGranularity = {static_cast<uint32_t>(rand() % 512), static_cast<uint32_t>(rand() % 5… in FillInRandomSparseImageFormatData()
1718 … equal = equal && props1[i].imageGranularity.width == props2[i].properties.imageGranularity.width; in CompareSparseImageFormatData()
1719 …equal = equal && props1[i].imageGranularity.height == props2[i].properties.imageGranularity.height; in CompareSparseImageFormatData()
1720 … equal = equal && props1[i].imageGranularity.depth == props2[i].properties.imageGranularity.depth; in CompareSparseImageFormatData()
/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c1901 prop->imageGranularity = (VkExtent3D){w, h, 1}; in fill_sparse_image_format_properties()
/third_party/flutter/glfw/deps/vulkan/
Dvulkan.h1483 VkExtent3D imageGranularity; member
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp5298 VkExtent3D blockSize = aspectRequirements.formatProperties.imageGranularity; in allocateAndBindSparseImage()
/third_party/flutter/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h1978 VkExtent3D imageGranularity; member
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkStructTypes.inl158 VkExtent3D imageGranularity; member

12