Skip to content

anv: improve vma usage for descriptor buffer

Yiwei Zhang requested to merge zzyiwei/mesa:anv-db-vma-reduction into main

What does this MR do and why?

anv: improve vma usage for descriptor buffer

The dynamic visible memory type (or the prior descriptor buffer memory
type) doesn't need special aux-tt alignment or additional ccs space.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>

Test with both ADL and MTL:

  • dEQP-VK.binding_model.descriptor_buffer.* with ANV
  • dEQP-VK.memory.* with ANV and Venus-on-ANV

With this improvement, ANV on MTL can pass dEQP-VK.memory.allocation.basic.* even without https://github.com/KhronosGroup/VK-GL-CTS/commit/76e21a8dec0b7e57028bbcabf6a91a338cc4ea8f because no OODM will be returned.

/cc @llandwerlin @mattst88

Merge request reports