Skip to content

nvk: Set HOST_CACHED_BIT for the GTT type

Echo J. requested to merge DodoGTA/mesa-nvk:nvk/host-cached-bit into main

vkd3d-proton requires this memory bit in various cases (adding it to the GTT memory type significantly reduces failures in the vkd3d-proton test suite) 🐸

I'm not sure if Tegra supports this bit though so I'm not adding it to the VRAM-less path (hopefully someone can provide an actual answer)

The next step would be adding HOST_VISIBLE bit to the VRAM type (this will likely require more work and maybe even some KMD changes) which would make gamescope work (Faith said that DXVK benefits from it too)

Merge request reports