Ping @doitsujin
I think sparse_properties->residencyAlignedMipSize is the correct check. If that property is true, it means:
residencyAlignedMipSize is VK_TRUE if images with mip level dimensions that are not integer multiples of the corresponding dimensions of the sparse image block may be placed in the mip tail.
So setting to false is a stricter thing for devices to support, so I think the check is correct.
Yes, residencyAlignedMipSize is an anti-feature since it restricts the number of tiled mip levels. Tier 2 requires it to be false.
Ok, thanks!
VKD3D_QUEUE_FAMILY_SPARSE_BINDINGx1 2023-03
Hi,
I noticed an inconsistent pattern which makes me unused about the correctness of the code:
sparse_properties->residencyAlignedMipSizeis used without!before, is this expect?If
residencyAlignedMipSizeis used suposed to be supported forD3D12_TILED_RESOURCES_TIER_1I would expect it to be in the first if block.Thanks,
Christophe