Skip to content

radv: Store range rather than bo_size in VkBuffer/VkImage.

Hans-Kristian Arntzen requested to merge themaister/mesa:radv-bo-range-fix into main

For purposes of address reports, it makes far more sense to report the actually bound range rather than the full bo_size. RMV code used effective size, so reproduce that here.

No other code looks at bo_size, so this should be quite safe.

Also fixes a theoretical correctness issue where plane aspect for DISJOINT image was not passed to GetImageMemoryRequirements2 in internal code.

Closes: #10996 (closed)

Edited by Hans-Kristian Arntzen

Merge request reports